Socket
Socket
Sign inDemoInstall

mdb-vue-ui-kit

Package Overview
Dependencies
0
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-alpha4 to 1.0.0-beta1

src/components/free/forms/MDBFile.vue

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc