custom-bootstrap-vue
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -9,3 +9,3 @@ const { resolve } = require('path') | ||
// Path to index file when using bootstrap-vue source code | ||
const srcIndex = 'bootstrap-vue/src/index.js' | ||
const srcIndex = 'custom-bootstrap-vue/src/index.js' | ||
@@ -55,3 +55,3 @@ // --- Utility methods --- | ||
// Add BootstrapVue CSS | ||
this.options.css.unshift('bootstrap-vue/dist/bootstrap-vue.css') | ||
this.options.css.unshift('custom-bootstrap-vue/dist/custom-bootstrap-vue.css') | ||
} | ||
@@ -91,3 +91,3 @@ | ||
// Enable transpilation of `src/` directory | ||
this.options.build.transpile.push('bootstrap-vue/src') | ||
this.options.build.transpile.push('custom-bootstrap-vue/src') | ||
@@ -107,7 +107,7 @@ // Use pre-transpiled or `src/` | ||
// `import from 'bootstrap-vue'` not `import from 'bootstrap-vue/*'` | ||
config.resolve.alias['bootstrap-vue$'] = index | ||
config.resolve.alias['custom-bootstrap-vue$'] = index | ||
// If users are still cherry-picking modules from esm/ or es/ (legacy), | ||
// alias them to src/ to prevent duplicate code imports | ||
config.resolve.alias['bootstrap-vue/esm/'] = srcDir | ||
config.resolve.alias['bootstrap-vue/es/'] = srcDir | ||
config.resolve.alias['custom-bootstrap-vue/esm/'] = srcDir | ||
config.resolve.alias['custom-bootstrap-vue/es/'] = srcDir | ||
}) | ||
@@ -183,3 +183,3 @@ } | ||
src: resolve(__dirname, 'plugin.template.js'), | ||
fileName: 'bootstrap-vue.js', | ||
fileName: 'custom-bootstrap-vue.js', | ||
options: templateOptions | ||
@@ -186,0 +186,0 @@ }) |
@@ -5,3 +5,3 @@ import Vue from 'vue'; | ||
<% if (options.icons) { %> | ||
import { BootstrapVue, BootstrapVueIcons } from 'bootstrap-vue'; | ||
import { BootstrapVue, BootstrapVueIcons } from 'custom-bootstrap-vue'; | ||
@@ -11,3 +11,3 @@ Vue.use(BootstrapVue, <%= JSON.stringify(options.config || {}, undefined, 2) %>); | ||
<% } else { %> | ||
import { BootstrapVue } from 'bootstrap-vue'; | ||
import { BootstrapVue } from 'custom-bootstrap-vue'; | ||
@@ -27,3 +27,3 @@ Vue.use(BootstrapVue, <%= JSON.stringify(options.config || {}, undefined, 2) %>); | ||
).filter(Boolean).join(',\n ') %> | ||
} from 'bootstrap-vue'; | ||
} from 'custom-bootstrap-vue'; | ||
@@ -30,0 +30,0 @@ <% if (options.config) { %> |
{ | ||
"name": "custom-bootstrap-vue", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Custom version of bootstrap-vue created for providing specific theme to a particular project", | ||
"main": "dist/bootstrap-vue.common.js", | ||
"web": "dist/bootstrap-vue.js", | ||
"main": "dist/custom-bootstrap-vue.common.js", | ||
"web": "dist/custom-bootstrap-vue.js", | ||
"module": "esm/index.js", | ||
@@ -11,3 +11,3 @@ "jsnext:main": "esm/index.js", | ||
"sass": "src/index.scss", | ||
"style": "dist/bootstrap-vue.css", | ||
"style": "dist/custom-bootstrap-vue.css", | ||
"types": "src/index.d.ts", | ||
@@ -19,3 +19,3 @@ "web-types": "dist/web-types.json", | ||
}, | ||
"author":{ | ||
"author": { | ||
"name": "Nilay Sharma", | ||
@@ -22,0 +22,0 @@ "email": "nilaysharma642@gmail.com" |
{ | ||
"name": "@bootstrap-vue/alert", | ||
"name": "@custom-bootstrap-vue/alert", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/aspect", | ||
"name": "@custom-bootstrap-vue/aspect", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/avatar", | ||
"name": "@custom-bootstrap-vue/avatar", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/badge", | ||
"name": "@custom-bootstrap-vue/badge", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/breadcrumb", | ||
"name": "@custom-bootstrap-vue/breadcrumb", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/button-group", | ||
"name": "@custom-bootstrap-vue/button-group", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/button-toolbar", | ||
"name": "@custom-bootstrap-vue/button-toolbar", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/button", | ||
"name": "@custom-bootstrap-vue/button", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/calendar", | ||
"name": "@custom-bootstrap-vue/calendar", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/card", | ||
"name": "@custom-bootstrap-vue/card", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/carousel", | ||
"name": "@custom-bootstrap-vue/carousel", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/collapse", | ||
"name": "@custom-bootstrap-vue/collapse", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/dropdown", | ||
"name": "@custom-bootstrap-vue/dropdown", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/embed", | ||
"name": "@custom-bootstrap-vue/embed", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/form-checkbox", | ||
"name": "@custom-bootstrap-vue/form-checkbox", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/form-datepicker", | ||
"name": "@custom-bootstrap-vue/form-datepicker", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/form-file", | ||
"name": "@custom-bootstrap-vue/form-file", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/form-group", | ||
"name": "@custom-bootstrap-vue/form-group", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/form-input", | ||
"name": "@custom-bootstrap-vue/form-input", | ||
"version": "1.1.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/form-radio", | ||
"name": "@custom-bootstrap-vue/form-radio", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/form-rating", | ||
"name": "@custom-bootstrap-vue/form-rating", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/form-select", | ||
"name": "@custom-bootstrap-vue/form-select", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/form-spinbutton", | ||
"name": "@custom-bootstrap-vue/form-spinbutton", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/form-tags", | ||
"name": "@custom-bootstrap-vue/form-tags", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
@@ -833,3 +833,3 @@ # Form Tags | ||
<script> | ||
import { BFormTags } from 'bootstrap-vue' | ||
import { BFormTags } from 'custom-bootstrap-vue' | ||
@@ -836,0 +836,0 @@ export default { |
{ | ||
"name": "@bootstrap-vue/form-textarea", | ||
"name": "@custom-bootstrap-vue/form-textarea", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/form-timepicker", | ||
"name": "@custom-bootstrap-vue/form-timepicker", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/form", | ||
"name": "@custom-bootstrap-vue/form", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/image", | ||
"name": "@custom-bootstrap-vue/image", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/input-group", | ||
"name": "@custom-bootstrap-vue/input-group", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/jumbotron", | ||
"name": "@custom-bootstrap-vue/jumbotron", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/layout", | ||
"name": "@custom-bootstrap-vue/layout", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/link", | ||
"name": "@custom-bootstrap-vue/link", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/list-group", | ||
"name": "@custom-bootstrap-vue/list-group", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/media", | ||
"name": "@custom-bootstrap-vue/media", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/modal", | ||
"name": "@custom-bootstrap-vue/modal", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/nav", | ||
"name": "@custom-bootstrap-vue/nav", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/navbar", | ||
"name": "@custom-bootstrap-vue/navbar", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/overlay", | ||
"name": "@custom-bootstrap-vue/overlay", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/pagination-nav", | ||
"name": "@custom-bootstrap-vue/pagination-nav", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/pagination", | ||
"name": "@custom-bootstrap-vue/pagination", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/popover", | ||
"name": "@custom-bootstrap-vue/popover", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/progress", | ||
"name": "@custom-bootstrap-vue/progress", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/sidebar", | ||
"name": "@custom-bootstrap-vue/sidebar", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/skeleton", | ||
"name": "@custom-bootstrap-vue/skeleton", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/spinner", | ||
"name": "@custom-bootstrap-vue/spinner", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/tabs", | ||
"name": "@custom-bootstrap-vue/tabs", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/time", | ||
"name": "@custom-bootstrap-vue/time", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/toast", | ||
"name": "@custom-bootstrap-vue/toast", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/tooltip", | ||
"name": "@custom-bootstrap-vue/tooltip", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/v-b-hover", | ||
"name": "@custom-bootstrap-vue/v-b-hover", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/popover", | ||
"name": "@custom-bootstrap-vue/popover", | ||
"version": "0.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/scrollspy", | ||
"name": "@custom-bootstrap-vue/scrollspy", | ||
"version": "0.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/v-b-toggle", | ||
"name": "@custom-bootstrap-vue/v-b-toggle", | ||
"version": "1.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/tooltip", | ||
"name": "@custom-bootstrap-vue/tooltip", | ||
"version": "0.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
{ | ||
"name": "@bootstrap-vue/v-b-visible", | ||
"name": "@custom-bootstrap-vue/v-b-visible", | ||
"version": "0.0.0", | ||
@@ -4,0 +4,0 @@ "meta": { |
@@ -11,4 +11,4 @@ // Icons only build | ||
// for CommonJS). Both the following will work: | ||
// BootstrapVueIcons = require('bootstrap-vue/dist/bootstrap-vue-icons.common') | ||
// BootstrapVueIcons = require('bootstrap-vue/dist/bootstrap-vue-icons.common').default | ||
// BootstrapVueIcons = require('custom-bootstrap-vue/dist/custom-bootstrap-vue-icons.common') | ||
// BootstrapVueIcons = require('custom-bootstrap-vue/dist/custom-bootstrap-vue-icons.common').default | ||
// Vue.use(BootstrapVueIcons) | ||
@@ -15,0 +15,0 @@ install, |
@@ -66,3 +66,3 @@ # Bootstrap Icons | ||
import Vue from 'vue' | ||
import { BootstrapVue, BootstrapVueIcons } from 'bootstrap-vue' | ||
import { BootstrapVue, BootstrapVueIcons } from 'custom-bootstrap-vue' | ||
@@ -77,3 +77,3 @@ Vue.use(BootstrapVue) | ||
import Vue from 'vue' | ||
import { BootstrapVue, IconsPlugin } from 'bootstrap-vue' | ||
import { BootstrapVue, IconsPlugin } from 'custom-bootstrap-vue' | ||
@@ -90,3 +90,3 @@ Vue.use(BootstrapVue) | ||
import Vue from 'vue' | ||
import { BootstrapVue, BIcon, BIconArrowUp, BIconArrowDown } from 'bootstrap-vue' | ||
import { BootstrapVue, BIcon, BIconArrowUp, BIconArrowDown } from 'custom-bootstrap-vue' | ||
@@ -102,3 +102,3 @@ Vue.use(BootstrapVue) | ||
```js | ||
import { BIcon, BIconArrowUp, BIconArrowDown } from 'bootstrap-vue' | ||
import { BIcon, BIconArrowUp, BIconArrowDown } from 'custom-bootstrap-vue' | ||
@@ -122,4 +122,4 @@ export default { | ||
```js | ||
import { BootstrapVueIcons } from 'bootstrap-vue' | ||
import 'bootstrap-vue/dist/bootstrap-vue-icons.min.css' | ||
import { BootstrapVueIcons } from 'custom-bootstrap-vue' | ||
import 'custom-bootstrap-vue/dist/custom-bootstrap-vue-icons.min.css' | ||
@@ -132,4 +132,4 @@ Vue.use(BootstrapVueIcons) | ||
```js | ||
import { BootstrapVueIcons } from 'bootstrap-vue' | ||
import 'bootstrap-vue/src/icons.scss' | ||
import { BootstrapVueIcons } from 'custom-bootstrap-vue' | ||
import 'custom-bootstrap-vue/src/icons.scss' | ||
@@ -152,7 +152,7 @@ Vue.use(BootstrapVueIcons) | ||
<link type="text/css" rel="stylesheet" href="//unpkg.com/bootstrap/dist/css/bootstrap.min.css" /> | ||
<link type="text/css" rel="stylesheet" href="//unpkg.com/bootstrap-vue@latest/dist/bootstrap-vue.min.css" /> | ||
<link type="text/css" rel="stylesheet" href="//unpkg.com/custom-bootstrap-vue@latest/dist/custom-bootstrap-vue.min.css" /> | ||
<!-- Load Vue followed by BootstrapVue, and BootstrapVueIcons --> | ||
<script src="//unpkg.com/vue@latest/dist/vue.min.js"></script> | ||
<script src="//unpkg.com/bootstrap-vue@latest/dist/bootstrap-vue.min.js"></script> | ||
<script src="//unpkg.com/bootstrap-vue@latest/dist/bootstrap-vue-icons.min.js"></script> | ||
<script src="//unpkg.com/custom-bootstrap-vue@latest/dist/custom-bootstrap-vue.min.js"></script> | ||
<script src="//unpkg.com/custom-bootstrap-vue@latest/dist/custom-bootstrap-vue-icons.min.js"></script> | ||
</head> | ||
@@ -166,6 +166,6 @@ ``` | ||
<link type="text/css" rel="stylesheet" href="//unpkg.com/bootstrap/dist/css/bootstrap.min.css" /> | ||
<link type="text/css" rel="stylesheet" href="//unpkg.com/bootstrap-vue@latest/dist/bootstrap-vue-icons.min.css" /> | ||
<link type="text/css" rel="stylesheet" href="//unpkg.com/custom-bootstrap-vue@latest/dist/custom-bootstrap-vue-icons.min.css" /> | ||
<!-- Load Vue followed by BootstrapVueIcons --> | ||
<script src="//unpkg.com/vue@latest/dist/vue.min.js"></script> | ||
<script src="//unpkg.com/bootstrap-vue@latest/dist/bootstrap-vue-icons.min.js"></script> | ||
<script src="//unpkg.com/custom-bootstrap-vue@latest/dist/custom-bootstrap-vue-icons.min.js"></script> | ||
</head> | ||
@@ -172,0 +172,0 @@ ``` |
@@ -27,4 +27,4 @@ import { installFactory } from './utils/plugins' | ||
// Both the following will work: | ||
// BootstrapVue = require('bootstrap-vue') | ||
// BootstrapVue = require('bootstrap-vue').default | ||
// BootstrapVue = require('custom-bootstrap-vue') | ||
// BootstrapVue = require('custom-bootstrap-vue').default | ||
// Vue.use(BootstrapVue) | ||
@@ -31,0 +31,0 @@ install, |
@@ -306,3 +306,3 @@ import KeyCodes from '../utils/key-codes' | ||
const idx = currentPage - startNumber | ||
// THe following is a bootstrap-vue custom utility class | ||
// THe following is a custom-bootstrap-vue custom utility class | ||
const classes = 'bv-d-xs-down-none' | ||
@@ -309,0 +309,0 @@ if (idx === 0) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
6714513