ui_bibz 1.1.7 → 1.2.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 (96) hide show
  1. checksums.yaml +8 -8
  2. data/.yardoc/checksums +23 -19
  3. data/.yardoc/object_types +0 -0
  4. data/.yardoc/objects/root.dat +0 -0
  5. data/Gemfile.lock +3 -16
  6. data/README.md +65 -42
  7. data/doc/UiBibz.html +2 -2
  8. data/doc/UiBibz/Concerns.html +1 -1
  9. data/doc/UiBibz/Concerns/Models.html +1 -1
  10. data/doc/UiBibz/Concerns/Models/Searchable.html +1 -1
  11. data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +4 -4
  12. data/doc/UiBibz/Helpers.html +1 -1
  13. data/doc/UiBibz/Helpers/MetaHelper.html +1 -1
  14. data/doc/UiBibz/Helpers/UiCoreHelper.html +127 -75
  15. data/doc/UiBibz/Helpers/UiUxHelper.html +1 -1
  16. data/doc/UiBibz/Helpers/UtilsHelper.html +1 -1
  17. data/doc/UiBibz/Rails.html +1 -1
  18. data/doc/UiBibz/Rails/Engine.html +1 -1
  19. data/doc/UiBibz/Ui.html +1 -1
  20. data/doc/UiBibz/Ui/Base.html +1 -1
  21. data/doc/UiBibz/Ui/Core.html +3 -3
  22. data/doc/UiBibz/Ui/Core/Alert.html +1 -1
  23. data/doc/UiBibz/Ui/Core/Bar.html +1 -1
  24. data/doc/UiBibz/Ui/Core/Breadcrumb.html +1 -1
  25. data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +1 -1
  26. data/doc/UiBibz/Ui/Core/Button.html +1 -1
  27. data/doc/UiBibz/Ui/Core/ButtonDropdown.html +1 -1
  28. data/doc/UiBibz/Ui/Core/ButtonGroup.html +1 -1
  29. data/doc/UiBibz/Ui/Core/ButtonLink.html +1 -1
  30. data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +1 -1
  31. data/doc/UiBibz/Ui/Core/Col.html +1 -1
  32. data/doc/UiBibz/Ui/Core/Component.html +2 -2
  33. data/doc/UiBibz/Ui/Core/Dropdown.html +1 -1
  34. data/doc/UiBibz/Ui/Core/DropdownDivider.html +1 -1
  35. data/doc/UiBibz/Ui/Core/DropdownHeader.html +1 -1
  36. data/doc/UiBibz/Ui/Core/DropdownLink.html +1 -1
  37. data/doc/UiBibz/Ui/Core/Glyph.html +1 -1
  38. data/doc/UiBibz/Ui/Core/Jumbotron.html +1 -1
  39. data/doc/UiBibz/Ui/Core/Label.html +1 -1
  40. data/doc/UiBibz/Ui/Core/List.html +1 -1
  41. data/doc/UiBibz/Ui/Core/ListGroup.html +1 -1
  42. data/doc/UiBibz/Ui/Core/Modal.html +541 -0
  43. data/doc/UiBibz/Ui/Core/ModalBody.html +351 -0
  44. data/doc/UiBibz/Ui/Core/ModalFooter.html +351 -0
  45. data/doc/UiBibz/Ui/Core/ModalHeader.html +357 -0
  46. data/doc/UiBibz/Ui/Core/Nav.html +1 -1
  47. data/doc/UiBibz/Ui/Core/NavDropdown.html +1 -1
  48. data/doc/UiBibz/Ui/Core/NavLink.html +1 -1
  49. data/doc/UiBibz/Ui/Core/Navbar.html +1 -1
  50. data/doc/UiBibz/Ui/Core/NavbarForm.html +1 -1
  51. data/doc/UiBibz/Ui/Core/NavbarNav.html +1 -1
  52. data/doc/UiBibz/Ui/Core/NavbarText.html +1 -1
  53. data/doc/UiBibz/Ui/Core/Panel.html +1 -1
  54. data/doc/UiBibz/Ui/Core/ProgressBar.html +1 -1
  55. data/doc/UiBibz/Ui/Core/Row.html +1 -1
  56. data/doc/UiBibz/Ui/Core/Stars.html +1 -1
  57. data/doc/UiBibz/Ui/Ux.html +2 -2
  58. data/doc/UiBibz/Ui/Ux/Actionable.html +1 -1
  59. data/doc/UiBibz/Ui/Ux/Actions.html +1 -1
  60. data/doc/UiBibz/Ui/Ux/Column.html +83 -11
  61. data/doc/UiBibz/Ui/Ux/Columns.html +1 -1
  62. data/doc/UiBibz/Ui/Ux/Grid.html +1 -1
  63. data/doc/UiBibz/Ui/Ux/Paginable.html +1 -1
  64. data/doc/UiBibz/Ui/Ux/Searchable.html +1 -1
  65. data/doc/UiBibz/Ui/Ux/Sortable.html +1 -1
  66. data/doc/UiBibz/Ui/Ux/Store.html +93 -41
  67. data/doc/UiBibz/Ui/Ux/Table.html +1 -1
  68. data/doc/UiBibz/Ui/Ux/TablePagination.html +1 -1
  69. data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +1 -1
  70. data/doc/UiBibz/Ui/Ux/TablePanel.html +1 -1
  71. data/doc/UiBibz/Ui/Ux/TableSearchField.html +1 -1
  72. data/doc/UiBibz/Utils.html +1 -1
  73. data/doc/UiBibz/Utils/Internationalization.html +1 -1
  74. data/doc/_index.html +29 -1
  75. data/doc/class_list.html +1 -1
  76. data/doc/file.README.html +65 -43
  77. data/doc/images/modal.png +0 -0
  78. data/doc/index.html +65 -43
  79. data/doc/method_list.html +309 -225
  80. data/doc/top-level-namespace.html +1 -1
  81. data/lib/ui_bibz.rb +1 -0
  82. data/lib/ui_bibz/concerns/models/searchable.rb +2 -1
  83. data/lib/ui_bibz/helpers/ui_core_helper.rb +4 -0
  84. data/lib/ui_bibz/ui/core/modal/components/modal_body.rb +45 -0
  85. data/lib/ui_bibz/ui/core/modal/components/modal_footer.rb +45 -0
  86. data/lib/ui_bibz/ui/core/modal/components/modal_header.rb +58 -0
  87. data/lib/ui_bibz/ui/core/modal/modal.rb +92 -0
  88. data/lib/ui_bibz/ui/ux/table/components/column.rb +2 -1
  89. data/lib/ui_bibz/ui/ux/table/components/store.rb +4 -0
  90. data/lib/ui_bibz/ui/ux/table/extensions/sortable.rb +13 -8
  91. data/lib/ui_bibz/version.rb +1 -1
  92. data/test/test_helper.rb +0 -5
  93. data/test/ui/table_test.rb +1 -1
  94. data/test/ui_helper_test.rb +15 -0
  95. data/ui_bibz.gemspec +2 -5
  96. metadata +19 -52
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OWI1MGY4Mzg2MzI2ZWJhNmI1OGQyNDMwOWY3OWQ4OTg5Njc3M2MwMQ==
4
+ ZTIyNmJkYmYwZjIzNGE2MjVhZWNlZDcwZDRhOTE4ZmJmZjgzODVkMA==
5
5
  data.tar.gz: !binary |-
