Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Use components v4 #4

Merged
merged 6 commits into from
Apr 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "@bufferapp/notifications",
"version": "1.9.7",
"version": "2.0.1",
"description": "Display application notifications",
"main": "lib/index.js",
"types": "types/index.d.ts",
"scripts": {
"storybook": "start-storybook -p 9002",
"lint": "eslint --ext .js test/ src/",
@@ -17,7 +18,7 @@
"src"
],
"dependencies": {
"@bufferapp/components": "3.6.3",
"@bufferapp/components": "^4.0.0",
"@bufferapp/keywrapper": "0.2.0",
"uuid": "3.3.2"
},
@@ -46,7 +47,7 @@
"storybook-addon-a11y": "^3.1.9"
},
"peerDependencies": {
"@bufferapp/components": "3.6.3",
"@bufferapp/components": "^4.0.0",
"react": "16.x",
"react-dom": "16.x",
"react-redux": "7.x"
@@ -94,9 +95,6 @@
}
},
"jest": {
"transformIgnorePatterns": [
"/node_modules(?!/@bufferapp/components)/"
],
"verbose": true
},
"publishConfig": {
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -12,5 +12,5 @@ export default connect(
}),
)(Notifications)

export { default as reducer, actions, actionTypes } from './reducer'
export { default as reducer, actions, actionTypes } from './reducer'
export { default as middleware } from './middleware'
2 changes: 1 addition & 1 deletion src/middleware.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { transitionTimeMilliseconds } from '@bufferapp/components/style/animation'
import { transitionTimeMilliseconds } from '@bufferapp/components'
import { actionTypes, actions } from './reducer'

export default ({ dispatch }) => next => action => {
1 change: 1 addition & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module '@bufferapp/notifications';