ui_bibz 2.0.0.alpha12 → 2.0.0.alpha13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTORS.md +2 -1
- data/Gemfile.lock +62 -56
- data/app/assets/javascripts/ui_bibz.coffee +4 -0
- data/app/assets/stylesheets/ui_bibz.sass +2 -0
- data/app/inputs/custom_inputs/markdown_editor_input.rb +11 -0
- data/lib/ui_bibz.rb +1 -0
- data/lib/ui_bibz/helpers/ui_core_helper.rb +4 -0
- data/lib/ui_bibz/ui/core/input/autocomplete_field.rb +1 -1
- data/lib/ui_bibz/ui/core/input/date_picker_field.rb +1 -1
- data/lib/ui_bibz/ui/core/input/dropdown_select_field.rb +1 -1
- data/lib/ui_bibz/ui/core/input/formula_field.rb +1 -1
- data/lib/ui_bibz/ui/core/input/markdown_editor_field.rb +112 -0
- data/lib/ui_bibz/ui/core/input/multi_column_field.rb +1 -1
- data/lib/ui_bibz/ui/core/input/multi_select_field.rb +1 -1
- data/lib/ui_bibz/ui/core/input/surround_field.rb +1 -1
- data/lib/ui_bibz/ui/core/list/components/list.rb +1 -1
- data/lib/ui_bibz/version.rb +1 -1
- data/test/dummy/config/environments/test.rb +2 -2
- data/test/ui/inputs_test.rb +8 -0
- data/vendor/assets/javascripts/bootstrap-markdown.js +1470 -0
- data/vendor/assets/javascripts/marked.js +1272 -0
- data/vendor/assets/javascripts/to-markdown.js +785 -0
- data/vendor/assets/stylesheets/bootstrap-markdown.min.css +1 -0
- metadata +8 -2
@@ -0,0 +1 @@
|
|
1
|
+
.md-editor{display:block;border:1px solid #ddd}.md-editor .md-footer,.md-editor>.md-header{display:block;padding:6px 4px;background:#f5f5f5}.md-editor>.md-header{margin:0}.md-editor>.md-preview{background:#fff;border-top:1px dashed #ddd;border-bottom:1px dashed #ddd;min-height:10px;overflow:auto}.md-editor>textarea{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:14px;outline:0;margin:0;display:block;padding:0;width:100%;border:0;border-top:1px dashed #ddd;border-bottom:1px dashed #ddd;border-radius:0;box-shadow:none;background:#eee}.md-editor>textarea:focus{box-shadow:none;background:#fff}.md-editor.active{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.md-editor .md-controls{float:right;padding:3px}.md-editor .md-controls .md-control{right:5px;color:#bebebe;padding:3px 3px 3px 10px}.md-editor .md-controls .md-control:hover{color:#333}.md-editor.md-fullscreen-mode{width:100%;height:100%;position:fixed;top:0;left:0;z-index:99999;padding:60px 30px 15px;background:#fff!important;border:0!important}.md-editor.md-fullscreen-mode .md-footer{display:none}.md-editor.md-fullscreen-mode .md-input,.md-editor.md-fullscreen-mode .md-preview{margin:0 auto!important;height:100%!important;font-size:20px!important;padding:20px!important;color:#999;line-height:1.6em!important;resize:none!important;box-shadow:none!important;background:#fff!important;border:0!important}.md-editor.md-fullscreen-mode .md-preview{color:#333;overflow:auto}.md-editor.md-fullscreen-mode .md-input:focus,.md-editor.md-fullscreen-mode .md-input:hover{color:#333;background:#fff!important}.md-editor.md-fullscreen-mode .md-header{background:0 0;text-align:center;position:fixed;width:100%;top:20px}.md-editor.md-fullscreen-mode .btn-group{float:none}.md-editor.md-fullscreen-mode .btn{border:0;background:0 0;color:#b3b3b3}.md-editor.md-fullscreen-mode .btn.active,.md-editor.md-fullscreen-mode .btn:active,.md-editor.md-fullscreen-mode .btn:focus,.md-editor.md-fullscreen-mode .btn:hover{box-shadow:none;color:#333}.md-editor.md-fullscreen-mode .md-fullscreen-controls{position:absolute;top:20px;right:20px;text-align:right;z-index:1002;display:block}.md-editor.md-fullscreen-mode .md-fullscreen-controls a{color:#b3b3b3;clear:right;margin:10px;width:30px;height:30px;text-align:center}.md-editor.md-fullscreen-mode .md-fullscreen-controls a:hover{color:#333;text-decoration:none}.md-editor.md-fullscreen-mode .md-editor{height:100%!important;position:relative}.md-editor .md-fullscreen-controls{display:none}.md-nooverflow{overflow:hidden;position:fixed;width:100%}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ui_bibz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.alpha13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thooams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -250,6 +250,7 @@ files:
|
|
250
250
|
- app/inputs/custom_inputs/date_picker_input.rb
|
251
251
|
- app/inputs/custom_inputs/dropdown_select_input.rb
|
252
252
|
- app/inputs/custom_inputs/formula_input.rb
|
253
|
+
- app/inputs/custom_inputs/markdown_editor_input.rb
|
253
254
|
- app/inputs/custom_inputs/multi_column_input.rb
|
254
255
|
- app/inputs/custom_inputs/multi_select_input.rb
|
255
256
|
- app/inputs/custom_inputs/surround_input.rb
|
@@ -295,6 +296,7 @@ files:
|
|
295
296
|
- lib/ui_bibz/ui/core/input/date_picker_field.rb
|
296
297
|
- lib/ui_bibz/ui/core/input/dropdown_select_field.rb
|
297
298
|
- lib/ui_bibz/ui/core/input/formula_field.rb
|
299
|
+
- lib/ui_bibz/ui/core/input/markdown_editor_field.rb
|
298
300
|
- lib/ui_bibz/ui/core/input/multi_column_field.rb
|
299
301
|
- lib/ui_bibz/ui/core/input/multi_select_field.rb
|
300
302
|
- lib/ui_bibz/ui/core/input/surround_field.rb
|
@@ -412,6 +414,7 @@ files:
|
|
412
414
|
- ui_bibz.gemspec
|
413
415
|
- vendor/assets/images/switch.png
|
414
416
|
- vendor/assets/javascripts/bootstrap-datepicker.min.js
|
417
|
+
- vendor/assets/javascripts/bootstrap-markdown.js
|
415
418
|
- vendor/assets/javascripts/bootstrap-multiselect.min.js
|
416
419
|
- vendor/assets/javascripts/bootstrap-select.js.map
|
417
420
|
- vendor/assets/javascripts/bootstrap-select.min.js
|
@@ -419,8 +422,11 @@ files:
|
|
419
422
|
- vendor/assets/javascripts/jquery-2.1.4.min.js
|
420
423
|
- vendor/assets/javascripts/jquery.multi-select.min.js
|
421
424
|
- vendor/assets/javascripts/jquery.quicksearch.min.js
|
425
|
+
- vendor/assets/javascripts/marked.js
|
422
426
|
- vendor/assets/javascripts/tether.min.js
|
427
|
+
- vendor/assets/javascripts/to-markdown.js
|
423
428
|
- vendor/assets/stylesheets/bootstrap-datepicker3.min.css
|
429
|
+
- vendor/assets/stylesheets/bootstrap-markdown.min.css
|
424
430
|
- vendor/assets/stylesheets/bootstrap-multiselect.min.css
|
425
431
|
- vendor/assets/stylesheets/bootstrap-select.min.css
|
426
432
|
- vendor/assets/stylesheets/bootstrap-switch.min.css
|