mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	feat: #8734, move bootstrap-tagsinput to package.json
This commit is contained in:
		| @@ -29,6 +29,7 @@ | |||||||
|         ] |         ] | ||||||
|     }, |     }, | ||||||
|     "dependencies": { |     "dependencies": { | ||||||
|  |         "@adactive/bootstrap-tagsinput": "^0.8.2", | ||||||
|         "ace-builds": "^1.4.9", |         "ace-builds": "^1.4.9", | ||||||
|         "archiver": "^5.0.0", |         "archiver": "^5.0.0", | ||||||
|         "async": "^3.2.0", |         "async": "^3.2.0", | ||||||
|   | |||||||
| @@ -1,60 +0,0 @@ | |||||||
| /* |  | ||||||
|  * bootstrap-tagsinput v0.8.0 |  | ||||||
|  * |  | ||||||
|  */ |  | ||||||
|  |  | ||||||
| .bootstrap-tagsinput { |  | ||||||
|   background-color: #fff; |  | ||||||
|   border: 1px solid #ccc; |  | ||||||
|   box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); |  | ||||||
|   display: inline-block; |  | ||||||
|   padding: 4px 6px; |  | ||||||
|   color: #555; |  | ||||||
|   vertical-align: middle; |  | ||||||
|   border-radius: 4px; |  | ||||||
|   max-width: 100%; |  | ||||||
|   line-height: 22px; |  | ||||||
|   cursor: text; |  | ||||||
| } |  | ||||||
| .bootstrap-tagsinput input { |  | ||||||
|   border: none; |  | ||||||
|   box-shadow: none; |  | ||||||
|   outline: none; |  | ||||||
|   background-color: transparent; |  | ||||||
|   padding: 0 6px; |  | ||||||
|   margin: 0; |  | ||||||
|   width: auto; |  | ||||||
|   max-width: inherit; |  | ||||||
| } |  | ||||||
| .bootstrap-tagsinput.form-control input::-moz-placeholder { |  | ||||||
|   color: #777; |  | ||||||
|   opacity: 1; |  | ||||||
| } |  | ||||||
| .bootstrap-tagsinput.form-control input:-ms-input-placeholder { |  | ||||||
|   color: #777; |  | ||||||
| } |  | ||||||
| .bootstrap-tagsinput.form-control input::-webkit-input-placeholder { |  | ||||||
|   color: #777; |  | ||||||
| } |  | ||||||
| .bootstrap-tagsinput input:focus { |  | ||||||
|   border: none; |  | ||||||
|   box-shadow: none; |  | ||||||
| } |  | ||||||
| .bootstrap-tagsinput .tag { |  | ||||||
|   margin-right: 2px; |  | ||||||
|   color: white; |  | ||||||
| } |  | ||||||
| .bootstrap-tagsinput .tag [data-role="remove"] { |  | ||||||
|   margin-left: 8px; |  | ||||||
|   cursor: pointer; |  | ||||||
| } |  | ||||||
| .bootstrap-tagsinput .tag [data-role="remove"]:after { |  | ||||||
|   content: "x"; |  | ||||||
|   padding: 0px 2px; |  | ||||||
| } |  | ||||||
| .bootstrap-tagsinput .tag [data-role="remove"]:hover { |  | ||||||
|   box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); |  | ||||||
| } |  | ||||||
| .bootstrap-tagsinput .tag [data-role="remove"]:hover:active { |  | ||||||
|   box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); |  | ||||||
| } |  | ||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -25,7 +25,7 @@ var buildImports = { | |||||||
| 		return '@import "./theme";\n' + source + '\n' + [ | 		return '@import "./theme";\n' + source + '\n' + [ | ||||||
| 			'@import "font-awesome";', | 			'@import "font-awesome";', | ||||||
| 			'@import "../../public/less/jquery-ui.less";', | 			'@import "../../public/less/jquery-ui.less";', | ||||||
| 			'@import (inline) "../public/vendor/jquery/bootstrap-tagsinput/bootstrap-tagsinput.css";', | 			'@import (inline) "../node_modules/@adactive/bootstrap-tagsinput/src/bootstrap-tagsinput.css";', | ||||||
| 			'@import (inline) "../node_modules/cropperjs/dist/cropper.css";', | 			'@import (inline) "../node_modules/cropperjs/dist/cropper.css";', | ||||||
| 			'@import "../../public/less/flags.less";', | 			'@import "../../public/less/flags.less";', | ||||||
| 			'@import "../../public/less/generics.less";', | 			'@import "../../public/less/generics.less";', | ||||||
| @@ -42,7 +42,7 @@ var buildImports = { | |||||||
| 			'@import "../public/less/admin/admin";', | 			'@import "../public/less/admin/admin";', | ||||||
| 			'@import "../public/less/generics.less";', | 			'@import "../public/less/generics.less";', | ||||||
| 			'@import "../../public/less/jquery-ui.less";', | 			'@import "../../public/less/jquery-ui.less";', | ||||||
| 			'@import (inline) "../public/vendor/jquery/bootstrap-tagsinput/bootstrap-tagsinput.css";', | 			'@import (inline) "../node_modules/@adactive/bootstrap-tagsinput/src/bootstrap-tagsinput.css";', | ||||||
| 			'@import (inline) "../public/vendor/mdl/material.css";', | 			'@import (inline) "../public/vendor/mdl/material.css";', | ||||||
| 		].map(function (str) { | 		].map(function (str) { | ||||||
| 			return str.replace(/\//g, path.sep); | 			return str.replace(/\//g, path.sep); | ||||||
|   | |||||||
| @@ -32,12 +32,13 @@ JS.scripts = { | |||||||
| 		'node_modules/textcomplete.contenteditable/dist/textcomplete.codemirror.min.js', | 		'node_modules/textcomplete.contenteditable/dist/textcomplete.codemirror.min.js', | ||||||
| 		'node_modules/visibilityjs/lib/visibility.core.js', | 		'node_modules/visibilityjs/lib/visibility.core.js', | ||||||
| 		'node_modules/bootstrap/dist/js/bootstrap.js', | 		'node_modules/bootstrap/dist/js/bootstrap.js', | ||||||
| 		'public/vendor/jquery/bootstrap-tagsinput/bootstrap-tagsinput.min.js', | 		'node_modules/@adactive/bootstrap-tagsinput/src/bootstrap-tagsinput.js', | ||||||
|  | 		'node_modules/benchpressjs/build/benchpress.js', | ||||||
|  | 		'node_modules/jquery-serializeobject/jquery.serializeObject.js', | ||||||
|  |  | ||||||
| 		'public/vendor/bootbox/wrapper.js', | 		'public/vendor/bootbox/wrapper.js', | ||||||
| 		'public/vendor/xregexp/xregexp.js', | 		'public/vendor/xregexp/xregexp.js', | ||||||
| 		'public/vendor/xregexp/unicode/unicode-base.js', | 		'public/vendor/xregexp/unicode/unicode-base.js', | ||||||
| 		'node_modules/benchpressjs/build/benchpress.js', |  | ||||||
| 		'node_modules/jquery-serializeobject/jquery.serializeObject.js', |  | ||||||
| 		'public/src/utils.js', | 		'public/src/utils.js', | ||||||
| 		'public/src/sockets.js', | 		'public/src/sockets.js', | ||||||
| 		'public/src/app.js', | 		'public/src/app.js', | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user