6
- MWRiMWY0MGZiN2VhZTRhMzVkNjJkMDY1NzNlNmUyNGIyOGMxYzdmZA==
6
+ YWQyMjllMmViMmMyYmNjNGNmMGEyMGNlYjQ4NDdlM2Y5M2MwN2NlZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjM5ODgyMDY1MmNhNDQ1YWJhYTIxNDI5ZmJiOWMzM2RjNWZmYjdlOTk2ZjJl
10
- ODM3MGM4ZWZiZWNiY2U0NTgxNGE1YjJmMjg4MWE0MTg5NmZmNTUyNTJiNGUw
11
- YWFkYzRhZTg3YjNiMzJlZmI5NDBhYWE1YjAwYjM2MjU5NzZiOGQ=
9
+ MjU5NWRhZmI0ZGU3NTU4NjUyYzFhMzZlZDc5ZWU2NWU2ZGM0YWVlYmNmOWU5
10
+ NGU2ZTVlZWYxNWEwNWQ1ZWUwOTRhODE5NWM5MmU3NzUwNTU1N2EzYjFlMDk5
11
+ MGU1NmJiZGZkYjExN2UyMjFlNDhmYjk4NDdkZmNiODAwMDI4OTg=
12
12
  data.tar.gz: !binary |-
13
- M2M2NWI5ZDY4MjFkZjNjNzBjMzkzNWIyYTY1N2U1ODNkNjMyNzIwYzE5Mzlj
14
- ZWU5YTlmMWZkMzg1YWI3MmNkZDhkNGQwMjhiMzhhN2RjNDQwNDFlOTdmZDdj
15
- OWFiN2E2MWU5NTA3OTU5ZjM1MzUxMWY5ZWQ5ZmM4ZjA0MGE1NTM=
13
+ OTYxYWZlZWJmZjUyMjA0MmEzNGUyYzE2ZTAyMzVmY2VkY2FmYzU2MTgwMDgx
14
+ YTRmY2JlYjAwNWE1YWZkMTMyM2E2MjIwNzYxMDgxNmNlNTczZTVkYmVlMzYy
15
+ ODc4YmUzYTAwNDRhZTk1NzVlODhjMzcyYTI4YWY3ZDg4ZTk4YzE=
data/.yardoc/checksums CHANGED
@@ -1,53 +1,57 @@
1
- lib/ui_bibz.rb d87b32c7833f15e5046449ab5ac2c6ec3f6cc084
1
+ lib/ui_bibz.rb b86436b727c765b1fa18a5351ab42dc288747540
2
2
  lib/ui_bibz/ui/base.rb a0840e2ee2d49117ac28b51dc89d3d724cfb6747
