{"_rev":"3-1090063b4a04244011cb855d63149bb7","time":{"created":"2023-05-30T10:11:28.274Z","1.0.0":"2023-05-29T09:31:20.763Z","modified":"2023-05-30T10:11:28.713Z","1.0.2":"2023-05-30T10:11:28.516Z"},"_id":"@antcamgil/b-icon","name":"@antcamgil/b-icon","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.2":{"name":"@antcamgil/b-icon","version":"1.0.2","description":"Grapesjs Bootstrap Icon","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/AntoCampos12/grapesjs-bootstrap-icon.git"},"scripts":{"start":"grapesjs-cli serve","build":"grapesjs-cli build","bump":"npm version patch -m 'Bump v%s'"},"keywords":["grapesjs","plugin"],"devDependencies":{"css-loader":"^6.7.3","grapesjs-cli":"^4.0.1","style-loader":"^3.3.2"},"license":"MIT","dependencies":{"grapesjs":"^0.21.1"},"gitHead":"bbf2307fb669409636e4b80b8ad7f414cc6b342b","bugs":{"url":"https://github.com/AntoCampos12/grapesjs-bootstrap-icon/issues"},"homepage":"https://github.com/AntoCampos12/grapesjs-bootstrap-icon#readme","_id":"@antcamgil/b-icon@1.0.2","_nodeVersion":"18.15.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-JViV7hifPyoGH55nPR8F4fAyAQSZvpKG8/dFoT+1e3IogkunBpj0nm/4+GBDetg8OB7f9PZU6+4GgVDvECI7jg==","shasum":"b462b42d5bb31f63494a00dd74777642ceb5416a","tarball":"https://registry.npmjs.org/@antcamgil/b-icon/-/b-icon-1.0.2.tgz","fileCount":5,"unpackedSize":87764,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEFtMeQ8hA3mCZZ0XWBgn3UjG68AyrKRsm8i7QOg4QucAiAVIKZS4693EvR6k+K96+R/eK6MMQ927+2E3lh5zqOr0w=="}]},"_npmUser":{"name":"antcamgil","email":"drapionx1@gmail.com"},"directories":{},"maintainers":[{"name":"antcamgil","email":"drapionx1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b-icon_1.0.2_1685441488343_0.3876342682777929"},"_hasShrinkwrap":false}},"maintainers":[{"name":"antcamgil","email":"drapionx1@gmail.com"}],"description":"Grapesjs Bootstrap Icon","homepage":"https://github.com/AntoCampos12/grapesjs-bootstrap-icon#readme","keywords":["grapesjs","plugin"],"repository":{"type":"git","url":"git+https://github.com/AntoCampos12/grapesjs-bootstrap-icon.git"},"bugs":{"url":"https://github.com/AntoCampos12/grapesjs-bootstrap-icon/issues"},"license":"MIT","readme":"# GrapesJS Bootstrap Icon\r\n\r\nThis plugin adds some of the basic form components and blocks which help in working with forms easier\r\n\r\n[Demo](https://codepen.io/ibnuhabibie/pen/WNgVRrj)\r\n<br/>\r\n\r\nAvailable components:\r\n`bootstrapIcon`\r\n\r\n## Options\r\n\r\n| Option | Description | Default|\r\n| --------------- | -------------------------------- | ----------------------------------------------------------------------------------------|\r\n|`label`|Block name| Bootstrap Icon |\r\n|`media`|Block media|`html`|\r\n|`category`|Block category|Basic|\r\n|`modalTitle`|Modal title|Bootstrap Icon Picker|\r\n\r\n\r\n\r\n## Download\r\n\r\n* CDN\r\n  * `https://unpkg.com/grapesjs-bootstrap-icon`\r\n* NPM\r\n  * `npm i grapesjs-bootstrap-icon`\r\n* GIT\r\n  * `git clone https://github.com/ibnuhabibie/grapesjs-bootstrap-icon.git`\r\n\r\n\r\n\r\n## Usage\r\n\r\nDirectly in the browser\r\n\r\n```html\r\n<link href=\"path/to/grapes.min.css\" rel=\"stylesheet\"/>\r\n<script src=\"path/to/grapes.min.js\"></script>\r\n<script src=\"path/to/grapesjs-bootstrap-icon.min.js\"></script>\r\n\r\n<div id=\"gjs\"></div>\r\n\r\n<script type=\"text/javascript\">\r\n  var editor = grapesjs.init({\r\n      fromElement: 1,\r\n      container : '#gjs',\r\n      plugins: ['gjs-bootstrap-icon'],\r\n      pluginsOpts: {\r\n        'gjs-bootstrap-icon': {/* ...options */}\r\n      }\r\n  });\r\n</script>\r\n```\r\n\r\nModern javascript\r\n\r\n```js\r\nimport grapesjs from 'grapesjs';\r\nimport gjsBootstrapIcon from 'grapesjs-bootstrap-icon';\r\n\r\nconst editor = grapesjs.init({\r\n  container : '#gjs',\r\n  // ...\r\n  plugins: [gjsBootstrapIcon],\r\n  pluginsOpts: {\r\n    [gjsBootstrapIcon]: { /* options */ }\r\n  }\r\n  // or\r\n  plugins: [\r\n    editor => gjsBootstrapIcon(editor, { /* options */ }),\r\n  ],\r\n});\r\n```\r\n\r\n## Development\r\n\r\nClone the repository\r\n\r\n```sh\r\n$ git clone https://github.com/ibnuhabibie/grapesjs-bootstrap-icon.git\r\n$ cd grapesjs-bootstrap-icon\r\n```\r\n\r\nInstall it\r\n\r\n```sh\r\n$ npm i\r\n```\r\n\r\nStart the dev server\r\n\r\n```sh\r\n$ npm start\r\n```\r\n\r\n\r\n## License\r\n\r\nBSD 3-Clause","readmeFilename":"README.md"}