Comparing version 0.1.4 to 0.1.6
{ | ||
"description": "bpui", | ||
"dependencies": { | ||
"@bpui/actionsheet": "0.0.14", | ||
"@bpui/button": "^0.1.7", | ||
"@bpui/checkbox": "^0.1.6", | ||
"@bpui/component-utils": "^0.1.7", | ||
"@bpui/dialog": "^0.1.9", | ||
"@bpui/input": "^0.1.9", | ||
"@bpui/libs": "^0.2.5", | ||
"@bpui/navbar-view": "^0.1.4", | ||
"@bpui/picker": "^0.1.13", | ||
"@bpui/popover": "0.0.12", | ||
"@bpui/radio": "^0.1.5", | ||
"@bpui/switch": "^0.1.5" | ||
"@bpui/actionsheet": "0.0.17", | ||
"@bpui/button": "^0.1.8", | ||
"@bpui/checkbox": "^0.1.7", | ||
"@bpui/dialog": "^0.1.13", | ||
"@bpui/input": "^0.1.10", | ||
"@bpui/libs": "^0.2.6", | ||
"@bpui/navbar-view": "^0.1.5", | ||
"@bpui/picker": "^0.1.16", | ||
"@bpui/popover": "0.0.16", | ||
"@bpui/radio": "^0.1.6", | ||
"@bpui/switch": "^0.1.6" | ||
}, | ||
@@ -44,3 +43,3 @@ "devDependencies": {}, | ||
"name": "bpui.js", | ||
"version": "0.1.4" | ||
"version": "0.1.6" | ||
} |
@@ -11,4 +11,6 @@ 'use strict'; | ||
import Components from './components'; | ||
const SymComponent = Symbol('SymComponent'); | ||
// const SymComponent = Symbol('$BpSymCompon?ent'); | ||
const SymComponent = ('$BpSymComponent'); | ||
export function setComponent(name, com) { | ||
@@ -15,0 +17,0 @@ if (!window[SymComponent]) { |
@@ -13,45 +13,45 @@ 'use strict'; | ||
name: 'navbarView', | ||
style: ()=>require('@bpui/navbar-view/style/_index.scss'), | ||
lib: ()=>require('@bpui/navbar-view'), | ||
style: function() { return require('@bpui/navbar-view/style/_index.scss') }, | ||
lib: function() { return require('@bpui/navbar-view') }, | ||
}, | ||
{ | ||
name: 'checkbox', | ||
style: ()=>require('@bpui/checkbox/style/_index.scss'), | ||
lib: ()=>require('@bpui/checkbox'), | ||
style: function() { return require('@bpui/checkbox/style/_index.scss') }, | ||
lib: function() { return require('@bpui/checkbox') }, | ||
}, | ||
{ | ||
name: 'radio', | ||
style: ()=>require('@bpui/radio/style/_index.scss'), | ||
lib: ()=>require('@bpui/radio'), | ||
style: function() { return require('@bpui/radio/style/_index.scss') }, | ||
lib: function() { return require('@bpui/radio') }, | ||
}, | ||
{ | ||
name: 'switch', | ||
style: ()=>require('@bpui/switch/style/_index.scss'), | ||
lib: ()=>require('@bpui/switch'), | ||
style: function() { return require('@bpui/switch/style/_index.scss') }, | ||
lib: function() { return require('@bpui/switch') }, | ||
}, | ||
{ | ||
name: 'input', | ||
style: ()=>require('@bpui/input/style/_index.scss'), | ||
lib: ()=>require('@bpui/input'), | ||
style: function() { return require('@bpui/input/style/_index.scss') }, | ||
lib: function() { return require('@bpui/input') }, | ||
}, | ||
{ | ||
name: 'dialog', | ||
style: ()=>require('@bpui/dialog/style/_index.scss'), | ||
lib: ()=>require('@bpui/dialog'), | ||
style: function() { return require('@bpui/dialog/style/_index.scss') }, | ||
lib: function() { return require('@bpui/dialog') }, | ||
}, | ||
{ | ||
name: 'picker', | ||
style: ()=>require('@bpui/picker/style/_index.scss'), | ||
lib: ()=>require('@bpui/picker'), | ||
style: function() { return require('@bpui/picker/style/_index.scss') }, | ||
lib: function() { return require('@bpui/picker') }, | ||
}, | ||
{ | ||
name: 'actionsheet', | ||
style: ()=>require('@bpui/actionsheet/style/_index.scss'), | ||
lib: ()=>require('@bpui/actionsheet'), | ||
style: function() { return require('@bpui/actionsheet/style/_index.scss') }, | ||
lib: function() { return require('@bpui/actionsheet') }, | ||
}, | ||
{ | ||
name: 'popover', | ||
style: ()=>require('@bpui/popover/style/_index.scss'), | ||
lib: ()=>require('@bpui/popover'), | ||
style: function() { return require('@bpui/popover/style/_index.scss') }, | ||
lib: function() { return require('@bpui/popover') }, | ||
}, | ||
] |
@@ -6,2 +6,3 @@ | ||
import { getComponent } from './componentInstance'; | ||
var pkg = require('../package.json'); | ||
@@ -24,3 +25,3 @@ function registerApp( | ||
// Thank the user in console. | ||
console.log('%c[bpui] Thanks for visited! 😊', 'font: 18px roboto; color: #e95420;'); | ||
console.log(`%c[bpui v${pkg.version}] Thanks for visited! 😊`, 'color: #e95420;'); | ||
} | ||
@@ -27,0 +28,0 @@ |
@@ -18,5 +18,4 @@ 'use strict'; | ||
// 加载必须加载的库. | ||
(()=>require('@bpui/libs/style/class.scss'))(); | ||
(()=>require('@bpui/button/style/_index.scss'))(); | ||
(()=>require('@bpui/component-utils/style/_index.scss'))(); | ||
(function() { require('@bpui/libs/style/class.scss') })(); | ||
(function() { require('@bpui/button/style/_index.scss') })(); | ||
@@ -29,6 +28,7 @@ // 需要注册. | ||
components = []; | ||
Components.forEach(element => { | ||
for (var i = 0; i < Components.length; i++) { | ||
var element = Components[i]; | ||
components.push(element.name); | ||
loadComponents.push(getComponent(element.name)); | ||
}); | ||
} | ||
} | ||
@@ -35,0 +35,0 @@ |
10129
11
10
248
+ Added@bpui/actionsheet@0.0.17(transitive)
+ Added@bpui/popover@0.0.16(transitive)
+ Addedpostcss@8.5.2(transitive)
- Removed@bpui/component-utils@^0.1.7
- Removed@bpui/actionsheet@0.0.14(transitive)
- Removed@bpui/component-utils@0.1.7(transitive)
- Removed@bpui/popover@0.0.12(transitive)
- Removedbignumber.js@4.1.0(transitive)
- Removedcharenc@0.0.2(transitive)
- Removedcrypt@0.0.2(transitive)
- Removedfebs-browser@0.8.96(transitive)
- Removedis-buffer@1.1.6(transitive)
- Removedmd5@2.3.0(transitive)
- Removedpostcss@8.5.1(transitive)
- Removedsha1@1.1.1(transitive)
Updated@bpui/actionsheet@0.0.17
Updated@bpui/button@^0.1.8
Updated@bpui/checkbox@^0.1.7
Updated@bpui/dialog@^0.1.13
Updated@bpui/input@^0.1.10
Updated@bpui/libs@^0.2.6
Updated@bpui/navbar-view@^0.1.5
Updated@bpui/picker@^0.1.16
Updated@bpui/popover@0.0.16
Updated@bpui/radio@^0.1.6
Updated@bpui/switch@^0.1.6