ui_bibz 2.0.8 → 2.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +48 -55
  3. data/app/assets/javascripts/input-connected.coffee +2 -1
  4. data/app/assets/javascripts/ui_bibz.coffee +9 -1
  5. data/app/assets/stylesheets/fix-bootstrap-4.sass +4 -0
  6. data/app/assets/stylesheets/fix_addon.sass +6 -6
  7. data/app/assets/stylesheets/notifications.sass +7 -0
  8. data/app/assets/stylesheets/ui_bibz.sass +6 -2
  9. data/lib/ui_bibz.rb +2 -0
  10. data/lib/ui_bibz/helpers/ui/core/icons_helper.rb +19 -0
  11. data/lib/ui_bibz/infos.rb +2 -2
  12. data/lib/ui_bibz/rails/engine.rb +5 -2
  13. data/lib/ui_bibz/ui/core/forms/dropdowns/components/dropdown_header.rb +1 -1
  14. data/lib/ui_bibz/ui/core/forms/textareas/markdown_editor_field.rb +1 -1
  15. data/lib/ui_bibz/ui/core/icons/components/glyph_counter.rb +21 -0
  16. data/lib/ui_bibz/ui/core/icons/components/glyph_text.rb +31 -0
  17. data/lib/ui_bibz/ui/core/icons/glyph.rb +11 -2
  18. data/lib/ui_bibz/ui/core/icons/glyph_group.rb +102 -0
  19. data/lib/ui_bibz/ui/core/notifications/components/bar.rb +11 -2
  20. data/lib/ui_bibz/ui/extensions/core/component/glyph_extension.rb +4 -12
  21. data/lib/ui_bibz/utils/glyph_changer.rb +51 -0
  22. data/test/ui/core/icons/glyph_group_test.rb +37 -0
  23. data/ui_bibz.gemspec +0 -1
  24. data/vendor/assets/fonts/fa-brands-400.eot +0 -0
  25. data/vendor/assets/fonts/fa-brands-400.svg +1148 -0
  26. data/vendor/assets/fonts/fa-brands-400.ttf +0 -0
  27. data/vendor/assets/fonts/fa-brands-400.woff +0 -0
  28. data/vendor/assets/fonts/fa-brands-400.woff2 +0 -0
  29. data/vendor/assets/fonts/fa-regular-400.eot +0 -0
  30. data/vendor/assets/fonts/fa-regular-400.svg +467 -0
  31. data/vendor/assets/fonts/fa-regular-400.ttf +0 -0
  32. data/vendor/assets/fonts/fa-regular-400.woff +0 -0
  33. data/vendor/assets/fonts/fa-regular-400.woff2 +0 -0
  34. data/vendor/assets/fonts/fa-solid-900.eot +0 -0
  35. data/vendor/assets/fonts/fa-solid-900.svg +2312 -0
  36. data/vendor/assets/fonts/fa-solid-900.ttf +0 -0
  37. data/vendor/assets/fonts/fa-solid-900.woff +0 -0
  38. data/vendor/assets/fonts/fa-solid-900.woff2 +0 -0
  39. data/vendor/assets/javascripts/all.js +5 -0
  40. data/vendor/assets/javascripts/bootstrap-markdown.js +159 -56
  41. data/vendor/assets/stylesheets/fontawesome/_animated.scss +20 -0
  42. data/vendor/assets/stylesheets/fontawesome/_bordered-pulled.scss +20 -0
  43. data/vendor/assets/stylesheets/fontawesome/_core.scss +16 -0
  44. data/vendor/assets/stylesheets/fontawesome/_fixed-width.scss +6 -0
  45. data/vendor/assets/stylesheets/fontawesome/_icons.scss +1114 -0
  46. data/vendor/assets/stylesheets/fontawesome/_larger.scss +23 -0
  47. data/vendor/assets/stylesheets/fontawesome/_list.scss +18 -0
  48. data/vendor/assets/stylesheets/fontawesome/_mixins.scss +57 -0
  49. data/vendor/assets/stylesheets/fontawesome/_rotated-flipped.scss +23 -0
  50. data/vendor/assets/stylesheets/fontawesome/_screen-reader.scss +5 -0
  51. data/vendor/assets/stylesheets/fontawesome/_shims.scss +2066 -0
  52. data/vendor/assets/stylesheets/fontawesome/_stacked.scss +31 -0
  53. data/vendor/assets/stylesheets/fontawesome/_variables.scss +1127 -0
  54. data/vendor/assets/stylesheets/fontawesome/fa-brands.scss +17 -0
  55. data/vendor/assets/stylesheets/fontawesome/fa-regular.scss +18 -0
  56. data/vendor/assets/stylesheets/fontawesome/fa-solid.scss +19 -0
  57. data/vendor/assets/stylesheets/fontawesome/fontawesome.scss +16 -0
  58. data/vendor/assets/stylesheets/fontawesome/v4-shims.scss +6 -0
  59. data/vendor/assets/stylesheets/svg-with-js.css +5 -0
  60. metadata +43 -16