3
- lib/ui_bibz/version.rb fb7ca06617deaf5e1e4795e9fc49b7166ccb5c90
3
+ lib/ui_bibz/version.rb 876ec1e1d674bd12544167c205656568413e2b42
4
4
  lib/ui_bibz/ui/ux/grid.rb 079a9b94c43980e5ae86b9e4c50499f0153aa345
5
5
  lib/ui_bibz/ui/core/col.rb 657fd5aeed007c9d2848f99f3d7bb4f642bf756c
6
6
  lib/ui_bibz/ui/core/row.rb 539ef1d6caf28cb460671cf3877313b3fc3fd74c
7
7
  lib/ui_bibz/rails/engine.rb 0d38746eac6afaa56796c64d7aa0ec77121e4070
8
- lib/ui_bibz/ui/core/alert.rb 48c30806eec62987f07b57375ccf406712308df8
9
- lib/ui_bibz/ui/core/stars.rb bfb37a8b1e2b61b4e153b828f0d6ea0d67072d94
8
+ lib/ui_bibz/ui/core/panel.rb 6d066fab9424468ef60530d436e8d4c5e4ae997f
10
9
  lib/ui_bibz/ui/core/glyph.rb cf35976f93328f4b475bd41b07151ccba76bec78
11
10
  lib/ui_bibz/ui/core/label.rb c71b0853662492478a179bc2e7e0ec6c659b1161
12
- lib/ui_bibz/ui/core/panel.rb 6d066fab9424468ef60530d436e8d4c5e4ae997f
11
+ lib/ui_bibz/ui/core/alert.rb 48c30806eec62987f07b57375ccf406712308df8
12
+ lib/ui_bibz/ui/core/stars.rb bfb37a8b1e2b61b4e153b828f0d6ea0d67072d94
13
13
  lib/ui_bibz/ui/core/nav/nav.rb 75455d31f32733e8570c97d64bfac88db31170be
14
- lib/ui_bibz/ui/ux/table/table.rb 1b04d576a2868345bd69c03b461a3abd4f1f8f22
15
14
  lib/ui_bibz/ui/core/jumbotron.rb 7654b2765b0c085182545c2fb5a39a3920e4baf3
16
15
  lib/ui_bibz/ui/core/component.rb b0df13610fa2c33c3fcce825262ded8871c66fe3
16
+ lib/ui_bibz/ui/ux/table/table.rb 1b04d576a2868345bd69c03b461a3abd4f1f8f22
17
17
  lib/ui_bibz/ui/core/nav/navbar.rb 6db829caf51ebfedda453fc5532b14b87b608105
18
+ lib/ui_bibz/ui/core/modal/modal.rb 8ce1b5833179ddd247f2742ec5b19f0b7f72bdce
18
19
  lib/ui_bibz/helpers/meta_helper.rb b90ee3e3274c1c0a80cd4b5c3a5d8849e0e20923
19
- lib/ui_bibz/helpers/ui_ux_helper.rb b47a87a3133385d921951d86f1344c155faa942f
20
20
  lib/ui_bibz/helpers/utils_helper.rb 53d9372821f8c1b29ea1e180d58995685b230153
21
+ lib/ui_bibz/helpers/ui_ux_helper.rb b47a87a3133385d921951d86f1344c155faa942f
21
22
  lib/ui_bibz/ui/core/button/button.rb 31b36244d461cbb8531a5c85f6f8a8fed17570ca
22
- lib/ui_bibz/helpers/ui_core_helper.rb a08fe31fc9f687d721ed41046c48ca7a5690036c
23
- lib/ui_bibz/ui/core/list/list_group.rb ff0e84c591a84b4ce63db939a37f55c4b97714a9
23
+ lib/ui_bibz/helpers/ui_core_helper.rb 16acae7a641a4f8133aac84dd2db669e04e2214d
24
24
  lib/ui_bibz/ui/ux/table/table_panel.rb 8156dd1c99b1b3e4cd8c03e9059ff01c6024c9a9
25
+ lib/ui_bibz/ui/core/list/list_group.rb ff0e84c591a84b4ce63db939a37f55c4b97714a9
25
26
  lib/ui_bibz/ui/core/dropdown/dropdown.rb b5c804c45e9d7a1b2b8e38788f031288ebc66749
27
+ lib/ui_bibz/concerns/models/searchable.rb 1b173889b326d94e88d6c3e40e70ffe125b51ebd
26
28
  lib/ui_bibz/utils/internationalization.rb 247008bccd7b820cd534082a846a29e5de0063dc
27
- lib/ui_bibz/concerns/models/searchable.rb 1971383394f32409656b7379b378516ce194ccd4
28
29
  lib/ui_bibz/ui/core/button/button_link.rb aab49e47762ac39326de4ec9a8dd9a9695ab57b6
29
30
  lib/ui_bibz/ui/core/button/button_group.rb dac533adecbb81cb1d94175d49da6782a4af6ad2
30
- lib/ui_bibz/ui/core/list/components/list.rb 2717ed6f342dd4ad0c92864425fe8123fb82143f
31
- lib/ui_bibz/ui/ux/table/components/store.rb 1b9a3c1e0b173aa1801a0e471f44944d9dbd2782
32
31
  lib/ui_bibz/ui/ux/table/table_pagination.rb e9609ebbe28515472691b3b03b7acf7fb25dfbb0
33
- lib/ui_bibz/ui/ux/table/components/column.rb da034f1a7f05096ffc03c2f25785bf264e844d32
32
+ lib/ui_bibz/ui/core/list/components/list.rb 2717ed6f342dd4ad0c92864425fe8123fb82143f
33
+ lib/ui_bibz/ui/ux/table/components/store.rb 6aee9ec1af379ac705452e7fe29d02f4a8e8f4eb
34
34
  lib/ui_bibz/ui/core/breadcrumb/breadcrumb.rb 60ca3ffd3ce3f484249bc5d49bcde53b407c33fa
35
+ lib/ui_bibz/ui/ux/table/components/column.rb 9055ce20a2e1a8868502dc5d0735d422babdf73a
35
36
  lib/ui_bibz/ui/ux/table/components/columns.rb ad81e6a9ce7e30e2a9b6491132ce428f710f056f
36
- lib/ui_bibz/ui/core/button/button_dropdown.rb 49f453e7024956cf7b5e0ad9989ecac53c7216b2
37
37
  lib/ui_bibz/ui/ux/table/table_search_field.rb 316b44d19cf88e780ba0cfdefcab8c12806e8fa0
38
38
  lib/ui_bibz/ui/ux/table/components/actions.rb e7459be83daa3f8ca944441d1a86049ec7bf7855
39
- lib/ui_bibz/ui/ux/table/extensions/sortable.rb c847ee73c4ac95b215f9ee9b5bba4f9ad32a5766
39
+ lib/ui_bibz/ui/core/button/button_dropdown.rb 49f453e7024956cf7b5e0ad9989ecac53c7216b2
40
40
  lib/ui_bibz/ui/core/nav/components/nav_link.rb 27fbcf7b456c64178e238e63b3b4e641737635c7
41
+ lib/ui_bibz/ui/ux/table/extensions/sortable.rb ece02241d76ca1d737122f094678635ac83d14b2
41
42
  lib/ui_bibz/ui/ux/table/extensions/paginable.rb 89dd34ccca0c0acaec94e21c32720ce9e3a929e4
42
- lib/ui_bibz/ui/core/progress_bar/progress_bar.rb 1fd77c45519af289ad61f13604fd6a2ee51361de
43
+ lib/ui_bibz/ui/ux/table/extensions/searchable.rb 2ab1b29fd7cb5335cb7177a93187729f728726d0
43
44
  lib/ui_bibz/ui/ux/table/extensions/actionable.rb 7ba002df2a38b1e4ea185a63b4aeab9127a72e0d
44
45
  lib/ui_bibz/ui/core/nav/components/navbar_nav.rb c444431fae9fe2301db5c458c553daf3c1371fe2
45
- lib/ui_bibz/ui/ux/table/extensions/searchable.rb 2ab1b29fd7cb5335cb7177a93187729f728726d0
46
- lib/ui_bibz/ui/core/nav/components/navbar_form.rb 72a4dee1c6fd0d27f6adf62181e740df4b60e5e6
46
+ lib/ui_bibz/ui/core/progress_bar/progress_bar.rb 1fd77c45519af289ad61f13604fd6a2ee51361de
47
47
  lib/ui_bibz/ui/core/nav/components/navbar_text.rb 3d886871d3cbed43f520f43cfd4ec8a5210730be
48
- lib/ui_bibz/ui/core/progress_bar/components/bar.rb e02355fef5a6b683b9495891e9217b594b27a024
48
+ lib/ui_bibz/ui/core/nav/components/navbar_form.rb 72a4dee1c6fd0d27f6adf62181e740df4b60e5e6
49
+ lib/ui_bibz/ui/core/modal/components/modal_body.rb 1fa19a7cf70301b89c0fb452dbf5e436d0db5d02
49
50
  lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb 3f592f3bf71c45773280ecc7f0dcec90b8811308
51
+ lib/ui_bibz/ui/core/progress_bar/components/bar.rb e02355fef5a6b683b9495891e9217b594b27a024
50
52
  lib/ui_bibz/ui/core/button/button_split_dropdown.rb 78045ee23b55e8a9e217f67ae625d115a105e3ed
53
+ lib/ui_bibz/ui/core/modal/components/modal_header.rb f6def330962ffb9ada1146154aed617458115279
54
+ lib/ui_bibz/ui/core/modal/components/modal_footer.rb 13256ab30019589f28dc28d96dabe6403b54ad52
51
55
  lib/ui_bibz/ui/ux/table/table_pagination_per_page.rb c7e2cf5665b29bc05df096e537fb7ce1056ed908
52
56
  lib/ui_bibz/ui/core/dropdown/components/dropdown_link.rb 74fab94a4dcb0af054998400226245d50d1bfc7d
53
57
  lib/ui_bibz/ui/core/dropdown/components/dropdown_header.rb 48255e9d5a49aef02175ea201f8d50c71c82f25f
data/.yardoc/object_types CHANGED
Binary file
Binary file
data/Gemfile.lock CHANGED
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ui_bibz (1.1.7)
4
+ ui_bibz (1.2.0)
5
5
  bootstrap-sass (~> 3.3.5)
6
6
  font-awesome-sass
7
7
  haml
8
8
  haml-rails
9
- rails (~> 4.2.4)
10
- sass-rails (~> 5.0.4)
9
+ rails (>= 4.2.0)
10
+ sass-rails (>= 5.0.0)
11
11
  will-paginate-i18n
12
12
  will_paginate (~> 3.0.6)
13
13
  will_paginate-bootstrap
@@ -50,7 +50,6 @@ GEM
50
50
  minitest (~> 5.1)
51
51
  thread_safe (~> 0.3, >= 0.3.4)
52
52
  tzinfo (~> 1.1)
53
- ansi (1.5.0)
54
53
  arel (6.0.3)
55
54
  autoprefixer-rails (6.0.2)
56
55
  execjs
@@ -62,7 +61,6 @@ GEM
62
61
  builder (3.2.2)
63
62
  codeclimate-test-reporter (0.4.8)
64
63
  simplecov (>= 0.7.1, < 1.0.0)
65
- color_pound_spec_reporter (0.0.5)
66
64
  docile (1.1.5)
67
65
  erubis (2.7.0)
68
66
  execjs (2.6.0)
@@ -97,13 +95,6 @@ GEM
97
95
  mime-types (2.6.2)
98
96
  mini_portile (0.6.2)
99
97
  minitest (5.8.0)
100
- minitest-line (0.6.3)
101
- minitest (~> 5.0)
102
- minitest-reporters (1.1.0)
103
- ansi
104
- builder
105
- minitest (>= 5.0)
106
- ruby-progressbar
107
98
  nokogiri (1.6.6.2)
108
99
  mini_portile (~> 0.6.0)
109
100
  rack (1.6.4)
@@ -136,7 +127,6 @@ GEM
136
127
  rake (10.4.2)
137
128
  rdoc (4.2.0)
138
129
  json (~> 1.4)
139
- ruby-progressbar (1.7.5)
140
130
  ruby_parser (3.7.1)
141
131
  sexp_processor (~> 4.1)
142
132
  sass (3.4.18)
@@ -175,11 +165,8 @@ PLATFORMS
175
165
  DEPENDENCIES
176
166
  awesome_print
177
167
  codeclimate-test-reporter
178
- color_pound_spec_reporter
179
168
  factory_girl_rails (~> 4.0)
180
169
  minitest
181
- minitest-line
182
- minitest-reporters
183
170
  rdoc
184
171
  sqlite3
