mdb-vue-ui-kit
Advanced tools
Comparing version 1.0.0-alpha4 to 1.0.0-beta1
{ | ||
"name": "mdb-vue-ui-kit", | ||
"version": "1.0.0-alpha4", | ||
"version": "1.0.0-beta1", | ||
"main": "js/mdb.umd.min.js", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/mdbootstrap/mdb-vue-ui-kit.git", |
MDB 5 Vue | ||
Version: FREE 1.0.0-alpha4 | ||
Version: FREE 1.0.0-beta1 | ||
@@ -5,0 +5,0 @@ Documentation: |
@@ -5,31 +5,31 @@ export const handleBreakpoints = (windowWidth, breakpointValues) => { | ||
width: 0, | ||
align: null | ||
attr: null | ||
}, | ||
sm: { | ||
width: 576, | ||
align: null | ||
attr: null | ||
}, | ||
md: { | ||
width: 768, | ||
align: null | ||
attr: null | ||
}, | ||
lg: { | ||
width: 992, | ||
align: null | ||
attr: null | ||
}, | ||
xl: { | ||
width: 1200, | ||
align: null | ||
attr: null | ||
}, | ||
xxl: { | ||
width: 1400, | ||
align: null | ||
attr: null | ||
}, | ||
mega: { | ||
width: 10000, | ||
align: null | ||
attr: null | ||
} | ||
}; | ||
// replace breakpoints align values with corresponding props values | ||
// replace breakpoints attr values with corresponding props values | ||
breakpointValues.forEach(value => { | ||
@@ -40,5 +40,5 @@ const match = Object.keys(breakpoints).filter(breakpoint => | ||
if (match) { | ||
breakpoints[match].align = value; | ||
breakpoints[match].attr = value; | ||
} else { | ||
breakpoints.none.align = value; | ||
breakpoints.none.attr = value; | ||
} | ||
@@ -67,6 +67,6 @@ }); | ||
if ( | ||
(breakpoints[acc].align && breakpoints[cur].align) || | ||
(breakpoints[acc].align && !cur) | ||
(breakpoints[acc].attr && breakpoints[cur].attr) || | ||
(breakpoints[acc].attr && !cur) | ||
) { | ||
ranges[breakpoints[acc].align] = { | ||
ranges[breakpoints[acc].attr] = { | ||
min: breakpoints[acc].width, | ||
@@ -76,5 +76,5 @@ max: breakpoints[cur].width | ||
return cur; | ||
} else if (breakpoints[acc].align && !breakpoints[cur].align) { | ||
} else if (breakpoints[acc].attr && !breakpoints[cur].attr) { | ||
if (index === Object.keys(breakpoints).length - 1) { | ||
ranges[breakpoints[acc].align] = { | ||
ranges[breakpoints[acc].attr] = { | ||
min: breakpoints[acc].width, | ||
@@ -81,0 +81,0 @@ max: breakpoints[cur].width |
@@ -48,2 +48,7 @@ /* ------------- Components ------------- */ | ||
import MDBFooter from "@/components/free/navigation/MDBFooter"; | ||
import MDBTabs from "@/components/free/navigation/MDBTabs"; | ||
import MDBTabNav from "@/components/free/navigation/MDBTabNav"; | ||
import MDBTabItem from "@/components/free/navigation/MDBTabItem"; | ||
import MDBTabPane from "@/components/free/navigation/MDBTabPane"; | ||
import MDBTabContent from "@/components/free/navigation/MDBTabContent"; | ||
@@ -63,2 +68,5 @@ /* ------------- Layout ------------- */ | ||
import MDBRadio from "@/components/free/forms/MDBRadio"; | ||
import MDBFile from "@/components/free/forms/MDBFile"; | ||
import MDBRange from "@/components/free/forms/MDBRange"; | ||
import MDBSwitch from "@/components/free/forms/MDBSwitch"; | ||
@@ -100,2 +108,7 @@ /* ------------- Directives ------------- */ | ||
MDBModalFooter, | ||
MDBTabs, | ||
MDBTabNav, | ||
MDBTabItem, | ||
MDBTabPane, | ||
MDBTabContent, | ||
MDBIcon, | ||
@@ -121,4 +134,7 @@ MDBNavbar, | ||
MDBRadio, | ||
MDBFile, | ||
MDBRange, | ||
MDBSwitch, | ||
mdbRipple, | ||
mdbScrollspy | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
3275930
298
14530
4