Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bulma-toast

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bulma-toast - npm Package Compare versions

Comparing version 0.1.0 to 1.0.0

dist/css/bulma-toast.min.css

44

package.json
{
"name": "bulma-toast",
"version": "0.1.0",
"version": "1.0.0",
"description": "Bulma's extension to display toasts.",
"main": "dist/bulma-toast.min.js",
"main": "./dist/js/bulma-toast.min.js",
"style": "./dist/css/bulma-toast.min.css",
"scripts": {

@@ -26,36 +27,31 @@ "build": "gulp"

"devDependencies": {
"@babel/core": "^7.0.0-beta.39",
"@babel/preset-env": "^7.0.0-beta.39",
"babel-core": "^7.0.0-beta.3",
"ansi-colors": "^2.0.1",
"autoprefixer": "^8.6.2",
"babel-core": "^6.26.3",
"babel-jest": "^23.0.1",
"babel-loader": "^7.1.4",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"bulma": "^0.7.1",
"camelcase": "^5.0.0",
"del": "^3.0.0",
"gulp": "^3.9.1",
"fancy-log": "^1.3.2",
"gulp": "^4.0.0",
"gulp-autoprefixer": "^5.0.0",
"gulp-babel": "^7.0.1",
"gulp-babel-minify": "^0.4.1",
"gulp-better-rollup": "^3.0.0",
"gulp-bump": "^3.1.0",
"gulp-clean-css": "^3.9.2",
"gulp-clean-css": "^3.9.4",
"gulp-concat": "^2.6.1",
"gulp-conventional-changelog": "^1.1.11",
"gulp-git": "^2.5.1",
"gulp-modular-release": "^0.5.3",
"gulp-nop": "0.0.3",
"gulp-postcss": "^7.0.1",
"gulp-sass": "^4.0.1",
"gulp-sourcemaps": "^2.6.4",
"gulp-uglify": "^3.0.0",
"gulp-util": "^3.0.8",
"node-sass": "^4.9.0",
"rollup-plugin-babel": "^3.0.3",
"run-sequence": "^2.2.1"
"regenerator-runtime": "^0.11.1",
"webpack": "^4.12.0",
"webpack-stream": "^4.0.3"
},
"files": [
"dist/bulma-toast.sass",
"dist/bulma-toast.min.css",
"dist/bulma-toast.js",
"dist/bulma-toast.min.js",
"dist/**",
"src/**",
"LICENSE",
"README.md"
]
}
}

@@ -9,7 +9,7 @@ # bulma-toast

The plugin comes with 5 options:
The plugin comes with 5 options to be used as a JavaScript object:
- `message`: The actual message to be displayed.
- `type`: Essentially a Bulma's css class. It can be `is-primary`, `is-link`, `is-info`, `is-success`, `is-warning`, `is-danger`, or any other custom class. Default is a whitesmoke background with dark text as shown [here](https://bulma.io/documentation/elements/notification).
- `duration`: Duration of the notification in milliseconds.
- `duration`: Duration of the notification in milliseconds. Default is `2000` milliseconds.
- `position`: Position where the notification will be shown. The default is top-right, so if you want it to be on the left just add `is-left` to this option. Similarly, add `is-bottom` to be displayed at the bottom, or `is-center` to be centered. It can also be done with multiple classes like `is-bottom is-left`.

@@ -61,5 +61,17 @@ - `dismissible`: Whether the notification is dismissible or not. Default is `false`.

message: 'Your message here',
type: '',
duration: 2000,
position: 'is-right'
position: 'is-right',
dismissible: false
}
```
## Contributing
Can you make this plugin better? Clean the mess I made? Feel free to do so!
1. Fork it ( https://github.com/rfoel/bulma-toast/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc