@vrembem/drawer
Advanced tools
Comparing version 4.0.0-alpha.1 to 4.0.0-next.0
{ | ||
"name": "@vrembem/drawer", | ||
"description": "A container component that slides in from the left or right. Typically containing menus, search or other content.", | ||
"version": "4.0.0-alpha.1", | ||
"version": "4.0.0-next.0", | ||
"license": "MIT", | ||
"type": "module", | ||
"keywords": [ | ||
@@ -12,8 +13,12 @@ "BEM", | ||
], | ||
"source": "index.js", | ||
"main": "dist/scripts.js", | ||
"module": "dist/scripts.esm.js", | ||
"unpkg": "dist/scripts.umd.js", | ||
"main": "./dist/index.js", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.umd.cjs" | ||
} | ||
}, | ||
"unpkg": "dist/index.umd.cjs", | ||
"sass": "index.scss", | ||
"style": "dist/styles.css", | ||
"style": "dist/index.css", | ||
"files": [ | ||
@@ -27,13 +32,14 @@ "dev", | ||
"scripts": { | ||
"serve": "vite", | ||
"build": "npm-run-all clean styles scripts", | ||
"clean": "del dev && del dist", | ||
"scripts": "npm-run-all scripts:dev scripts:dist", | ||
"scripts:dev": "npm run scripts:dist -- --output=dev/scripts.js --no-compress", | ||
"scripts:dist": "microbundle --name=vrembem.Drawer --external=none --globals=@vrembem/core/index=vrembem.core", | ||
"scripts:dev": "vite build --outDir dev --minify false", | ||
"scripts:dist": "vite build --outDir dist", | ||
"styles": "npm-run-all styles:dev styles:dist", | ||
"styles:dev": "sass index.scss dev/styles.css --load-path=node_modules", | ||
"styles:dist": "sass index.scss dist/styles.css --load-path=node_modules --style=compressed", | ||
"styles:dev": "sass index.scss dev/index.css --load-path=../../node_modules", | ||
"styles:dist": "sass index.scss dist/index.css --load-path=../../node_modules --style=compressed", | ||
"watch": "concurrently --kill-others 'npm run watch:scripts' 'npm run watch:styles'", | ||
"watch:scripts": "nodemon -e js -x 'npm run scripts' -i dev -i dist", | ||
"watch:styles": "nodemon -e scss -x 'npm run styles'" | ||
"watch:scripts": "concurrently 'npm run scripts:dev -- --watch' 'npm run scripts:dist -- --watch'", | ||
"watch:styles": "concurrently 'npm run styles:dev -- --watch' 'npm run styles:dist -- --watch'" | ||
}, | ||
@@ -47,3 +53,3 @@ "repository": { | ||
"dependencies": { | ||
"@vrembem/core": "^4.0.0-alpha.1" | ||
"@vrembem/core": "^4.0.0-next.0" | ||
}, | ||
@@ -53,3 +59,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "e5128bb968b4b25ca6ba5b0cc728985cccb23e8f" | ||
"gitHead": "d966f513f86f66dddf93ed60ddefe51124562dc0" | ||
} |
@@ -1,2 +0,2 @@ | ||
import { closeTransition, updateGlobalState } from '@vrembem/core/index'; | ||
import { closeTransition, updateGlobalState } from '@vrembem/core'; | ||
import { updateFocusState, getDrawer } from './helpers'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Collection, FocusTrap, localStore } from '@vrembem/core/index'; | ||
import { Collection, FocusTrap, localStore } from '@vrembem/core'; | ||
@@ -3,0 +3,0 @@ import defaults from './defaults'; |
@@ -1,2 +0,2 @@ | ||
import { openTransition, updateGlobalState } from '@vrembem/core/index'; | ||
import { openTransition, updateGlobalState } from '@vrembem/core'; | ||
import { updateFocusState, getDrawer } from './helpers'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { Breakpoint, getConfig } from '@vrembem/core/index'; | ||
import { Breakpoint, getConfig } from '@vrembem/core'; | ||
@@ -3,0 +3,0 @@ import { deregister } from './deregister'; |
@@ -1,2 +0,2 @@ | ||
import { updateGlobalState } from '@vrembem/core/index'; | ||
import { updateGlobalState } from '@vrembem/core'; | ||
import { close } from './close'; | ||
@@ -3,0 +3,0 @@ import { initialState } from './helpers/initialState'; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Yes
287305
36
2429
1
Updated@vrembem/core@^4.0.0-next.0