185
172
  ui_bibz!
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ![Ui Bibz logo](http://hummel.link/Ui-Bibz/1.1.7/images/ui-bibz-logo-without-border.gif)
1
+ ![Ui Bibz logo](http://hummel.link/Ui-Bibz/1.2.0/images/ui-bibz-logo-without-border.gif)
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/ui_bibz.svg)](http://badge.fury.io/rb/ui_bibz)
4
4
  [![Build Status](https://travis-ci.org/thooams/Ui-Bibz.svg)](https://travis-ci.org/thooams/Ui-Bibz)
@@ -67,7 +67,7 @@ dans ```options``` et ```html_options```.
67
67
  Ajouter la gem dans Rails :
68
68
 
69
69
  ```
70
- gem "ui_bibz", '~> 1.1.7'
70
+ gem "ui_bibz", '~> 1.2.0'
71
71
  ```
72
72
 
73
73
  Lancer la command suivante :
@@ -126,7 +126,7 @@ _Ps: Vous pouvez utiliser les variables sass présentes dans boostrap._
126
126
 
127
127
  ### Alert
128
128
 
129
- ![alert](http://hummel.link/Ui-Bibz/1.1.7/images/alert.png)
129
+ ![alert](http://hummel.link/Ui-Bibz/1.2.0/images/alert.png)
130
130
 
131
131
  L'élément ```notify``` à pour ```options``` un Hash acceptant les clefs :
132
132
 
@@ -137,11 +137,11 @@ L'élément ```notify``` à pour ```options``` un Hash acceptant les clefs :
137
137
  notify 'Alert', state: :info, glyph: 'eye'
138
138
  ```
139
139
 
140
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Alert.html)
140
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Alert.html)
141
141
 
142
142
  ### Breadcrumb (fil d'ariane)
143
143
 
144
- ![breadcrumb](http://hummel.link/Ui-Bibz/1.1.7/images/breadcrumb.png)
144
+ ![breadcrumb](http://hummel.link/Ui-Bibz/1.2.0/images/breadcrumb.png)
145
145
 
146
146
  L'élément ```breadcrumb``` à pour enfant l'élément ```link``` qui accepte pour option un Hash avec les clefs :
147
147
 
@@ -159,13 +159,13 @@ breadcrumb do |b|
159
159
  end
160
160
  ```
161
161
 
162
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Breadcrumb.html)
162
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Breadcrumb.html)
163
163
 
164
164
  ### Buttons (Boutons)
165
165
 
166
166
  #### Button
167
167
 
168
- ![button](http://hummel.link/Ui-Bibz/1.1.7/images/button.png)
168
+ ![button](http://hummel.link/Ui-Bibz/1.2.0/images/button.png)
169
169
 
170
170
  L'élément ```button``` à pour ```options``` un Hash acceptant les clefs :
171
171
 
@@ -178,14 +178,14 @@ L'élément ```button``` à pour ```options``` un Hash acceptant les clefs :
178
178
  button 'Button', { state: :danger, size: :xs, glyph: 'star' } , { class: 'my-button' }
179
179
  ```
180
180
 
181
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Button.html)
181
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Button.html)
182
182
 
183
183
  #### Button Dropdown
184
184
 
185
185
  L'élément ```button_dropdown``` accepte pour options les mêmes clefs que l'élément
186
186
  [dropdown](#dropdown).
187
187
 
188
- ![button_link](http://hummel.link/Ui-Bibz/1.1.7/images/button_dropdown.png)
188
+ ![button_link](http://hummel.link/Ui-Bibz/1.2.0/images/button_dropdown.png)
189
189
 
190
190
  ```
191
191
  button_dropdown 'Button Dropdown' do |bd|
@@ -198,11 +198,11 @@ button_dropdown 'Button Dropdown' do |bd|
198
198
  end
199
199
  ```
200
200
 
201
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/ButtonLink.html)
201
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/ButtonLink.html)
202
202
 
203
203
  #### Button group
204
204
 
205
- ![button_group](http://hummel.link/Ui-Bibz/1.1.7/images/button_group.png)
205
+ ![button_group](http://hummel.link/Ui-Bibz/1.2.0/images/button_group.png)
206
206
 
207
207
  L'élément ```button_group``` à pour ```options``` un Hash acceptant les clefs :
208
208
 
@@ -234,11 +234,11 @@ button_group do
234
234
  end
235
235
  ```
236
236
 
237
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/ButtonGroup.html)
237
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/ButtonGroup.html)
238
238
 
239
239
  #### Button Link (Lien Bouton)
240
240
 
241
- ![button_link](http://hummel.link/Ui-Bibz/1.1.7/images/button_link.png)
241
+ ![button_link](http://hummel.link/Ui-Bibz/1.2.0/images/button_link.png)
242
242
 
243
243
  L'élément ```button_link``` à pour ```options``` un Hash acceptant les clefs :
244
244
 
@@ -246,11 +246,11 @@ L'élément ```button_link``` à pour ```options``` un Hash acceptant les clefs
246
246
  button_link 'Button', { url: '#button', state: :primary, glyph: 'star' }, { class: 'my-button' }
247
247
  ```
248
248
 
249
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/ButtonLink.html)
249
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/ButtonLink.html)
250
250
 
251
251
  #### Button Split Dropdown
252
252
 
253
- ![button_group](http://hummel.link/Ui-Bibz/1.1.7/images/button_split_dropdown.png)
253
+ ![button_group](http://hummel.link/Ui-Bibz/1.2.0/images/button_split_dropdown.png)
254
254
 
255
255
  L'élément ```button_split_dropdown```accepte pour options les mêmes clefs
256
256
  que l'élément [dropdown](#dropdown).
@@ -267,7 +267,7 @@ button_split_dropdown 'Dropdown', state: :primary do |d|
267
267
  end
268
268
  ```
269
269
 
270
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/ButtonSplitDropdown.html)
270
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/ButtonSplitDropdown.html)
271
271
 
272
272
  ### Dropdown
273
273
 
@@ -304,11 +304,11 @@ d.list '--'
304
304
  ...
305
305
  ```
306
306
 
307
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Dropdown.html)
307
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Dropdown.html)
308
308
 
309
309
  ### Progress Bar
310
310
 
311
- ![glyph](http://hummel.link/Ui-Bibz/1.1.7/images/progress_bar.png)
311
+ ![glyph](http://hummel.link/Ui-Bibz/1.2.0/images/progress_bar.png)
312
312
 
313
313
  L'élément ```progress_bar``` à pour ```options``` un Hash acceptant les clefs :
314
314
 
@@ -336,11 +336,11 @@ progress_bar(tap: true) do |pb|
336
336
  end
337
337
  ```
338
338
 
339
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/ProgressBar.html)
339
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/ProgressBar.html)
340
340
 
341
341
  ### Glyph
342
342
 
343
- ![glyph](http://hummel.link/Ui-Bibz/1.1.7/images/glyph.png)
343
+ ![glyph](http://hummel.link/Ui-Bibz/1.2.0/images/glyph.png)
344
344
 
345
345
  Les glyphs utilisés proviennent de [Font Awesome](http://fontawesome.io/).
346
346
  L'élément ```glyph``` peut contenir un hash pour ```content```
@@ -355,11 +355,11 @@ glyph 'star', { size: 3, type: 'fw' }, class: 'star-exemple'
355
355
  glyph { name: 'star', size: 3, type: 'fw' }
356
356
  ```
357
357
 
358
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Glyph.html)
358
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Glyph.html)
359
359
 
360
360
  ### Stars
361
361
 
362
- ![stars](http://hummel.link/Ui-Bibz/1.1.7/images/stars.png)
362
+ ![stars](http://hummel.link/Ui-Bibz/1.2.0/images/stars.png)
363
363
 
364
364
  L'élément ```stars``` à pour ```options``` un Hash acceptant les clefs :
365
365
 
@@ -376,12 +376,33 @@ stars num: 3 do
376
376
  end
377
377
  ```
378
378
 
379
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Stars.html)
379
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Stars.html)
380
380
 
381
381
 
382
+ ### Modal
383
+
384
+ ![modal](http://hummel.link/Ui-Bibz/1.2.0/images/modal.png)
385
+
386
+ Les éléments ```header```, ```body```, ```footer``` sont des éléments [component](#component).
387
+
388
+ Exemple :
389
+
390
+ ```ruby
391
+
392
+ modal do |m|
393
+ m.header 'Header', glyph: 'eye'
394
+ m.body(class: 'my-body') do
395
+ 'Content body'
396
+ end
397
+ m.footer 'Footer'
398
+ end
399
+ ```
400
+
401
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Modal.html)
402
+
382
403
  ### Panel
383
404
 
384
- ![panel](http://hummel.link/Ui-Bibz/1.1.7/images/panel.png)
405
+ ![panel](http://hummel.link/Ui-Bibz/1.2.0/images/panel.png)
385
406
 
386
407
  L'élément ```panel``` à pour ```options``` un Hash acceptant les clefs :
387
408
 
@@ -408,11 +429,11 @@ panel({ tap: true, state: :danger, table_options: { actionable: true } }, { clas
408
429
  end
409
430
  ```
410
431
 
411
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Panel.html)
432
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Panel.html)
412
433
 
413
434
  ### Table
414
435
 
415
- ![table](http://hummel.link/Ui-Bibz/1.1.7/images/table.png)
436
+ ![table](http://hummel.link/Ui-Bibz/1.2.0/images/table.png)
416
437
 
417
438
  L'élément ```table``` est un tableau composé d'une recherche, une pagination et un trie de colonnes intégrées.
418
439
  Le tableau est compatible [I18n](http://guides.rubyonrails.org/i18n.html).
@@ -448,7 +469,7 @@ searchable_attributes :name_fr, :name_en
448
469
 
449
470
  Un champ recherche est disponible dans la vue :
450
471
 
451
- ![table_search_field](http://hummel.link/Ui-Bibz/1.1.7/images/table_search_field.png)
472
+ ![table_search_field](http://hummel.link/Ui-Bibz/1.2.0/images/table_search_field.png)
452
473
 
453
474
  ```
454
475
  table_search_field store: @documents
@@ -462,7 +483,7 @@ table_pagination store: @documents
462
483
 
463
484
  Un champs select par page est disponible dans la vue :
464
485
 
465
- ![table_search_field](http://hummel.link/Ui-Bibz/1.1.7/images/table_pagination_per_page.png)
486
+ ![table_search_field](http://hummel.link/Ui-Bibz/1.2.0/images/table_pagination_per_page.png)
466
487
 
467
488
  ```
468
489
  table_pagination_per_page store: @documents
@@ -546,6 +567,7 @@ L'ajout de colonnes à travers la méthode ```column``` contient plusieurs argum
546
567
  * format (formate les élements de la colone en utilisant **lambda**)
547
568
  * link (ajoute un lien où l'expression ```:id``` est parsé et remplacé par l'entier correspondant)
548
569
  * sort (permet de trier sur des champs )
570
+ * column_id (permet d'identifier la colonne : peut être utile pour le sort)
549
571
  * custom_sort (indique que le tableau sera triéé d'une manière personnalisée)
550
572
  * html_options (hash)
551
573
 
@@ -711,11 +733,11 @@ activerecord:
711
733
  ...
712
734
  ```
713
735
 
714
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Ux/Table.html)
736
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Ux/Table.html)
715
737
 
716
738
  ### Table Panel
717
739
 
718
- ![table_panel](http://hummel.link/Ui-Bibz/1.1.7/images/table_panel.png)
740
+ ![table_panel](http://hummel.link/Ui-Bibz/1.2.0/images/table_panel.png)
719
741
 
720
742
  Le composant ```table_panel``` est un [tableau](#table) dans un [panel](#panel).
721
743
 
@@ -742,11 +764,11 @@ table_panel({ store: @users, tap: true, glyph: 'home', state: :danger }) do |g|
742
764
  end
743
765
  ```
744
766
 
745
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Ux/TablePanel.html)
767
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Ux/TablePanel.html)
746
768
 
747
769
  ### List
748
770
 
749
- ![list](http://hummel.link/Ui-Bibz/1.1.7/images/list.png)
771
+ ![list](http://hummel.link/Ui-Bibz/1.2.0/images/list.png)
750
772
 
751
773
  Par défaut une liste à pour tag ```<li>```.
752
774
  Mais elle peut se transformer en lien ```<a>``` à travers l'option ```type:```.
@@ -767,11 +789,11 @@ list_group do |lg|
767
789
  end
768
790
  ```
769
791
 
770
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/List.html)
792
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/List.html)
771
793
 
772
794
  ### Nav
773
795
 
774
- ![nav](http://hummel.link/Ui-Bibz/1.1.7/images/nav.png)
796
+ ![nav](http://hummel.link/Ui-Bibz/1.2.0/images/nav.png)
775
797
 
776
798
  Par défaut la navigation comporte des onglets "tab".
777
799
  L'élément ```nav``` accepte en option les arguments :
@@ -791,11 +813,11 @@ nav(type: :pills, position: :justified) do |d|
791
813
  end
792
814
  ```
793
815
 
794
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Nav.html)
816
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Nav.html)
795
817
 
796
818
  ### Navbar
797
819
 
798
- ![navbar](http://hummel.link/Ui-Bibz/1.1.7/images/navbar.png)
820
+ ![navbar](http://hummel.link/Ui-Bibz/1.2.0/images/navbar.png)
799
821
 
800
822
  Par défaut la navigation comporte des onglets "tab".
801
823
  L'élément ```navbar``` accepte en option les arguments :
@@ -826,12 +848,12 @@ navbar(type: :inverse, position: :top) do |nb|
826
848
  end
827
849
  ```
828
850
 
829
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Navbar.html)
851
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Navbar.html)
830
852
 
831
853
 
832
854
  ### Etiquette
833
855
 
834
- ![list](http://hummel.link/Ui-Bibz/1.1.7/images/etiquette.png)
856
+ ![list](http://hummel.link/Ui-Bibz/1.2.0/images/etiquette.png)
835
857
 
836
858
 
837
859
  NB : Les méthodes ```Tag, label``` sont déjà utilisées par Rails.
@@ -848,7 +870,7 @@ etiquette 'label 2', state: :success
848
870
  etiquette 'label 2', state: :danger
849
871
  ```
850
872
 
851
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Etiquette.html)
873
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Etiquette.html)
852
874
 
853
875
  ### Row
854
876
 
@@ -861,7 +883,7 @@ end
861
883
  # => <div class='row toto'>content</div>
862
884
  ```
863
885
 
864
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Content.html)
886
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Content.html)
865
887
 
866
888
  ### Col
867
889
 
@@ -892,7 +914,7 @@ end
892
914
  # => <div class='col-xs-offset-1 col-md-3 test'>content</div>
893
915
  ```
894
916
 
895
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Core/Col.html)
917
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Core/Col.html)
896
918
 
897
919
  ### Grid
898
920
 
@@ -958,7 +980,7 @@ grid do |g|
958
980
  end
959
981
  ```
960
982
 
961
- Voir la [doc](http://hummel.link/Ui-Bibz/1.1.7/UiBibz/Ui/Ux/Grid.html)
983
+ Voir la [doc](http://hummel.link/Ui-Bibz/1.2.0/UiBibz/Ui/Ux/Grid.html)
962
984
 
963
985
  ### Arguments and Values
964
986
 
@@ -1017,6 +1039,7 @@ panel 'Exemple', { state: :success }, { class: 'exemple' }
1017
1039
  * [Ui Bibz v1.1.5](http://hummel.link/Ui-Bibz/1.1.5/index.html)
1018
1040
  * [Ui Bibz v1.1.6](http://hummel.link/Ui-Bibz/1.1.6/index.html)
1019
1041
  * [Ui Bibz v1.1.7](http://hummel.link/Ui-Bibz/1.1.7/index.html)
1042
+ * [Ui Bibz v1.2.0](http://hummel.link/Ui-Bibz/1.2.0/index.html)
1020
1043
 
1021
1044
  # Roadmap
1022
1045