@@ -0,0 +1,17 @@
1
+ @import 'variables';
2
+
3
+ @font-face {
4
+ font-family: 'Font Awesome 5 Brands';
5
+ font-style: normal;
6
+ font-weight: normal;
7
+ src: url('#{$fa-font-path}/fa-brands-400.eot');
8
+ src: url('#{$fa-font-path}/fa-brands-400.eot?#iefix') format('embedded-opentype'),
9
+ url('#{$fa-font-path}/fa-brands-400.woff2') format('woff2'),
10
+ url('#{$fa-font-path}/fa-brands-400.woff') format('woff'),
11
+ url('#{$fa-font-path}/fa-brands-400.ttf') format('truetype'),
12
+ url('#{$fa-font-path}/fa-brands-400.svg#fontawesome') format('svg');
13
+ }
14
+
15
+ .fab {
16
+ font-family: 'Font Awesome 5 Brands';
17
+ }
@@ -0,0 +1,18 @@
1
+ @import 'variables';
2
+
3
+ @font-face {
4
+ font-family: 'Font Awesome 5 Free';
5
+ font-style: normal;
6
+ font-weight: 400;
7
+ src: url('#{$fa-font-path}/fa-regular-400.eot');
8
+ src: url('#{$fa-font-path}/fa-regular-400.eot?#iefix') format('embedded-opentype'),
9
+ url('#{$fa-font-path}/fa-regular-400.woff2') format('woff2'),
10
+ url('#{$fa-font-path}/fa-regular-400.woff') format('woff'),
11
+ url('#{$fa-font-path}/fa-regular-400.ttf') format('truetype'),
12
+ url('#{$fa-font-path}/fa-regular-400.svg#fontawesome') format('svg');
13
+ }
14
+
15
+ .far {
16
+ font-family: 'Font Awesome 5 Free';
17
+ font-weight: 400;
18
+ }
@@ -0,0 +1,19 @@
1
+ @import 'variables';
2
+
3
+ @font-face {
4
+ font-family: 'Font Awesome 5 Free';
5
+ font-style: normal;
6
+ font-weight: 900;
7
+ src: url('#{$fa-font-path}/fa-solid-900.eot');
8
+ src: url('#{$fa-font-path}/fa-solid-900.eot?#iefix') format('embedded-opentype'),
9
+ url('#{$fa-font-path}/fa-solid-900.woff2') format('woff2'),
10
+ url('#{$fa-font-path}/fa-solid-900.woff') format('woff'),
11
+ url('#{$fa-font-path}/fa-solid-900.ttf') format('truetype'),
12
+ url('#{$fa-font-path}/fa-solid-900.svg#fontawesome') format('svg');
13
+ }
14
+
15
+ .fa,
16
+ .fas {
17
+ font-family: 'Font Awesome 5 Free';
18
+ font-weight: 900;
19
+ }
@@ -0,0 +1,16 @@
1
+ /*!
2
+ * Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com
3
+ * License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
+ */
5
+ @import 'variables';
6
+ @import 'mixins';
7
+ @import 'core';
8
+ @import 'larger';
9
+ @import 'fixed-width';
10
+ @import 'list';
11
+ @import 'bordered-pulled';
12
+ @import 'animated';
13
+ @import 'rotated-flipped';
14
+ @import 'stacked';
15
+ @import 'icons';
16
+ @import 'screen-reader';
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Font Awesome Free 5.1.0 by @fontawesome - https://fontawesome.com
3
+ * License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
+ */
5
+ @import 'variables';
6
+ @import 'shims';
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Font Awesome Free 5.2.0 by @fontawesome - https://fontawesome.com
3
+ * License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
+ */
5
+ .svg-inline--fa,svg:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg{vertical-align:-.225em}.svg-inline--fa.fa-w-1{width:.0625em}.svg-inline--fa.fa-w-2{width:.125em}.svg-inline--fa.fa-w-3{width:.1875em}.svg-inline--fa.fa-w-4{width:.25em}.svg-inline--fa.fa-w-5{width:.3125em}.svg-inline--fa.fa-w-6{width:.375em}.svg-inline--fa.fa-w-7{width:.4375em}.svg-inline--fa.fa-w-8{width:.5em}.svg-inline--fa.fa-w-9{width:.5625em}.svg-inline--fa.fa-w-10{width:.625em}.svg-inline--fa.fa-w-11{width:.6875em}.svg-inline--fa.fa-w-12{width:.75em}.svg-inline--fa.fa-w-13{width:.8125em}.svg-inline--fa.fa-w-14{width:.875em}.svg-inline--fa.fa-w-15{width:.9375em}.svg-inline--fa.fa-w-16{width:1em}.svg-inline--fa.fa-w-17{width:1.0625em}.svg-inline--fa.fa-w-18{width:1.125em}.svg-inline--fa.fa-w-19{width:1.1875em}.svg-inline--fa.fa-w-20{width:1.25em}.svg-inline--fa.fa-pull-left{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right{margin-left:.3em;width:auto}.svg-inline--fa.fa-border{height:1.5em}.svg-inline--fa.fa-li{width:2em}.svg-inline--fa.fa-fw{width:1.25em}.fa-layers svg.svg-inline--fa{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers svg.svg-inline--fa{transform-origin:center center}.fa-layers-counter,.fa-layers-text{display:inline-block;position:absolute;text-align:center}.fa-layers-text{left:50%;top:50%;transform:translate(-50%,-50%);transform-origin:center center}.fa-layers-counter{background-color:#ff253a;border-radius:1em;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;transform:scale(.25);transform-origin:top right}.fa-layers-bottom-right{bottom:0;right:0;top:auto;transform:scale(.25);transform-origin:bottom right}.fa-layers-bottom-left{bottom:0;left:0;right:auto;top:auto;transform:scale(.25);transform-origin:bottom left}.fa-layers-top-right{right:0;top:0;transform:scale(.25);transform-origin:top right}.fa-layers-top-left{left:0;right:auto;top:0;transform:scale(.25);transform-origin:top left}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{animation:a 2s infinite linear}.fa-pulse{animation:a 1s infinite steps(8)}@keyframes a{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";transform:scaleX(-1)}.fa-flip-vertical{transform:scaleY(-1)}.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-horizontal.fa-flip-vertical{transform:scale(-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;position:relative;width:2em}.fa-stack-1x,.fa-stack-2x{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x{height:1em;width:1em}.svg-inline--fa.fa-stack-2x{height:2em;width:2em}.fa-inverse{color:#fff}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}
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.8
4
+ version: 2.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thooams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-20 00:00:00.000000000 Z
11
+ date: 2018-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -122,20 +122,6 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: 5.0.0
125
- - !ruby/object:Gem::Dependency
126
- name: font-awesome-sass
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - '='
130
- - !ruby/object:Gem::Version
131
- version: 5.0.13
132
- type: :runtime
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - '='
137
- - !ruby/object:Gem::Version
138
- version: 5.0.13
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: bootstrap
141
127
  requirement: !ruby/object:Gem::Requirement
@@ -359,7 +345,10 @@ files:
359
345
  - lib/ui_bibz/ui/core/forms/textareas/markdown_editor_field.rb
360
346
  - lib/ui_bibz/ui/core/forms/texts/auto_complete_field.rb
361
347
  - lib/ui_bibz/ui/core/forms/texts/text_field.rb
348
+ - lib/ui_bibz/ui/core/icons/components/glyph_counter.rb
349
+ - lib/ui_bibz/ui/core/icons/components/glyph_text.rb
362
350
  - lib/ui_bibz/ui/core/icons/glyph.rb
351
+ - lib/ui_bibz/ui/core/icons/glyph_group.rb
363
352
  - lib/ui_bibz/ui/core/icons/star.rb
364
353
  - lib/ui_bibz/ui/core/layouts/col.rb
365
354
  - lib/ui_bibz/ui/core/layouts/container.rb
@@ -424,6 +413,7 @@ files:
424
413
  - lib/ui_bibz/ui/ux/tables/table_pagination.rb
425
414
  - lib/ui_bibz/ui/ux/tables/table_pagination_per_page.rb
426
415
  - lib/ui_bibz/ui/ux/tables/table_search_field.rb
416
+ - lib/ui_bibz/utils/glyph_changer.rb
427
417
  - lib/ui_bibz/utils/internationalization.rb
428
418
  - lib/ui_bibz/utils/screwdriver.rb
429
419
  - structure.md
@@ -506,6 +496,7 @@ files:
506
496
  - test/ui/core/forms/textareas/markdown_editor_field_test.rb
507
497
  - test/ui/core/forms/texts/auto_complete_field_test.rb
508
498
  - test/ui/core/forms/texts/text_field_test.rb
499
+ - test/ui/core/icons/glyph_group_test.rb
509
500
  - test/ui/core/icons/glyph_test.rb
510
501
  - test/ui/core/icons/star_test.rb
511
502
  - test/ui/core/layouts/col_test.rb
@@ -526,7 +517,23 @@ files:
526
517
  - test/ui/ux/tables/table_test.rb
527
518
  - test/ui_bibz_test.rb
528
519
  - ui_bibz.gemspec
520
+ - vendor/assets/fonts/fa-brands-400.eot
521
+ - vendor/assets/fonts/fa-brands-400.svg
522
+ - vendor/assets/fonts/fa-brands-400.ttf
523
+ - vendor/assets/fonts/fa-brands-400.woff
524
+ - vendor/assets/fonts/fa-brands-400.woff2
525
+ - vendor/assets/fonts/fa-regular-400.eot
526
+ - vendor/assets/fonts/fa-regular-400.svg
527
+ - vendor/assets/fonts/fa-regular-400.ttf
528
+ - vendor/assets/fonts/fa-regular-400.woff
529
+ - vendor/assets/fonts/fa-regular-400.woff2
530
+ - vendor/assets/fonts/fa-solid-900.eot
531
+ - vendor/assets/fonts/fa-solid-900.svg
532
+ - vendor/assets/fonts/fa-solid-900.ttf
533
+ - vendor/assets/fonts/fa-solid-900.woff
534
+ - vendor/assets/fonts/fa-solid-900.woff2
529
535
  - vendor/assets/images/switch.png
536
+ - vendor/assets/javascripts/all.js
530
537
  - vendor/assets/javascripts/bootstrap-datepicker.min.js
531
538
  - vendor/assets/javascripts/bootstrap-markdown.js
532
539
  - vendor/assets/javascripts/bootstrap-multiselect.min.js
@@ -547,9 +554,28 @@ files:
547
554
  - vendor/assets/stylesheets/bootstrap-select.min.css
548
555
  - vendor/assets/stylesheets/bootstrap-switch.min.css
549
556
  - vendor/assets/stylesheets/bootstrap-theme.min.css
557
+ - vendor/assets/stylesheets/fontawesome/_animated.scss
558
+ - vendor/assets/stylesheets/fontawesome/_bordered-pulled.scss
559
+ - vendor/assets/stylesheets/fontawesome/_core.scss
560
+ - vendor/assets/stylesheets/fontawesome/_fixed-width.scss
561
+ - vendor/assets/stylesheets/fontawesome/_icons.scss
562
+ - vendor/assets/stylesheets/fontawesome/_larger.scss
563
+ - vendor/assets/stylesheets/fontawesome/_list.scss
564
+ - vendor/assets/stylesheets/fontawesome/_mixins.scss
565
+ - vendor/assets/stylesheets/fontawesome/_rotated-flipped.scss
566
+ - vendor/assets/stylesheets/fontawesome/_screen-reader.scss
567
+ - vendor/assets/stylesheets/fontawesome/_shims.scss
568
+ - vendor/assets/stylesheets/fontawesome/_stacked.scss
569
+ - vendor/assets/stylesheets/fontawesome/_variables.scss
570
+ - vendor/assets/stylesheets/fontawesome/fa-brands.scss
571
+ - vendor/assets/stylesheets/fontawesome/fa-regular.scss
572
+ - vendor/assets/stylesheets/fontawesome/fa-solid.scss
573
+ - vendor/assets/stylesheets/fontawesome/fontawesome.scss
574
+ - vendor/assets/stylesheets/fontawesome/v4-shims.scss
550
575
  - vendor/assets/stylesheets/jquery-ui.css
551
576
  - vendor/assets/stylesheets/jquery-ui.min.css
552
577
  - vendor/assets/stylesheets/jquery.multi-select.min.css
578
+ - vendor/assets/stylesheets/svg-with-js.css
553
579
  - vendor/assets/stylesheets/tether.min.css
554
580
  homepage: http://thooams.github.io/Ui-Bibz/
555
581
  licenses:
@@ -657,6 +683,7 @@ test_files:
657
683
  - test/ui/core/forms/textareas/markdown_editor_field_test.rb
658
684
  - test/ui/core/forms/texts/auto_complete_field_test.rb
659
685
  - test/ui/core/forms/texts/text_field_test.rb
686
+ - test/ui/core/icons/glyph_group_test.rb
660
687
  - test/ui/core/icons/glyph_test.rb
661
688
  - test/ui/core/icons/star_test.rb
662
689
  - test/ui/core/layouts/col_test.rb