ui_bibz 2.5.3 → 3.0.0.alpha5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +2 -2
- data/.gitignore +3 -2
- data/.rubocop.yml +107 -1
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +102 -111
- data/README.md +9 -52
- data/Rakefile +3 -2
- data/bin/test +7 -0
- data/config/initializers/will_paginate.rb +2 -1
- data/lib/ui_bibz.rb +17 -3
- data/lib/ui_bibz/concerns/models/searchable.rb +3 -3
- data/lib/ui_bibz/helpers/ui/core/boxes_helper.rb +9 -1
- data/lib/ui_bibz/helpers/ui/core/forms_helper.rb +20 -1
- data/lib/ui_bibz/helpers/ui/core/layouts_helper.rb +10 -2
- data/lib/ui_bibz/helpers/ui/core/lists_helper.rb +1 -1
- data/lib/ui_bibz/helpers/ui/core/notifications_helper.rb +9 -5
- data/lib/ui_bibz/helpers/ui/ux_helper.rb +2 -6
- data/lib/ui_bibz/infos.rb +11 -5
- data/lib/ui_bibz/inputs/ui_bibz_form/ui_bibz_form_builder.rb +15 -2
- data/lib/ui_bibz/inputs/ui_bibz_inputs/base_input.rb +4 -7
- data/lib/ui_bibz/inputs/ui_bibz_inputs/collection_input.rb +6 -9
- data/lib/ui_bibz/inputs/ui_bibz_inputs/ui_checkbox_field_input.rb +5 -1
- data/lib/ui_bibz/inputs/ui_bibz_inputs/ui_choice_field_input.rb +23 -0
- data/lib/ui_bibz/inputs/ui_bibz_inputs/ui_multi_select_field_input.rb +3 -3
- data/lib/ui_bibz/inputs/ui_bibz_inputs/ui_slider_field_input.rb +12 -0
- data/lib/ui_bibz/rails/engine.rb +1 -16
- data/lib/ui_bibz/railtie.rb +6 -0
- data/lib/ui_bibz/ui/concerns/card_itemable_concern.rb +67 -0
- data/lib/ui_bibz/ui/concerns/html_concern.rb +16 -0
- data/lib/ui_bibz/ui/core/boxes/card.rb +5 -50
- data/lib/ui_bibz/ui/core/boxes/card_accordion.rb +2 -0
- data/lib/ui_bibz/ui/core/boxes/card_column.rb +3 -1
- data/lib/ui_bibz/ui/core/boxes/card_deck.rb +3 -1
- data/lib/ui_bibz/ui/core/boxes/card_grid.rb +60 -0
- data/lib/ui_bibz/ui/core/boxes/card_group.rb +3 -1
- data/lib/ui_bibz/ui/core/boxes/components/body/card_body_link.rb +0 -3
- data/lib/ui_bibz/ui/core/boxes/components/body/card_body_subtitle.rb +47 -0
- data/lib/ui_bibz/ui/core/boxes/components/body/card_body_text.rb +0 -3
- data/lib/ui_bibz/ui/core/boxes/components/body/card_body_title.rb +1 -4
- data/lib/ui_bibz/ui/core/boxes/components/card_body.rb +15 -0
- data/lib/ui_bibz/ui/core/boxes/components/card_col.rb +65 -0
- data/lib/ui_bibz/ui/core/boxes/components/card_footer.rb +0 -3
- data/lib/ui_bibz/ui/core/boxes/components/card_header.rb +2 -4
- data/lib/ui_bibz/ui/core/boxes/components/card_image.rb +1 -4
- data/lib/ui_bibz/ui/core/boxes/components/card_row.rb +65 -0
- data/lib/ui_bibz/ui/core/boxes/components/card_tab_group.rb +0 -4
- data/lib/ui_bibz/ui/core/boxes/jumbotron.rb +1 -4
- data/lib/ui_bibz/ui/core/component.rb +16 -9
- data/lib/ui_bibz/ui/core/forms/buttons/button.rb +1 -1
- data/lib/ui_bibz/ui/core/forms/buttons/button_group.rb +9 -11
- data/lib/ui_bibz/ui/core/forms/buttons/button_refresh.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/buttons/components/button_group_dropdown.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/buttons/components/button_group_split_dropdown.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/choices/box_switch_field.rb +7 -10
- data/lib/ui_bibz/ui/core/forms/choices/checkbox_field.rb +14 -10
- data/lib/ui_bibz/ui/core/forms/choices/choice_group.rb +22 -2
- data/lib/ui_bibz/ui/core/forms/choices/components/choice.rb +24 -12
- data/lib/ui_bibz/ui/core/forms/choices/radio_field.rb +11 -6
- data/lib/ui_bibz/ui/core/forms/choices/switch_field.rb +1 -5
- data/lib/ui_bibz/ui/core/forms/dates/date_picker_field.rb +12 -15
- data/lib/ui_bibz/ui/core/forms/dropdowns/components/dropdown_divider.rb +0 -1
- data/lib/ui_bibz/ui/core/forms/dropdowns/components/dropdown_header.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/dropdowns/dropdown.rb +19 -20
- data/lib/ui_bibz/ui/core/forms/dropdowns/split_dropdown.rb +7 -5
- data/lib/ui_bibz/ui/core/forms/files/file_field.rb +20 -10
- data/lib/ui_bibz/ui/core/forms/numbers/formula_field.rb +16 -8
- data/lib/ui_bibz/ui/core/forms/numbers/number_field.rb +20 -3
- data/lib/ui_bibz/ui/core/forms/numbers/range_field.rb +33 -5
- data/lib/ui_bibz/ui/core/forms/numbers/slider_field.rb +132 -0
- data/lib/ui_bibz/ui/core/forms/numbers/slider_header.rb +71 -0
- data/lib/ui_bibz/ui/core/forms/selects/abstract_select.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/selects/dropdown_select_field.rb +41 -62
- data/lib/ui_bibz/ui/core/forms/selects/multi_column_field.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/selects/select_field.rb +2 -5
- data/lib/ui_bibz/ui/core/forms/surrounds/components/surround_addon.rb +1 -4
- data/lib/ui_bibz/ui/core/forms/surrounds/components/surround_button.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/surrounds/components/surround_button_group.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/surrounds/components/surround_button_link.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/surrounds/components/surround_button_refresh.rb +1 -12
- data/lib/ui_bibz/ui/core/forms/surrounds/components/surround_checkbox_field.rb +9 -4
- data/lib/ui_bibz/ui/core/forms/surrounds/components/surround_dropdown.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/surrounds/components/surround_radio_field.rb +9 -4
- data/lib/ui_bibz/ui/core/forms/surrounds/components/surround_switch_field.rb +0 -3
- data/lib/ui_bibz/ui/core/forms/surrounds/surround_field.rb +1 -4
- data/lib/ui_bibz/ui/core/forms/textareas/markdown_editor_field.rb +4 -7
- data/lib/ui_bibz/ui/core/forms/texts/auto_complete_field.rb +2 -5
- data/lib/ui_bibz/ui/core/forms/texts/text_field.rb +0 -3
- data/lib/ui_bibz/ui/core/icons/components/glyph_counter.rb +0 -3
- data/lib/ui_bibz/ui/core/icons/components/glyph_text.rb +1 -4
- data/lib/ui_bibz/ui/core/icons/glyph.rb +1 -4
- data/lib/ui_bibz/ui/core/icons/star.rb +0 -3
- data/lib/ui_bibz/ui/core/layouts/col.rb +5 -42
- data/lib/ui_bibz/ui/core/layouts/container.rb +9 -6
- data/lib/ui_bibz/ui/core/layouts/row.rb +32 -2
- data/lib/ui_bibz/ui/core/lists/components/list.rb +6 -8
- data/lib/ui_bibz/ui/core/lists/components/list/list_body.rb +0 -3
- data/lib/ui_bibz/ui/core/lists/components/list/list_header.rb +0 -3
- data/lib/ui_bibz/ui/core/lists/list_group.rb +9 -6
- data/lib/ui_bibz/ui/core/navigations/breadcrumb.rb +3 -2
- data/lib/ui_bibz/ui/core/navigations/components/breadcrumb_link.rb +0 -3
- data/lib/ui_bibz/ui/core/navigations/components/nav_dropdown.rb +2 -5
- data/lib/ui_bibz/ui/core/navigations/components/nav_link.rb +3 -1
- data/lib/ui_bibz/ui/core/navigations/components/nav_link_link.rb +15 -6
- data/lib/ui_bibz/ui/core/navigations/components/nav_link_list.rb +0 -4
- data/lib/ui_bibz/ui/core/navigations/components/nav_link_span.rb +1 -4
- data/lib/ui_bibz/ui/core/navigations/components/nav_text.rb +0 -3
- data/lib/ui_bibz/ui/core/navigations/components/navbar_brand.rb +0 -3
- data/lib/ui_bibz/ui/core/navigations/components/navbar_form.rb +4 -4
- data/lib/ui_bibz/ui/core/navigations/components/navbar_nav.rb +1 -4
- data/lib/ui_bibz/ui/core/navigations/components/navbar_text.rb +0 -3
- data/lib/ui_bibz/ui/core/navigations/components/pagination_link.rb +0 -3
- data/lib/ui_bibz/ui/core/navigations/components/toolbar_form.rb +3 -3
- data/lib/ui_bibz/ui/core/navigations/link.rb +0 -3
- data/lib/ui_bibz/ui/core/navigations/nav.rb +37 -10
- data/lib/ui_bibz/ui/core/navigations/navbar.rb +28 -7
- data/lib/ui_bibz/ui/core/navigations/pagination.rb +3 -1
- data/lib/ui_bibz/ui/core/navigations/tab_group.rb +10 -5
- data/lib/ui_bibz/ui/core/navigations/toolbar.rb +2 -0
- data/lib/ui_bibz/ui/core/notifications/alert.rb +2 -2
- data/lib/ui_bibz/ui/core/notifications/badge.rb +2 -5
- data/lib/ui_bibz/ui/core/notifications/components/alert_body.rb +0 -3
- data/lib/ui_bibz/ui/core/notifications/components/alert_header.rb +4 -10
- data/lib/ui_bibz/ui/core/notifications/components/bar.rb +0 -3
- data/lib/ui_bibz/ui/core/notifications/components/toast_body.rb +0 -3
- data/lib/ui_bibz/ui/core/notifications/components/toast_header.rb +1 -6
- data/lib/ui_bibz/ui/core/notifications/progress_bar.rb +7 -5
- data/lib/ui_bibz/ui/core/notifications/spinner.rb +0 -3
- data/lib/ui_bibz/ui/core/notifications/toast.rb +14 -3
- data/lib/ui_bibz/ui/core/windows/components/modal_body.rb +0 -3
- data/lib/ui_bibz/ui/core/windows/components/modal_footer.rb +0 -3
- data/lib/ui_bibz/ui/core/windows/components/modal_header.rb +1 -7
- data/lib/ui_bibz/ui/core/windows/modal.rb +61 -14
- data/lib/ui_bibz/ui/extensions/core/component/glyph_extension.rb +4 -2
- data/lib/ui_bibz/ui/extensions/core/component/popover_extension.rb +9 -9
- data/lib/ui_bibz/ui/extensions/core/forms/connect_extension.rb +2 -2
- data/lib/ui_bibz/ui/ux/containers/components/panel_body.rb +0 -3
- data/lib/ui_bibz/ui/ux/containers/components/panel_column.rb +2 -0
- data/lib/ui_bibz/ui/ux/containers/components/panel_deck.rb +2 -0
- data/lib/ui_bibz/ui/ux/containers/components/panel_footer.rb +0 -3
- data/lib/ui_bibz/ui/ux/containers/components/panel_group.rb +2 -0
- data/lib/ui_bibz/ui/ux/containers/components/panel_header.rb +1 -4
- data/lib/ui_bibz/ui/ux/containers/components/panel_tab_group.rb +0 -4
- data/lib/ui_bibz/ui/ux/containers/components/panel_toolbar.rb +0 -3
- data/lib/ui_bibz/ui/ux/containers/panel.rb +4 -2
- data/lib/ui_bibz/ui/ux/tables/components/thead.rb +0 -3
- data/lib/ui_bibz/ui/ux/tables/table.rb +2 -4
- data/lib/ui_bibz/ui/ux/tables/table_card.rb +4 -3
- data/lib/ui_bibz/ui/ux/tables/table_search_field.rb +5 -5
- data/lib/ui_bibz/utils/breakdown_class_name_generator.rb +74 -0
- data/lib/ui_bibz/utils/internationalization.rb +1 -1
- data/lib/ui_bibz/utils/screwdriver.rb +16 -10
- data/test/dummy/Rakefile +1 -1
- data/test/dummy/app/javascripts/packs/index.js +3 -0
- data/test/dummy/app/models/user.rb +1 -0
- data/test/dummy/app/views/layouts/application.html.erb +4 -1
- data/{app/ui/.keep → test/dummy/app/views/users/index.html.erb} +0 -0
- data/test/dummy/bin/setup +17 -13
- data/test/dummy/config.ru +2 -1
- data/test/dummy/config/application.rb +1 -0
- data/test/dummy/config/cable.yml +10 -0
- data/test/dummy/config/database.yml +1 -1
- data/test/dummy/config/environment.rb +1 -1
- data/test/dummy/config/environments/development.rb +33 -12
- data/test/dummy/config/environments/production.rb +52 -19
- data/test/dummy/config/environments/test.rb +18 -12
- data/test/dummy/config/initializers/application_controller_renderer.rb +9 -0
- data/test/dummy/config/initializers/assets.rb +4 -3
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -1
- data/test/dummy/config/initializers/content_security_policy.rb +29 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +2 -0
- data/test/dummy/config/initializers/inflections.rb +0 -1
- data/test/dummy/config/initializers/mime_types.rb +0 -1
- data/test/dummy/config/initializers/wrap_parameters.rb +2 -2
- data/test/dummy/config/puma.rb +40 -0
- data/test/dummy/config/routes.rb +3 -0
- data/test/dummy/config/spring.rb +8 -0
- data/test/dummy/config/storage.yml +34 -0
- data/test/dummy/db/migrate/20150123191805_create_users.rb +1 -1
- data/test/dummy/db/schema.rb +24 -24
- data/test/dummy/public/404.html +6 -6
- data/test/dummy/public/422.html +6 -6
- data/test/dummy/public/500.html +6 -6
- data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/test/dummy/public/apple-touch-icon.png +0 -0
- data/test/dummy/storage/.keep +0 -0
- data/test/simple_form_test.rb +45 -44
- data/test/store_test.rb +5 -5
- data/test/test_helper.rb +18 -9
- data/test/ui/core/boxes/card_grid_test.rb +17 -0
- data/test/ui/core/boxes/card_test.rb +46 -12
- data/test/ui/core/boxes/jumbotron_test.rb +2 -2
- data/test/ui/core/component_test.rb +1 -1
- data/test/ui/core/forms/buttons/button_group_test.rb +1 -1
- data/test/ui/core/forms/buttons/button_link_test.rb +1 -1
- data/test/ui/core/forms/buttons/button_test.rb +2 -2
- data/test/ui/core/forms/choices/checkbox_field_test.rb +8 -1
- data/test/ui/core/forms/choices/choice_group_test.rb +11 -9
- data/test/ui/core/forms/choices/radio_field_test.rb +1 -1
- data/test/ui/core/forms/dates/date_picker_field_test.rb +1 -1
- data/test/ui/core/forms/dropdowns/dropdown_test.rb +2 -2
- data/test/ui/core/forms/files/file_field_test.rb +12 -0
- data/test/ui/core/forms/numbers/formula_field_test.rb +1 -1
- data/test/ui/core/forms/numbers/range_field_test.rb +23 -2
- data/test/ui/core/forms/numbers/slider_field_test.rb +26 -0
- data/test/ui/core/forms/selects/multi_column_field_test.rb +1 -1
- data/test/ui/core/forms/selects/multi_select_field_test.rb +7 -7
- data/test/ui/core/forms/selects/select_field_test.rb +3 -3
- data/test/ui/core/forms/surrounds/surround_field_test.rb +15 -3
- data/test/ui/core/forms/textareas/markdown_editor_field_test.rb +1 -1
- data/test/ui/core/forms/texts/auto_complete_field_test.rb +8 -8
- data/test/ui/core/forms/texts/text_field_test.rb +2 -2
- data/test/ui/core/layouts/col_test.rb +11 -2
- data/test/ui/core/layouts/container_test.rb +15 -1
- data/test/ui/core/layouts/row_test.rb +68 -3
- data/test/ui/core/lists/list_group_test.rb +1 -1
- data/test/ui/core/navigations/breadcrumb_test.rb +1 -1
- data/test/ui/core/navigations/link_test.rb +1 -1
- data/test/ui/core/navigations/nav_test.rb +17 -5
- data/test/ui/core/navigations/navbar_test.rb +5 -4
- data/test/ui/core/navigations/tab_group_test.rb +4 -4
- data/test/ui/core/notifications/alert_test.rb +2 -2
- data/test/ui/core/notifications/badge_test.rb +3 -3
- data/test/ui/core/notifications/progress_bar_test.rb +1 -1
- data/test/ui/core/notifications/toast_test.rb +10 -1
- data/test/ui/core/windows/modal_test.rb +15 -1
- data/test/ui/utils/breakdown_class_name_generator_test.rb +60 -0
- data/test/ui/ux/containers/panel_test.rb +5 -5
- data/test/ui/ux/tables/table_test.rb +6 -6
- data/test/ui_bibz_test.rb +1 -1
- data/ui_bibz.gemspec +16 -16
- metadata +99 -109
- data/.rubocop_todo.yml +0 -25
- data/app/assets/javascripts/fix_bootstrap.coffee +0 -7
- data/app/assets/javascripts/form.coffee +0 -83
- data/app/assets/javascripts/formula.coffee +0 -69
- data/app/assets/javascripts/input-connected.coffee +0 -101
- data/app/assets/javascripts/interface.coffee +0 -55
- data/app/assets/javascripts/jquery.multi-select-extend.coffee +0 -38
- data/app/assets/javascripts/table.coffee +0 -36
- data/app/assets/javascripts/ui_bibz.coffee.erb +0 -75
- data/app/assets/stylesheets/_custom_variables.sass +0 -20
- data/app/assets/stylesheets/_panel.scss +0 -315
- data/app/assets/stylesheets/bootstrap-switch.sass +0 -159
- data/app/assets/stylesheets/boxes.sass +0 -5
- data/app/assets/stylesheets/containers.sass +0 -2
- data/app/assets/stylesheets/fix-bootstrap-4.sass +0 -19
- data/app/assets/stylesheets/fix_addon.sass +0 -216
- data/app/assets/stylesheets/forms.sass +0 -91
- data/app/assets/stylesheets/navigations.sass +0 -17
- data/app/assets/stylesheets/notifications.sass +0 -42
- data/app/assets/stylesheets/tables.sass +0 -66
- data/app/assets/stylesheets/ui_bibz.sass.erb +0 -55
- data/lib/generators/ui_bibz/install_generator.rb +0 -17
- data/lib/generators/ui_bibz/templates/ui_bibz_initializer.rb +0 -5
- data/lib/ui_bibz/ui/core/forms/selects/multi_select_field.rb +0 -125
- data/lib/ui_bibz/ui/core/icons/glyph_group.rb +0 -101
- data/test/dummy/bin/bundle +0 -5
- data/test/ui/core/forms/files/text_field_test.rb +0 -12
- data/test/ui/core/forms/selects/dropdown_select_field_test.rb +0 -84
- data/test/ui/core/icons/glyph_group_test.rb +0 -37
@@ -26,14 +26,14 @@ class TableTest < ActionView::TestCase
|
|
26
26
|
|
27
27
|
test 'table search field' do
|
28
28
|
actual = UiBibz::Ui::Ux::Tables::TableSearchField.new({ store: @users }).render
|
29
|
-
expected =
|
29
|
+
expected = "<form class=\"form-table-search-field\" action=\"/users?direction=asc&page=1&per_page=2&search=Name+fr&sort=users.name_fr\" accept-charset=\"UTF-8\" method=\"get\"><div class=\"input-group input-group-sm table-search-field\"><span class=\"input-group-text\"><i class=\"glyph fas fa-search\"></i></span><input type=\"hidden\" name=\"sort\" value=\"users.name_fr\" /><input type=\"hidden\" name=\"direction\" value=\"asc\" /><input type=\"hidden\" name=\"per_page\" value=\"2\" /><input type=\"hidden\" name=\"page\" value=\"1\" /><input type=\"hidden\" name=\"only_path\" value=\"true\" /><input type=\"hidden\" name=\"link_type\" value=\"search\" /><input type=\"search\" value=\"Name fr\" name=\"search\" class=\"form-control\" placeholder=\"Search by Name fr and Name en...\" /><button type=\"button\" class=\"btn btn-secondary input-group-btn clear-search-btn\"><i class=\"glyph fas fa-times-circle\"></i></button></div></form>"
|
30
30
|
|
31
31
|
assert_equal expected, actual
|
32
32
|
end
|
33
33
|
|
34
34
|
test 'table pagination' do
|
35
35
|
actual = UiBibz::Ui::Ux::Tables::TablePagination.new({ store: @users }).render
|
36
|
-
expected =
|
36
|
+
expected = "<nav class=\"pagination\"><ul class=\"pagination\" role=\"group\"><li class=\"previous page-item disabled\"><span class=\"page-link\">«</span></li> <li class=\"page-item active\"><span class=\"page-link\">1</span></li> <li class=\"page-item\"><a class=\"page-link\" rel=\"next\" href=\"/users?direction=asc&page=2&search=Name+fr&sort=users.name_fr\">2</a></li> <li class=\"page-item\"><a class=\"page-link\" href=\"/users?direction=asc&page=3&search=Name+fr&sort=users.name_fr\">3</a></li> <li class=\"page-item\"><a class=\"page-link\" href=\"/users?direction=asc&page=4&search=Name+fr&sort=users.name_fr\">4</a></li> <li class=\"page-item\"><a class=\"page-link\" href=\"/users?direction=asc&page=5&search=Name+fr&sort=users.name_fr\">5</a></li> <li class=\"page-item disabled\"><i class=\"page-link\">…</i></li> <li class=\"page-item\"><a class=\"page-link\" href=\"/users?direction=asc&page=12&search=Name+fr&sort=users.name_fr\">12</a></li> <li class=\"page-item\"><a class=\"page-link\" href=\"/users?direction=asc&page=13&search=Name+fr&sort=users.name_fr\">13</a></li> <li class=\"next page-item\"><a class=\"page-link\" rel=\"next\" href=\"/users?direction=asc&page=2&search=Name+fr&sort=users.name_fr\">»</a></li></ul></nav>"
|
37
37
|
|
38
38
|
assert_equal expected, actual
|
39
39
|
end
|
@@ -66,7 +66,7 @@ class TableTest < ActionView::TestCase
|
|
66
66
|
options = { paginable: true }
|
67
67
|
pagination = UiBibz::Ui::Ux::Tables::Paginable.new(@store, options)
|
68
68
|
actual = pagination.render if pagination.paginable?
|
69
|
-
expected = "<div><nav class=\"pagination\"><ul class=\"pagination\" role=\"group\"><li class=\"previous page-item disabled\"><span class=\"page-link\">«</span></li> <li class=\"page-item active\"><span class=\"page-link\">1</span></li> <li class=\"page-item\"><a class=\"page-link\" rel=\"next\" href=\"/users?direction=asc&page=2&search=Name+fr&sort=users.name_fr\">2</a></li> <li class=\"page-item\"><a class=\"page-link\" href=\"/users?direction=asc&page=3&search=Name+fr&sort=users.name_fr\">3</a></li> <li class=\"page-item\"><a class=\"page-link\" href=\"/users?direction=asc&page=4&search=Name+fr&sort=users.name_fr\">4</a></li> <li class=\"page-item\"><a class=\"page-link\" href=\"/users?direction=asc&page=5&search=Name+fr&sort=users.name_fr\">5</a></li> <li class=\"page-item disabled\"><i class=\"page-link\">…</i></li> <li class=\"page-item\"><a class=\"page-link\" href=\"/users?direction=asc&page=12&search=Name+fr&sort=users.name_fr\">12</a></li> <li class=\"page-item\"><a class=\"page-link\" href=\"/users?direction=asc&page=13&search=Name+fr&sort=users.name_fr\">13</a></li> <li class=\"next page-item\"><a class=\"page-link\" rel=\"next\" href=\"/users?direction=asc&page=2&search=Name+fr&sort=users.name_fr\">»</a></li></ul></nav><form action=\"/users\" accept-charset=\"UTF-8\" method=\"get\"><
|
69
|
+
expected = "<div><nav class=\"pagination\"><ul class=\"pagination\" role=\"group\"><li class=\"previous page-item disabled\"><span class=\"page-link\">«</span></li> <li class=\"page-item active\"><span class=\"page-link\">1</span></li> <li class=\"page-item\"><a class=\"page-link\" rel=\"next\" href=\"/users?direction=asc&page=2&search=Name+fr&sort=users.name_fr\">2</a></li> <li class=\"page-item\"><a class=\"page-link\" href=\"/users?direction=asc&page=3&search=Name+fr&sort=users.name_fr\">3</a></li> <li class=\"page-item\"><a class=\"page-link\" href=\"/users?direction=asc&page=4&search=Name+fr&sort=users.name_fr\">4</a></li> <li class=\"page-item\"><a class=\"page-link\" href=\"/users?direction=asc&page=5&search=Name+fr&sort=users.name_fr\">5</a></li> <li class=\"page-item disabled\"><i class=\"page-link\">…</i></li> <li class=\"page-item\"><a class=\"page-link\" href=\"/users?direction=asc&page=12&search=Name+fr&sort=users.name_fr\">12</a></li> <li class=\"page-item\"><a class=\"page-link\" href=\"/users?direction=asc&page=13&search=Name+fr&sort=users.name_fr\">13</a></li> <li class=\"next page-item\"><a class=\"page-link\" rel=\"next\" href=\"/users?direction=asc&page=2&search=Name+fr&sort=users.name_fr\">»</a></li></ul></nav><form action=\"/users\" accept-charset=\"UTF-8\" method=\"get\"><div class=\"table-pagination-per-page\">Displaying User <b>1 - 2</b> of <b>25</b> in total | Per page: <input type=\"hidden\" name=\"sort\" value=\"users.name_fr\" /><input type=\"hidden\" name=\"direction\" value=\"asc\" /><input type=\"hidden\" name=\"per_page\" value=\"2\" /><input type=\"hidden\" name=\"only_path\" value=\"true\" /><select name=\"per_page\" id=\"per_page\" class=\"form-control\"><option value=\"5\">5</option>
|
70
70
|
<option value=\"10\">10</option>
|
71
71
|
<option value=\"20\">20</option>
|
72
72
|
<option value=\"30\">30</option>
|
@@ -97,7 +97,7 @@ class TableTest < ActionView::TestCase
|
|
97
97
|
test 'table searchable' do
|
98
98
|
options = { searchable: true }
|
99
99
|
actual = UiBibz::Ui::Ux::Tables::Searchable.new(@store, options).render
|
100
|
-
expected =
|
100
|
+
expected = "<div><div class=\"title\">Users list</div><form class=\"form-table-search-field\" action=\"/users?direction=asc&page=1&per_page=2&search=Name+fr&sort=users.name_fr\" accept-charset=\"UTF-8\" method=\"get\"><div class=\"input-group input-group-sm table-search-field\"><span class=\"input-group-text\"><i class=\"glyph fas fa-search\"></i></span><input type=\"hidden\" name=\"sort\" value=\"users.name_fr\" /><input type=\"hidden\" name=\"direction\" value=\"asc\" /><input type=\"hidden\" name=\"per_page\" value=\"2\" /><input type=\"hidden\" name=\"page\" value=\"1\" /><input type=\"hidden\" name=\"only_path\" value=\"true\" /><input type=\"hidden\" name=\"link_type\" value=\"search\" /><input type=\"search\" value=\"Name fr\" name=\"search\" class=\"form-control\" placeholder=\"Search by Name fr and Name en...\" /><button type=\"button\" class=\"btn btn-secondary input-group-btn clear-search-btn\"><i class=\"glyph fas fa-times-circle\"></i></button></div></form><br class=\"ui-bibz-clear\" /></div>"
|
101
101
|
|
102
102
|
assert_equal expected, actual
|
103
103
|
end
|
@@ -152,7 +152,7 @@ class TableTest < ActionView::TestCase
|
|
152
152
|
end
|
153
153
|
|
154
154
|
test 'complex table_card' do
|
155
|
-
actual = UiBibz::Ui::Ux::Tables::TableCard.new({ store: @users
|
155
|
+
actual = UiBibz::Ui::Ux::Tables::TableCard.new({ store: @users }, { class: 'state' }).tap do |pane|
|
156
156
|
pane.header 'Test header'
|
157
157
|
pane.body class: 'ui' do
|
158
158
|
'Test body'
|
@@ -161,7 +161,7 @@ class TableTest < ActionView::TestCase
|
|
161
161
|
end
|
162
162
|
|
163
163
|
test 'complex table_card with custom actions' do
|
164
|
-
actual = UiBibz::Ui::Ux::Tables::TableCard.new({ store: @users
|
164
|
+
actual = UiBibz::Ui::Ux::Tables::TableCard.new({ store: @users }, { class: 'state' }).tap do |pane|
|
165
165
|
pane.header 'Test header'
|
166
166
|
pane.body cls: 'ui' do
|
167
167
|
'Test body'
|
data/test/ui_bibz_test.rb
CHANGED
data/ui_bibz.gemspec
CHANGED
@@ -10,14 +10,14 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
10
10
|
|
11
11
|
# Describe your gem and declare its dependencies:
|
12
12
|
Gem::Specification.new do |s|
|
13
|
-
s.name =
|
13
|
+
s.name = UiBibz::SLUG
|
14
14
|
s.version = UiBibz::VERSION
|
15
|
-
s.authors =
|
16
|
-
s.email =
|
17
|
-
s.homepage =
|
18
|
-
s.summary =
|
19
|
-
s.description =
|
20
|
-
s.license =
|
15
|
+
s.authors = UiBibz::AUTHORS
|
16
|
+
s.email = UiBibz::EMAIL
|
17
|
+
s.homepage = UiBibz::HOMEPAGE
|
18
|
+
s.summary = UiBibz::SUMMARY
|
19
|
+
s.description = UiBibz::DESCRIPTION
|
20
|
+
s.license = UiBibz::LICENSE
|
21
21
|
|
22
22
|
s.required_ruby_version = '>= 2.7'
|
23
23
|
|
@@ -27,24 +27,24 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.require_paths = %w[lib vendor]
|
28
28
|
|
29
29
|
# Rails gems
|
30
|
-
s.add_dependency '
|
31
|
-
|
32
|
-
|
33
|
-
s.add_dependency 'jquery-rails', '>= 3.1.0'
|
34
|
-
s.add_dependency 'popper_js'
|
35
|
-
s.add_dependency 'rails', '>= 4.2.0'
|
36
|
-
s.add_dependency 'sass-rails', '>= 5.0.0'
|
37
|
-
s.add_dependency 'will-paginate-i18n'
|
30
|
+
s.add_dependency 'rails', '~> 6.0.3', '>= 6.0.3.2'
|
31
|
+
|
32
|
+
# Remove these dependencies after
|
38
33
|
s.add_dependency 'will_paginate', '~> 3.1.0'
|
39
34
|
s.add_dependency 'will_paginate-bootstrap4'
|
35
|
+
s.add_dependency 'will-paginate-i18n'
|
40
36
|
|
41
37
|
# Development gems
|
42
38
|
s.add_development_dependency 'codeclimate-test-reporter'
|
43
39
|
s.add_development_dependency 'factory_bot_rails', '~> 4.0'
|
40
|
+
s.add_development_dependency 'haml-rails'
|
44
41
|
s.add_development_dependency 'minitest'
|
45
42
|
s.add_development_dependency 'overcommit'
|
46
43
|
s.add_development_dependency 'rubocop'
|
47
|
-
s.add_development_dependency '
|
44
|
+
s.add_development_dependency 'rubocop-minitest'
|
45
|
+
s.add_development_dependency 'rubocop-performance'
|
46
|
+
s.add_development_dependency 'rubocop-rails'
|
48
47
|
s.add_development_dependency 'simplecov'
|
48
|
+
s.add_development_dependency 'simple_form'
|
49
49
|
s.add_development_dependency 'sqlite3'
|
50
50
|
end
|
metadata
CHANGED
@@ -1,73 +1,65 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ui_bibz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0.alpha5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thooams
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 4.4.1
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - '='
|
17
|
+
- - "~>"
|
25
18
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: haml
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
19
|
+
version: 6.0.3
|
31
20
|
- - ">="
|
32
21
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
22
|
+
version: 6.0.3.2
|
34
23
|
type: :runtime
|
35
24
|
prerelease: false
|
36
25
|
version_requirements: !ruby/object:Gem::Requirement
|
37
26
|
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 6.0.3
|
38
30
|
- - ">="
|
39
31
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
32
|
+
version: 6.0.3.2
|
41
33
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
34
|
+
name: will_paginate
|
43
35
|
requirement: !ruby/object:Gem::Requirement
|
44
36
|
requirements:
|
45
|
-
- - "
|
37
|
+
- - "~>"
|
46
38
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
39
|
+
version: 3.1.0
|
48
40
|
type: :runtime
|
49
41
|
prerelease: false
|
50
42
|
version_requirements: !ruby/object:Gem::Requirement
|
51
43
|
requirements:
|
52
|
-
- - "
|
44
|
+
- - "~>"
|
53
45
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
46
|
+
version: 3.1.0
|
55
47
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
48
|
+
name: will_paginate-bootstrap4
|
57
49
|
requirement: !ruby/object:Gem::Requirement
|
58
50
|
requirements:
|
59
51
|
- - ">="
|
60
52
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
53
|
+
version: '0'
|
62
54
|
type: :runtime
|
63
55
|
prerelease: false
|
64
56
|
version_requirements: !ruby/object:Gem::Requirement
|
65
57
|
requirements:
|
66
58
|
- - ">="
|
67
59
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
60
|
+
version: '0'
|
69
61
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
62
|
+
name: will-paginate-i18n
|
71
63
|
requirement: !ruby/object:Gem::Requirement
|
72
64
|
requirements:
|
73
65
|
- - ">="
|
@@ -81,41 +73,41 @@ dependencies:
|
|
81
73
|
- !ruby/object:Gem::Version
|
82
74
|
version: '0'
|
83
75
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
76
|
+
name: codeclimate-test-reporter
|
85
77
|
requirement: !ruby/object:Gem::Requirement
|
86
78
|
requirements:
|
87
79
|
- - ">="
|
88
80
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
90
|
-
type: :
|
81
|
+
version: '0'
|
82
|
+
type: :development
|
91
83
|
prerelease: false
|
92
84
|
version_requirements: !ruby/object:Gem::Requirement
|
93
85
|
requirements:
|
94
86
|
- - ">="
|
95
87
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
88
|
+
version: '0'
|
97
89
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
90
|
+
name: factory_bot_rails
|
99
91
|
requirement: !ruby/object:Gem::Requirement
|
100
92
|
requirements:
|
101
|
-
- - "
|
93
|
+
- - "~>"
|
102
94
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
104
|
-
type: :
|
95
|
+
version: '4.0'
|
96
|
+
type: :development
|
105
97
|
prerelease: false
|
106
98
|
version_requirements: !ruby/object:Gem::Requirement
|
107
99
|
requirements:
|
108
|
-
- - "
|
100
|
+
- - "~>"
|
109
101
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
102
|
+
version: '4.0'
|
111
103
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
104
|
+
name: haml-rails
|
113
105
|
requirement: !ruby/object:Gem::Requirement
|
114
106
|
requirements:
|
115
107
|
- - ">="
|
116
108
|
- !ruby/object:Gem::Version
|
117
109
|
version: '0'
|
118
|
-
type: :
|
110
|
+
type: :development
|
119
111
|
prerelease: false
|
120
112
|
version_requirements: !ruby/object:Gem::Requirement
|
121
113
|
requirements:
|
@@ -123,27 +115,13 @@ dependencies:
|
|
123
115
|
- !ruby/object:Gem::Version
|
124
116
|
version: '0'
|
125
117
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: 3.1.0
|
132
|
-
type: :runtime
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: 3.1.0
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: will_paginate-bootstrap4
|
118
|
+
name: minitest
|
141
119
|
requirement: !ruby/object:Gem::Requirement
|
142
120
|
requirements:
|
143
121
|
- - ">="
|
144
122
|
- !ruby/object:Gem::Version
|
145
123
|
version: '0'
|
146
|
-
type: :
|
124
|
+
type: :development
|
147
125
|
prerelease: false
|
148
126
|
version_requirements: !ruby/object:Gem::Requirement
|
149
127
|
requirements:
|
@@ -151,7 +129,7 @@ dependencies:
|
|
151
129
|
- !ruby/object:Gem::Version
|
152
130
|
version: '0'
|
153
131
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
132
|
+
name: overcommit
|
155
133
|
requirement: !ruby/object:Gem::Requirement
|
156
134
|
requirements:
|
157
135
|
- - ">="
|
@@ -165,21 +143,21 @@ dependencies:
|
|
165
143
|
- !ruby/object:Gem::Version
|
166
144
|
version: '0'
|
167
145
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
146
|
+
name: rubocop
|
169
147
|
requirement: !ruby/object:Gem::Requirement
|
170
148
|
requirements:
|
171
|
-
- - "
|
149
|
+
- - ">="
|
172
150
|
- !ruby/object:Gem::Version
|
173
|
-
version: '
|
151
|
+
version: '0'
|
174
152
|
type: :development
|
175
153
|
prerelease: false
|
176
154
|
version_requirements: !ruby/object:Gem::Requirement
|
177
155
|
requirements:
|
178
|
-
- - "
|
156
|
+
- - ">="
|
179
157
|
- !ruby/object:Gem::Version
|
180
|
-
version: '
|
158
|
+
version: '0'
|
181
159
|
- !ruby/object:Gem::Dependency
|
182
|
-
name: minitest
|
160
|
+
name: rubocop-minitest
|
183
161
|
requirement: !ruby/object:Gem::Requirement
|
184
162
|
requirements:
|
185
163
|
- - ">="
|
@@ -193,7 +171,7 @@ dependencies:
|
|
193
171
|
- !ruby/object:Gem::Version
|
194
172
|
version: '0'
|
195
173
|
- !ruby/object:Gem::Dependency
|
196
|
-
name:
|
174
|
+
name: rubocop-performance
|
197
175
|
requirement: !ruby/object:Gem::Requirement
|
198
176
|
requirements:
|
199
177
|
- - ">="
|
@@ -207,7 +185,7 @@ dependencies:
|
|
207
185
|
- !ruby/object:Gem::Version
|
208
186
|
version: '0'
|
209
187
|
- !ruby/object:Gem::Dependency
|
210
|
-
name: rubocop
|
188
|
+
name: rubocop-rails
|
211
189
|
requirement: !ruby/object:Gem::Requirement
|
212
190
|
requirements:
|
213
191
|
- - ">="
|
@@ -221,7 +199,7 @@ dependencies:
|
|
221
199
|
- !ruby/object:Gem::Version
|
222
200
|
version: '0'
|
223
201
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
202
|
+
name: simplecov
|
225
203
|
requirement: !ruby/object:Gem::Requirement
|
226
204
|
requirements:
|
227
205
|
- - ">="
|
@@ -235,7 +213,7 @@ dependencies:
|
|
235
213
|
- !ruby/object:Gem::Version
|
236
214
|
version: '0'
|
237
215
|
- !ruby/object:Gem::Dependency
|
238
|
-
name:
|
216
|
+
name: simple_form
|
239
217
|
requirement: !ruby/object:Gem::Requirement
|
240
218
|
requirements:
|
241
219
|
- - ">="
|
@@ -262,9 +240,10 @@ dependencies:
|
|
262
240
|
- - ">="
|
263
241
|
- !ruby/object:Gem::Version
|
264
242
|
version: '0'
|
265
|
-
description: A Rails Interface Framework using Bootstrap.
|
243
|
+
description: A Rails Interface Framework using Bootstrap 5.0.0.alpha2.
|
266
244
|
email: thomas@hummel.link
|
267
|
-
executables:
|
245
|
+
executables:
|
246
|
+
- test
|
268
247
|
extensions: []
|
269
248
|
extra_rdoc_files: []
|
270
249
|
files:
|
@@ -274,7 +253,8 @@ files:
|
|
274
253
|
- ".gitlab-ci.yml"
|
275
254
|
- ".overcommit.yml"
|
276
255
|
- ".rubocop.yml"
|
277
|
-
- ".
|
256
|
+
- ".ruby-gemset"
|
257
|
+
- ".ruby-version"
|
278
258
|
- ".travis.yml"
|
279
259
|
- CONTRIBUTORS.md
|
280
260
|
- Gemfile
|
@@ -282,33 +262,11 @@ files:
|
|
282
262
|
- MIT-LICENSE
|
283
263
|
- README.md
|
284
264
|
- Rakefile
|
285
|
-
-
|
286
|
-
- app/assets/javascripts/form.coffee
|
287
|
-
- app/assets/javascripts/formula.coffee
|
288
|
-
- app/assets/javascripts/input-connected.coffee
|
289
|
-
- app/assets/javascripts/interface.coffee
|
290
|
-
- app/assets/javascripts/jquery.multi-select-extend.coffee
|
291
|
-
- app/assets/javascripts/table.coffee
|
292
|
-
- app/assets/javascripts/ui_bibz.coffee.erb
|
293
|
-
- app/assets/stylesheets/_custom_variables.sass
|
294
|
-
- app/assets/stylesheets/_panel.scss
|
295
|
-
- app/assets/stylesheets/bootstrap-switch.sass
|
296
|
-
- app/assets/stylesheets/boxes.sass
|
297
|
-
- app/assets/stylesheets/containers.sass
|
298
|
-
- app/assets/stylesheets/fix-bootstrap-4.sass
|
299
|
-
- app/assets/stylesheets/fix_addon.sass
|
300
|
-
- app/assets/stylesheets/forms.sass
|
301
|
-
- app/assets/stylesheets/navigations.sass
|
302
|
-
- app/assets/stylesheets/notifications.sass
|
303
|
-
- app/assets/stylesheets/tables.sass
|
304
|
-
- app/assets/stylesheets/ui_bibz.sass.erb
|
305
|
-
- app/ui/.keep
|
265
|
+
- bin/test
|
306
266
|
- config/initializers/simple_form_init.rb
|
307
267
|
- config/initializers/will_paginate.rb
|
308
268
|
- config/locales/en.yml
|
309
269
|
- config/locales/fr.yml
|
310
|
-
- lib/generators/ui_bibz/install_generator.rb
|
311
|
-
- lib/generators/ui_bibz/templates/ui_bibz_initializer.rb
|
312
270
|
- lib/tasks/ui_bibz_tasks.rake
|
313
271
|
- lib/ui_bibz.rb
|
314
272
|
- lib/ui_bibz/concerns/models/searchable.rb
|
@@ -331,6 +289,7 @@ files:
|
|
331
289
|
- lib/ui_bibz/inputs/ui_bibz_inputs/ui_auto_complete_field_input.rb
|
332
290
|
- lib/ui_bibz/inputs/ui_bibz_inputs/ui_box_switch_field_input.rb
|
333
291
|
- lib/ui_bibz/inputs/ui_bibz_inputs/ui_checkbox_field_input.rb
|
292
|
+
- lib/ui_bibz/inputs/ui_bibz_inputs/ui_choice_field_input.rb
|
334
293
|
- lib/ui_bibz/inputs/ui_bibz_inputs/ui_choice_group_input.rb
|
335
294
|
- lib/ui_bibz/inputs/ui_bibz_inputs/ui_date_picker_field_input.rb
|
336
295
|
- lib/ui_bibz/inputs/ui_bibz_inputs/ui_dropdown_select_field_input.rb
|
@@ -343,23 +302,31 @@ files:
|
|
343
302
|
- lib/ui_bibz/inputs/ui_bibz_inputs/ui_radio_field_input.rb
|
344
303
|
- lib/ui_bibz/inputs/ui_bibz_inputs/ui_range_field_input.rb
|
345
304
|
- lib/ui_bibz/inputs/ui_bibz_inputs/ui_select_field_input.rb
|
305
|
+
- lib/ui_bibz/inputs/ui_bibz_inputs/ui_slider_field_input.rb
|
346
306
|
- lib/ui_bibz/inputs/ui_bibz_inputs/ui_switch_field_input.rb
|
347
307
|
- lib/ui_bibz/inputs/ui_bibz_inputs/ui_text_field_input.rb
|
348
308
|
- lib/ui_bibz/rails/engine.rb
|
309
|
+
- lib/ui_bibz/railtie.rb
|
349
310
|
- lib/ui_bibz/ui/base.rb
|
311
|
+
- lib/ui_bibz/ui/concerns/card_itemable_concern.rb
|
312
|
+
- lib/ui_bibz/ui/concerns/html_concern.rb
|
350
313
|
- lib/ui_bibz/ui/core/boxes/card.rb
|
351
314
|
- lib/ui_bibz/ui/core/boxes/card_accordion.rb
|
352
315
|
- lib/ui_bibz/ui/core/boxes/card_column.rb
|
353
316
|
- lib/ui_bibz/ui/core/boxes/card_deck.rb
|
317
|
+
- lib/ui_bibz/ui/core/boxes/card_grid.rb
|
354
318
|
- lib/ui_bibz/ui/core/boxes/card_group.rb
|
355
319
|
- lib/ui_bibz/ui/core/boxes/components/body/card_body_link.rb
|
320
|
+
- lib/ui_bibz/ui/core/boxes/components/body/card_body_subtitle.rb
|
356
321
|
- lib/ui_bibz/ui/core/boxes/components/body/card_body_text.rb
|
357
322
|
- lib/ui_bibz/ui/core/boxes/components/body/card_body_title.rb
|
358
323
|
- lib/ui_bibz/ui/core/boxes/components/card_body.rb
|
324
|
+
- lib/ui_bibz/ui/core/boxes/components/card_col.rb
|
359
325
|
- lib/ui_bibz/ui/core/boxes/components/card_footer.rb
|
360
326
|
- lib/ui_bibz/ui/core/boxes/components/card_header.rb
|
361
327
|
- lib/ui_bibz/ui/core/boxes/components/card_image.rb
|
362
328
|
- lib/ui_bibz/ui/core/boxes/components/card_list_group.rb
|
329
|
+
- lib/ui_bibz/ui/core/boxes/components/card_row.rb
|
363
330
|
- lib/ui_bibz/ui/core/boxes/components/card_tab_group.rb
|
364
331
|
- lib/ui_bibz/ui/core/boxes/jumbotron.rb
|
365
332
|
- lib/ui_bibz/ui/core/component.rb
|
@@ -385,10 +352,11 @@ files:
|
|
385
352
|
- lib/ui_bibz/ui/core/forms/numbers/formula_field.rb
|
386
353
|
- lib/ui_bibz/ui/core/forms/numbers/number_field.rb
|
387
354
|
- lib/ui_bibz/ui/core/forms/numbers/range_field.rb
|
355
|
+
- lib/ui_bibz/ui/core/forms/numbers/slider_field.rb
|
356
|
+
- lib/ui_bibz/ui/core/forms/numbers/slider_header.rb
|
388
357
|
- lib/ui_bibz/ui/core/forms/selects/abstract_select.rb
|
389
358
|
- lib/ui_bibz/ui/core/forms/selects/dropdown_select_field.rb
|
390
359
|
- lib/ui_bibz/ui/core/forms/selects/multi_column_field.rb
|
391
|
-
- lib/ui_bibz/ui/core/forms/selects/multi_select_field.rb
|
392
360
|
- lib/ui_bibz/ui/core/forms/selects/select_field.rb
|
393
361
|
- lib/ui_bibz/ui/core/forms/surrounds/components/surround_addon.rb
|
394
362
|
- lib/ui_bibz/ui/core/forms/surrounds/components/surround_button.rb
|
@@ -406,7 +374,6 @@ files:
|
|
406
374
|
- lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
|
407
375
|
- lib/ui_bibz/ui/core/icons/components/glyph_text.rb
|
408
376
|
- lib/ui_bibz/ui/core/icons/glyph.rb
|
409
|
-
- lib/ui_bibz/ui/core/icons/glyph_group.rb
|
410
377
|
- lib/ui_bibz/ui/core/icons/star.rb
|
411
378
|
- lib/ui_bibz/ui/core/layouts/col.rb
|
412
379
|
- lib/ui_bibz/ui/core/layouts/container.rb
|
@@ -478,6 +445,7 @@ files:
|
|
478
445
|
- lib/ui_bibz/ui/ux/tables/table_pagination.rb
|
479
446
|
- lib/ui_bibz/ui/ux/tables/table_pagination_per_page.rb
|
480
447
|
- lib/ui_bibz/ui/ux/tables/table_search_field.rb
|
448
|
+
- lib/ui_bibz/utils/breakdown_class_name_generator.rb
|
481
449
|
- lib/ui_bibz/utils/glyph_changer.rb
|
482
450
|
- lib/ui_bibz/utils/internationalization.rb
|
483
451
|
- lib/ui_bibz/utils/screwdriver.rb
|
@@ -492,6 +460,7 @@ files:
|
|
492
460
|
- test/dummy/app/controllers/concerns/.keep
|
493
461
|
- test/dummy/app/controllers/users_controller.rb
|
494
462
|
- test/dummy/app/helpers/application_helper.rb
|
463
|
+
- test/dummy/app/javascripts/packs/index.js
|
495
464
|
- test/dummy/app/mailers/.keep
|
496
465
|
- test/dummy/app/models/.keep
|
497
466
|
- test/dummy/app/models/application_record.rb
|
@@ -500,20 +469,23 @@ files:
|
|
500
469
|
- test/dummy/app/models/country.rb
|
501
470
|
- test/dummy/app/models/user.rb
|
502
471
|
- test/dummy/app/views/layouts/application.html.erb
|
503
|
-
- test/dummy/
|
472
|
+
- test/dummy/app/views/users/index.html.erb
|
504
473
|
- test/dummy/bin/rails
|
505
474
|
- test/dummy/bin/rake
|
506
475
|
- test/dummy/bin/setup
|
507
476
|
- test/dummy/config.ru
|
508
477
|
- test/dummy/config/application.rb
|
509
478
|
- test/dummy/config/boot.rb
|
479
|
+
- test/dummy/config/cable.yml
|
510
480
|
- test/dummy/config/database.yml
|
511
481
|
- test/dummy/config/environment.rb
|
512
482
|
- test/dummy/config/environments/development.rb
|
513
483
|
- test/dummy/config/environments/production.rb
|
514
484
|
- test/dummy/config/environments/test.rb
|
485
|
+
- test/dummy/config/initializers/application_controller_renderer.rb
|
515
486
|
- test/dummy/config/initializers/assets.rb
|
516
487
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
488
|
+
- test/dummy/config/initializers/content_security_policy.rb
|
517
489
|
- test/dummy/config/initializers/cookies_serializer.rb
|
518
490
|
- test/dummy/config/initializers/filter_parameter_logging.rb
|
519
491
|
- test/dummy/config/initializers/inflections.rb
|
@@ -523,8 +495,11 @@ files:
|
|
523
495
|
- test/dummy/config/initializers/ui_bibz.rb
|
524
496
|
- test/dummy/config/initializers/wrap_parameters.rb
|
525
497
|
- test/dummy/config/locales/en.yml
|
498
|
+
- test/dummy/config/puma.rb
|
526
499
|
- test/dummy/config/routes.rb
|
527
500
|
- test/dummy/config/secrets.yml
|
501
|
+
- test/dummy/config/spring.rb
|
502
|
+
- test/dummy/config/storage.yml
|
528
503
|
- test/dummy/db/migrate/20150123191805_create_users.rb
|
529
504
|
- test/dummy/db/migrate/20170309084406_continents.rb
|
530
505
|
- test/dummy/db/migrate/20170309084453_countries.rb
|
@@ -534,7 +509,10 @@ files:
|
|
534
509
|
- test/dummy/public/404.html
|
535
510
|
- test/dummy/public/422.html
|
536
511
|
- test/dummy/public/500.html
|
512
|
+
- test/dummy/public/apple-touch-icon-precomposed.png
|
513
|
+
- test/dummy/public/apple-touch-icon.png
|
537
514
|
- test/dummy/public/favicon.ico
|
515
|
+
- test/dummy/storage/.keep
|
538
516
|
- test/dummy/test/fixtures/users.yml
|
539
517
|
- test/dummy/test/models/user_test.rb
|
540
518
|
- test/factories/user.rb
|
@@ -542,6 +520,7 @@ files:
|
|
542
520
|
- test/store_test.rb
|
543
521
|
- test/support/factory_bot.rb
|
544
522
|
- test/test_helper.rb
|
523
|
+
- test/ui/core/boxes/card_grid_test.rb
|
545
524
|
- test/ui/core/boxes/card_test.rb
|
546
525
|
- test/ui/core/boxes/jumbotron_test.rb
|
547
526
|
- test/ui/core/component_test.rb
|
@@ -555,11 +534,11 @@ files:
|
|
555
534
|
- test/ui/core/forms/choices/radio_field_test.rb
|
556
535
|
- test/ui/core/forms/dates/date_picker_field_test.rb
|
557
536
|
- test/ui/core/forms/dropdowns/dropdown_test.rb
|
558
|
-
- test/ui/core/forms/files/
|
537
|
+
- test/ui/core/forms/files/file_field_test.rb
|
559
538
|
- test/ui/core/forms/numbers/formula_field_test.rb
|
560
539
|
- test/ui/core/forms/numbers/number_field_test.rb
|
561
540
|
- test/ui/core/forms/numbers/range_field_test.rb
|
562
|
-
- test/ui/core/forms/
|
541
|
+
- test/ui/core/forms/numbers/slider_field_test.rb
|
563
542
|
- test/ui/core/forms/selects/multi_column_field_test.rb
|
564
543
|
- test/ui/core/forms/selects/multi_select_field_test.rb
|
565
544
|
- test/ui/core/forms/selects/select_field_test.rb
|
@@ -567,7 +546,6 @@ files:
|
|
567
546
|
- test/ui/core/forms/textareas/markdown_editor_field_test.rb
|
568
547
|
- test/ui/core/forms/texts/auto_complete_field_test.rb
|
569
548
|
- test/ui/core/forms/texts/text_field_test.rb
|
570
|
-
- test/ui/core/icons/glyph_group_test.rb
|
571
549
|
- test/ui/core/icons/glyph_test.rb
|
572
550
|
- test/ui/core/icons/star_test.rb
|
573
551
|
- test/ui/core/layouts/col_test.rb
|
@@ -587,6 +565,7 @@ files:
|
|
587
565
|
- test/ui/core/notifications/spinner_test.rb
|
588
566
|
- test/ui/core/notifications/toast_test.rb
|
589
567
|
- test/ui/core/windows/modal_test.rb
|
568
|
+
- test/ui/utils/breakdown_class_name_generator_test.rb
|
590
569
|
- test/ui/ux/containers/panel_test.rb
|
591
570
|
- test/ui/ux/tables/table_test.rb
|
592
571
|
- test/ui_bibz_test.rb
|
@@ -659,7 +638,7 @@ homepage: http://thooams.github.io/Ui-Bibz/
|
|
659
638
|
licenses:
|
660
639
|
- MIT
|
661
640
|
metadata: {}
|
662
|
-
post_install_message:
|
641
|
+
post_install_message:
|
663
642
|
rdoc_options: []
|
664
643
|
require_paths:
|
665
644
|
- lib
|
@@ -671,15 +650,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
671
650
|
version: '2.7'
|
672
651
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
673
652
|
requirements:
|
674
|
-
- - "
|
653
|
+
- - ">"
|
675
654
|
- !ruby/object:Gem::Version
|
676
|
-
version:
|
655
|
+
version: 1.3.1
|
677
656
|
requirements: []
|
678
657
|
rubygems_version: 3.1.2
|
679
|
-
signing_key:
|
658
|
+
signing_key:
|
680
659
|
specification_version: 4
|
681
|
-
summary:
|
682
|
-
|
660
|
+
summary: Ui Bibz is an Ui Framework that allows you to build an interface very quickly
|
661
|
+
and simply using Bootstrap 5.0.0.alpha2.
|
683
662
|
test_files:
|
684
663
|
- test/dummy/README.rdoc
|
685
664
|
- test/dummy/Rakefile
|
@@ -691,6 +670,7 @@ test_files:
|
|
691
670
|
- test/dummy/app/controllers/concerns/.keep
|
692
671
|
- test/dummy/app/controllers/users_controller.rb
|
693
672
|
- test/dummy/app/helpers/application_helper.rb
|
673
|
+
- test/dummy/app/javascripts/packs/index.js
|
694
674
|
- test/dummy/app/mailers/.keep
|
695
675
|
- test/dummy/app/models/.keep
|
696
676
|
- test/dummy/app/models/application_record.rb
|
@@ -699,20 +679,23 @@ test_files:
|
|
699
679
|
- test/dummy/app/models/country.rb
|
700
680
|
- test/dummy/app/models/user.rb
|
701
681
|
- test/dummy/app/views/layouts/application.html.erb
|
702
|
-
- test/dummy/
|
682
|
+
- test/dummy/app/views/users/index.html.erb
|
703
683
|
- test/dummy/bin/rails
|
704
684
|
- test/dummy/bin/rake
|
705
685
|
- test/dummy/bin/setup
|
706
686
|
- test/dummy/config.ru
|
707
687
|
- test/dummy/config/application.rb
|
708
688
|
- test/dummy/config/boot.rb
|
689
|
+
- test/dummy/config/cable.yml
|
709
690
|
- test/dummy/config/database.yml
|
710
691
|
- test/dummy/config/environment.rb
|
711
692
|
- test/dummy/config/environments/development.rb
|
712
693
|
- test/dummy/config/environments/production.rb
|
713
694
|
- test/dummy/config/environments/test.rb
|
695
|
+
- test/dummy/config/initializers/application_controller_renderer.rb
|
714
696
|
- test/dummy/config/initializers/assets.rb
|
715
697
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
698
|
+
- test/dummy/config/initializers/content_security_policy.rb
|
716
699
|
- test/dummy/config/initializers/cookies_serializer.rb
|
717
700
|
- test/dummy/config/initializers/filter_parameter_logging.rb
|
718
701
|
- test/dummy/config/initializers/inflections.rb
|
@@ -722,8 +705,11 @@ test_files:
|
|
722
705
|
- test/dummy/config/initializers/ui_bibz.rb
|
723
706
|
- test/dummy/config/initializers/wrap_parameters.rb
|
724
707
|
- test/dummy/config/locales/en.yml
|
708
|
+
- test/dummy/config/puma.rb
|
725
709
|
- test/dummy/config/routes.rb
|
726
710
|
- test/dummy/config/secrets.yml
|
711
|
+
- test/dummy/config/spring.rb
|
712
|
+
- test/dummy/config/storage.yml
|
727
713
|
- test/dummy/db/migrate/20150123191805_create_users.rb
|
728
714
|
- test/dummy/db/migrate/20170309084406_continents.rb
|
729
715
|
- test/dummy/db/migrate/20170309084453_countries.rb
|
@@ -733,7 +719,10 @@ test_files:
|
|
733
719
|
- test/dummy/public/404.html
|
734
720
|
- test/dummy/public/422.html
|
735
721
|
- test/dummy/public/500.html
|
722
|
+
- test/dummy/public/apple-touch-icon-precomposed.png
|
723
|
+
- test/dummy/public/apple-touch-icon.png
|
736
724
|
- test/dummy/public/favicon.ico
|
725
|
+
- test/dummy/storage/.keep
|
737
726
|
- test/dummy/test/fixtures/users.yml
|
738
727
|
- test/dummy/test/models/user_test.rb
|
739
728
|
- test/factories/user.rb
|
@@ -741,6 +730,7 @@ test_files:
|
|
741
730
|
- test/store_test.rb
|
742
731
|
- test/support/factory_bot.rb
|
743
732
|
- test/test_helper.rb
|
733
|
+
- test/ui/core/boxes/card_grid_test.rb
|
744
734
|
- test/ui/core/boxes/card_test.rb
|
745
735
|
- test/ui/core/boxes/jumbotron_test.rb
|
746
736
|
- test/ui/core/component_test.rb
|
@@ -754,11 +744,11 @@ test_files:
|
|
754
744
|
- test/ui/core/forms/choices/radio_field_test.rb
|
755
745
|
- test/ui/core/forms/dates/date_picker_field_test.rb
|
756
746
|
- test/ui/core/forms/dropdowns/dropdown_test.rb
|
757
|
-
- test/ui/core/forms/files/
|
747
|
+
- test/ui/core/forms/files/file_field_test.rb
|
758
748
|
- test/ui/core/forms/numbers/formula_field_test.rb
|
759
749
|
- test/ui/core/forms/numbers/number_field_test.rb
|
760
750
|
- test/ui/core/forms/numbers/range_field_test.rb
|
761
|
-
- test/ui/core/forms/
|
751
|
+
- test/ui/core/forms/numbers/slider_field_test.rb
|
762
752
|
- test/ui/core/forms/selects/multi_column_field_test.rb
|
763
753
|
- test/ui/core/forms/selects/multi_select_field_test.rb
|
764
754
|
- test/ui/core/forms/selects/select_field_test.rb
|
@@ -766,7 +756,6 @@ test_files:
|
|
766
756
|
- test/ui/core/forms/textareas/markdown_editor_field_test.rb
|
767
757
|
- test/ui/core/forms/texts/auto_complete_field_test.rb
|
768
758
|
- test/ui/core/forms/texts/text_field_test.rb
|
769
|
-
- test/ui/core/icons/glyph_group_test.rb
|
770
759
|
- test/ui/core/icons/glyph_test.rb
|
771
760
|
- test/ui/core/icons/star_test.rb
|
772
761
|
- test/ui/core/layouts/col_test.rb
|
@@ -786,6 +775,7 @@ test_files:
|
|
786
775
|
- test/ui/core/notifications/spinner_test.rb
|
787
776
|
- test/ui/core/notifications/toast_test.rb
|
788
777
|
- test/ui/core/windows/modal_test.rb
|
778
|
+
- test/ui/utils/breakdown_class_name_generator_test.rb
|
789
779
|
- test/ui/ux/containers/panel_test.rb
|
790
780
|
- test/ui/ux/tables/table_test.rb
|
791
781
|
- test/ui_bibz_test.rb
|