{"_id":"@anypoint-web-components/anypoint-chip-input","_rev":"14-24eed93338158257c8589a43d0953c41","name":"@anypoint-web-components/anypoint-chip-input","dist-tags":{"latest":"0.2.5"},"versions":{"0.1.0":{"name":"@anypoint-web-components/anypoint-chip-input","version":"0.1.0","keywords":["api-components","input","chip","material-design"],"license":"Apache-2.0","_id":"@anypoint-web-components/anypoint-chip-input@0.1.0","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"contributors":[{"name":"Pawel Psztyc"},{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"homepage":"https://github.com/anypoint-web-components/paper-chip-input#readme","bugs":{"url":"https://github.com/anypoint-web-components/paper-chip-input/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"64532ed3e5f03fa37b760799480f3106e26804c8","tarball":"https://registry.npmjs.org/@anypoint-web-components/anypoint-chip-input/-/anypoint-chip-input-0.1.0.tgz","fileCount":5,"integrity":"sha512-kkJczd8fzbsP+F6YD4AvbQDZ90L3F5FgHRCZu3r5BhW7m+jNvdfSkb68YsWORUbPVRnNr011HCdoUT5+8gP+7w==","signatures":[{"sig":"MEUCIQCfHIoC1XyRD/MqqrgU1MWQAM+52BdAf4LXdypjL+7vXAIgXWmTDGaaNQkcr0Buex3OYbyEqR1iqHLfKsd0rkNu5SY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbyoYCRA9TVsSAnZWagAAFpwP/1VrEQjcJKjjfG3nyKNE\n6f9Aiy976GPRA2KGpZVfhOIshZEiFS56jpjXZMrhCI/BUSz8ihJeRHYY7UGn\nOqWi/f9hUtnDy5B+VckS6nS3n0h36zgX4TlKRPIKJX2p2lCsUV2hCzmisPW4\n+Fgsrc8Epn3Le52mBlg4awzrESZ5n7Q/iSmHONBheaWLJrZ/sxMBKeffpi4K\na1FYI4Ics8ZY7X2k2ahTDuwYE9kMyxjtedhSFZYozL+A4WmnrWZJpBpwPHNg\nB94cre1hVHxQVfJ4v0E1/swhf3VuDhnd9yPBqsh4jYpg5PL2ivT+jcOBxqFh\nvVCNql9zT9HlYv5BaJZki8x93zww3/qQBKDAXCC1iKCuIWkmcGWq51aSMpaa\nfkCdxV1xB9HvCItkduVsdNSQj1FHEH/AEdiIfmLVJbFV2PEkepLU9OuIIu95\nbP0N+iPJ11ZV3fyY2Cuj3vYsFNNZB11p5ktJbrO79WZPrJQnbn0C6vYY6VvF\nE1hNl7wl4yLc9jPSOb/JGaoO1J0KDjAYHac6qhroeR/tJJ+EKmL7qri+Hs5q\n3hX3fnJFoZACUmDEM7O5K9PBMU6rf/lxaARrojG/xXjyKdAsJ0A1J86nZ8JT\nnbISbaxBEscO0TVHZgOQv6Wb530fobFQSRM+1dlc/jWRh4VWXVxtjhowVH4L\nGUWu\r\n=jGdV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"anypoint-chip-input.js","authors":["Pawel Psztyc","The Advanced REST client authors <arc@mulesoft.com>"],"gitHead":"6425bd7245799f2c168da72d2db1525c8d3ffbb9","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"karma start --coverage","start":"es-dev-server --app-index demo/index.html --node-resolve --open --watch","format":"npm run format:eslint && npm run format:prettier","test:sl":"karma start karma.sl.config.js --compatibility all --coverage","test:watch":"karma start --auto-watch=true --single-run=false","lint:eslint":"eslint --ext .js,.html .","test:legacy":"karma start --compatibility all --coverage","update-types":"gen-typescript-declarations --deleteExisting --outDir .","format:eslint":"eslint --ext .js,.html . --fix","lint:prettier":"prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)","generate-model":"node demo/model.js","format:prettier":"prettier \"**/*.js\" --write","test:legacy:watch":"karma start --compatibility all --auto-watch=true --single-run=false","start:compatibility":"es-dev-server --app-index demo/index.html --compatibility all --node-resolve --open --watch"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"repository":{"url":"git://github.com/anypoint-web-components/paper-chip-input.git","type":"git"},"_npmVersion":"6.11.2","description":"A material design input with chips adjusted for Anypoint platform.","directories":{},"lint-staged":{"*.js":["eslint --fix","git add"]},"_nodeVersion":"10.15.3","dependencies":{"lit-element":"^2.2.1","@polymer/iron-icon":"^3.0.0","@anypoint-web-components/anypoint-chip":"^0.1.0","@anypoint-web-components/anypoint-input":"^0.2.3","@anypoint-web-components/anypoint-autocomplete":"^0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^1.0.0","karma":"^4.3.0","sinon":"^7.4.1","deepmerge":"^4.0.0","lint-staged":"^8.0.0","es-dev-server":"^1.16.0","@commitlint/cli":"^8.1.0","@open-wc/testing":"^2.3.3","@polymer/iron-icons":"^3.0.0","@open-wc/testing-karma":"^3.1.29","@polymer/iron-test-helpers":"^3.0.1","@commitlint/config-conventional":"^7.0.0","@advanced-rest-client/eslint-config":"^1.1.2","@polymer/gen-typescript-declarations":"^1.6.2","@advanced-rest-client/arc-demo-helper":"^1.0.14","@advanced-rest-client/prettier-config":"^0.1.0","@advanced-rest-client/testing-karma-sl":"^1.0.4","@anypoint-web-components/anypoint-checkbox":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/anypoint-chip-input_0.1.0_1567566359844_0.4068400707465114","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@anypoint-web-components/anypoint-chip-input","version":"0.2.0","keywords":["api-components","input","chip","material-design"],"license":"Apache-2.0","_id":"@anypoint-web-components/anypoint-chip-input@0.2.0","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"contributors":[{"name":"Pawel Psztyc"},{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"homepage":"https://github.com/anypoint-web-components/paper-chip-input#readme","bugs":{"url":"https://github.com/anypoint-web-components/paper-chip-input/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"7ef36f24904131023db4d7b11190b80f68e7bcd8","tarball":"https://registry.npmjs.org/@anypoint-web-components/anypoint-chip-input/-/anypoint-chip-input-0.2.0.tgz","fileCount":7,"integrity":"sha512-sz0U635Z2BlsX2IcT8dVwh74iTA8fJ1lSQPvObyxDdIFyJAfQNaszJiuqieHWFspkjsZD6fy/neBkgkcGz7fiw==","signatures":[{"sig":"MEUCIQCt6tGE5DsQFtYTuWdacY9G92llRA8WWLbahuCO13REGAIgUlrT5P36TnbljuWJ426aXvaHkjymcYay4TiuqjCP73k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdm+mJCRA9TVsSAnZWagAAX4gP/262HjP84jGqbOXo7ZYG\nLFc7LbCLDdXbPLBFkBI9+PSNlHAEMTul27wytIjNtuMDPZJ71giNQkNXSDtE\n3QdqsdEdIzERv5RwNOgyMidcFqwdZn+jJgdkzapcCtr3fcI0Pxu/lWKmthK/\nly2q21Qyfc5AfCadvO0AwYNhPhq1d8pxEK+ief5Cu6zxLxWHYQyVHVFo2HeV\nNISyLFges2z+wqAC4KpGcSoOBsDwOheWRsmnpaWA+eJTNjz0qKt/n9wsDdAv\np/wWGE7Gp4TbwvbofzK94g7sNmWw00VQiookFbO2gZ2iyRJZWdXQAPkIIWPX\n4AFQKfJHqr8odDFs1rPpLxI2m65XHZNly0gBLtLoLtdVjfOcAKKIqlPfg8Uo\nx9NbVMl0DSWFXHSM/TBW+yMKba5XMOZ0oAYsbPU8qZVt9BLp/gIzRxpRkm3Z\nmWVPlrjXGrDH9AFCkUEFR5XEKSZddrn6IxMjCA58+yYaoYteYrXNTHziO1wW\nmrtndZL2AzpMMPQMmre4XC1F+RCF5ZQsFR7Oi9JiqUXcYH1ph/KGDT4us6nc\nZu1XpTCATwPHEkD4jhes9KsyL6mLF7caoRCi2KbeBJyZW6z8tHHsAG1oq7OO\nceSNvh9Ho/K+uPzFUrGXP6ftOW/KZ7i5erc8qAQ05MlaPbVYH9SZEr+w+RoP\nn2ua\r\n=nCln\r\n-----END PGP SIGNATURE-----\r\n"},"main":"anypoint-chip-input.js","authors":["Pawel Psztyc","The Advanced REST client authors <arc@mulesoft.com>"],"gitHead":"6dd2e4eba5b61f02ab96c335146a3f1f6612173c","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"karma start --coverage","start":"es-dev-server --app-index demo/index.html --node-resolve --open --watch","format":"npm run format:eslint && npm run format:prettier","test:sl":"karma start karma.sl.config.js --compatibility all --coverage","test:watch":"karma start --auto-watch=true --single-run=false","lint:eslint":"eslint --ext .js,.html .","test:legacy":"karma start --compatibility all --coverage","update-types":"gen-typescript-declarations --deleteExisting --outDir .","format:eslint":"eslint --ext .js,.html . --fix","lint:prettier":"prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)","generate-model":"node demo/model.js","format:prettier":"prettier \"**/*.js\" --write","test:legacy:watch":"karma start --compatibility all --auto-watch=true --single-run=false","start:compatibility":"es-dev-server --app-index demo/index.html --compatibility all --node-resolve --open --watch"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"repository":{"url":"git://github.com/anypoint-web-components/paper-chip-input.git","type":"git"},"_npmVersion":"6.11.3","description":"A material design input with chips adjusted for Anypoint platform.","directories":{},"lint-staged":{"*.js":["eslint --fix","git add"]},"_nodeVersion":"12.10.0","dependencies":{"lit-element":"^2.2.1","@anypoint-web-components/anypoint-chip":"^0.2.0","@anypoint-web-components/anypoint-input":"^0.2.6","@anypoint-web-components/anypoint-autocomplete":"^0.1.3"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^3.0.0","sinon":"^7.5.0","deepmerge":"^4.1.0","lint-staged":"^9.4.0","es-dev-server":"^1.18.3","@commitlint/cli":"^8.2.0","@open-wc/testing":"^2.3.4","@polymer/iron-icons":"^3.0.0","@open-wc/testing-karma":"^3.1.38","@polymer/iron-test-helpers":"^3.0.1","@advanced-rest-client/arc-icons":"^3.0.2","@commitlint/config-conventional":"^8.2.0","@advanced-rest-client/eslint-config":"^1.1.3","@polymer/gen-typescript-declarations":"^1.6.2","@advanced-rest-client/arc-demo-helper":"^1.0.14","@advanced-rest-client/prettier-config":"^0.1.0","@advanced-rest-client/testing-karma-sl":"^1.0.5","@anypoint-web-components/anypoint-checkbox":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/anypoint-chip-input_0.2.0_1570498952432_0.7272444195032617","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@anypoint-web-components/anypoint-chip-input","version":"0.2.1","keywords":["api-components","input","chip","material-design"],"license":"Apache-2.0","_id":"@anypoint-web-components/anypoint-chip-input@0.2.1","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"contributors":[{"name":"Pawel Psztyc"},{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"homepage":"https://github.com/anypoint-web-components/paper-chip-input#readme","bugs":{"url":"https://github.com/anypoint-web-components/paper-chip-input/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"dd435d59519f237336e6d6cd751cd537d4204679","tarball":"https://registry.npmjs.org/@anypoint-web-components/anypoint-chip-input/-/anypoint-chip-input-0.2.1.tgz","fileCount":7,"integrity":"sha512-9aueLjVTtYtdWv4iVLXLcvuQrRHRZy/eb+r6gWLuIwe5QfR2Iv4wrWVQzQIKfGuNwlrujuFUGRCyRqjIaIQY+A==","signatures":[{"sig":"MEUCIATMY+LTVMp/rOAT9cQqJc1ISQuc+6VRsrjZcMcjfrq7AiEAq3mCnOSVobLY4WpTz6XZmPqAafnYRdhMadi+RU4DT9Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":59281,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/pLBCRA9TVsSAnZWagAANpoP+wVA72EwNRNZTCMIscYR\nY3kdhSGWuOnNyu7zfBeRFZ3qMxM9fbPUc6+Gg4dOMUkKzKJn4HNQkpeyuUWt\nBy/vXmdQZR1ZWMWHxyGkoDHKUrL6E1h+7fh0xXLkVgIO3VaQGWyZmQ/rH9z7\nV+mRfg6ONPNy66opLRruhz9U/hNL6fRw80/W1D93ezrZ9QEjrYZYg0ZnyWQy\nNPs/qlGtxyFrbjRaHbFqggsbyIP7tMGD1KAFz0YujjLI4j/8KQYP0s4KqHhN\nx1rOlQMRUfDbNYMdXgqXusLGQOrT4xiB5dopkJ0VzJPk6bxWsdHlU8CZYirn\nhE/0wMCj49pAnEGbzX2bwdnBSE75ziEvY3TfWZ+Z68XQ+NV+fxbDoGokaBLJ\nI0sC7I7JptjvwRnTqWjEBO/NZO9iUV93ygWJZpqawBeUl8yM2mc53DHJfuSa\n8pgYfm/zSmMKWp/hONrkIJJTWBttoYjOn1F4m9PW2iXVT66GRg+AS7CZv6Jt\nDpM21vDAa0dAS3c2SYR+GiJKXV8GI7XKBfuzR6rPAAhn1mUT/E2/W5yZUaKq\n//PgNSk7A9S3CLoEmCsc0iO2OVHUhRvHKdZ8TrxZ5WmmdZa1m2MBiotAuqwC\nL04ishrGqDKmLPo2FydW3TxfmZHN2xeSmE31RvysZ7x9pyeOY5l1ZyJdtuvH\nqapf\r\n=d/CU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"anypoint-chip-input.js","authors":["Pawel Psztyc","The Advanced REST client authors <arc@mulesoft.com>"],"gitHead":"4b19bf50134a0edb198180f996c67f8858e30c2b","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"karma start --coverage","start":"es-dev-server --app-index demo/index.html --node-resolve --open --watch","format":"npm run format:eslint && npm run format:prettier","test:sl":"karma start karma.sl.config.js --compatibility all --coverage","test:watch":"karma start --auto-watch=true --single-run=false","lint:eslint":"eslint --ext .js,.html .","test:legacy":"karma start --compatibility all --coverage","update-types":"gen-typescript-declarations --deleteExisting --outDir .","format:eslint":"eslint --ext .js,.html . --fix","lint:prettier":"prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)","generate-model":"node demo/model.js","format:prettier":"prettier \"**/*.js\" --write","test:legacy:watch":"karma start --compatibility all --auto-watch=true --single-run=false","start:compatibility":"es-dev-server --app-index demo/index.html --compatibility all --node-resolve --open --watch"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"repository":{"url":"git://github.com/anypoint-web-components/paper-chip-input.git","type":"git"},"_npmVersion":"6.12.0","description":"A material design input with chips adjusted for Anypoint platform.","directories":{},"lint-staged":{"*.js":["eslint --fix","git add"]},"_nodeVersion":"12.13.0","dependencies":{"lit-element":"^2.2.1","@anypoint-web-components/anypoint-chip":"^0.2.0","@anypoint-web-components/anypoint-input":"^0.2.13","@anypoint-web-components/anypoint-autocomplete":"^0.1.4"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^3.1.0","sinon":"^7.5.0","deepmerge":"^4.2.2","lint-staged":"^9.5.0","es-dev-server":"^1.32.0","@commitlint/cli":"^8.2.0","@open-wc/testing":"^2.4.2","@polymer/iron-icons":"^3.0.0","@open-wc/testing-karma":"^3.2.21","@polymer/iron-test-helpers":"^3.0.1","@advanced-rest-client/arc-icons":"^3.0.5","@commitlint/config-conventional":"^8.2.0","@advanced-rest-client/eslint-config":"^1.1.4","@polymer/gen-typescript-declarations":"^1.6.2","@advanced-rest-client/arc-demo-helper":"^1.0.17","@advanced-rest-client/prettier-config":"^0.1.0","@advanced-rest-client/testing-karma-sl":"^1.1.0","@anypoint-web-components/anypoint-checkbox":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/anypoint-chip-input_0.2.1_1576964801069_0.7095630564562174","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"@anypoint-web-components/anypoint-chip-input","version":"0.2.2","keywords":["api-components","input","chip","material-design"],"license":"Apache-2.0","_id":"@anypoint-web-components/anypoint-chip-input@0.2.2","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"},{"name":"lbauret","email":"leandro.bauret@mulesoft.com"},{"name":"twoplustwoone","email":"francisco.digiandomenico@gmail.com"}],"contributors":[{"name":"Your name can be here!"}],"homepage":"https://github.com/anypoint-web-components/paper-chip-input#readme","bugs":{"url":"https://github.com/anypoint-web-components/paper-chip-input/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"d591e232e4c8eed020a252392dd97344fb464789","tarball":"https://registry.npmjs.org/@anypoint-web-components/anypoint-chip-input/-/anypoint-chip-input-0.2.2.tgz","fileCount":8,"integrity":"sha512-1Z5oF0LnWaduy5Tvn8GL9CBGDR6COUCpEGBG0m6UCgvum5Mst09ZEDyTwY8LoGLqScWg/59581Cs0RqJdujQRg==","signatures":[{"sig":"MEUCICI4Ov4gucEFiFRgGG3gU1PBhfQfki/u7eChetCu8mVWAiEArEOhUCQ3bp1+w6q0IkTXTUK00n1CxjpFTxEFA1JacC4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":59632,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8/mCCRA9TVsSAnZWagAAHMkQAKCDCy9r2hQBd1h3BK5P\nOZc292KwxkzmI0wMxoS0CU7mThbgi/ykS469Acnsa096ShxHZZN8y57m44U3\npA0gWRa2O9FaIXZzPvpsO3HS6DAtN0ueu2SSD4OYlfy1pABA7dluca8CDtI5\nGeviH2iq1fkx0U1FSSPXxDB8fbbrzYga6LE6wTKPjSqnT8XnVjlvi64P22td\nR99mxX8JU9aFVWR5WFXt8nTBCWCYuPIhEZXbs2vgfTCqyJ1MI+ct8vCnvj+q\nYabfJeqnvmrMqYbStTY5Wceokf4q+xKJi3cAFrxElViqBYvorSB1gHReQLuE\nZrYPUTqPhkwV0URABj6UDicbzzfaPor0meESh3p7n8+4l96zEns2Rk59unby\n8OMEAGAPqcJHQ15VwuCVpR48Zeh3+zNQYJQ5zpPKMITpkdALzfdAbINxF0cs\nxO2kjLknnrpoDyYp50Cy7ExXOe3NY/0rsLXjSJ0Wrt3xNNHLFr+jEjR/5heD\n6nhWxbmXQXyT/Wl6G6u2orvNthLwhyDg+oQ3ivRWz55IxYtCVflnipHZAyAe\nRtvad1GC4J4kFUVngIsx9IzboD7M70C6IVLWhLNYYjwINUSI4cot7Nv3u/Y2\nzO8V6kuBCrJYOMXyZjAsAEBKTp1J2KmkXCCD0f0B6oqtR7NGtdze+Qr9JRQZ\neJ1o\r\n=JUS4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"module":"index.js","authors":["Pawel Psztyc"],"gitHead":"9c621dae45a269ddd36c8a8787bfd82c5ad5bc69","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"karma start --coverage","start":"es-dev-server --app-index demo/index.html --node-resolve --open --watch","format":"npm run format:eslint && npm run format:prettier","test:sl":"karma start karma.sl.config.js --compatibility auto --coverage","test:watch":"karma start --auto-watch=true --single-run=false","lint:eslint":"eslint --ext .js,.html . --ignore-path .gitignore","format:eslint":"eslint --ext .js,.html . --fix --ignore-path .gitignore","lint:prettier":"prettier \"**/*.js\" --check --ignore-path .gitignore","format:prettier":"prettier \"**/*.js\" --write --ignore-path .gitignore"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"prettier":{"arrowParens":"always","singleQuote":true},"repository":{"url":"git://github.com/anypoint-web-components/paper-chip-input.git","type":"git"},"_npmVersion":"6.14.4","description":"A material design input with chips adjusted for Anypoint platform.","directories":{},"lint-staged":{"*.js":["eslint --fix"]},"_nodeVersion":"13.13.0","dependencies":{"lit-element":"^2.3.1","@anypoint-web-components/anypoint-chip":"^0.2.0","@anypoint-web-components/anypoint-input":"^0.2.17","@anypoint-web-components/anypoint-autocomplete":"^0.2.0"},"eslintConfig":{"extends":["@open-wc/eslint-config","eslint-config-prettier"]},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.2.5","sinon":"^9.0.2","eslint":"7.2.0","prettier":"^2.0.4","deepmerge":"^4.2.2","typescript":"^3.9.5","lint-staged":"^10.2.10","es-dev-server":"^1.55.1","ts-lit-plugin":"^1.1.11","@open-wc/testing":"^2.5.18","@polymer/iron-icons":"^3.0.0","@open-wc/eslint-config":"^2.0.6","@open-wc/testing-karma":"^3.4.5","eslint-config-prettier":"^6.11.0","@polymer/iron-test-helpers":"^3.0.1","typescript-lit-html-plugin":"^0.9.0","@advanced-rest-client/arc-icons":"^3.1.0","@advanced-rest-client/arc-demo-helper":"^1.0.17","@advanced-rest-client/testing-karma-sl":"^1.3.1","@anypoint-web-components/anypoint-checkbox":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/anypoint-chip-input_0.2.2_1593047426327_0.8097480513696949","host":"s3://npm-registry-packages"}},"0.2.3":{"name":"@anypoint-web-components/anypoint-chip-input","version":"0.2.3","keywords":["api-components","input","chip","material-design"],"license":"Apache-2.0","_id":"@anypoint-web-components/anypoint-chip-input@0.2.3","maintainers":[{"name":"lbauret","email":"leandro.bauret@mulesoft.com"},{"name":"twoplustwoone","email":"francisco.digiandomenico@gmail.com"},{"name":"jarrodek","email":"jarrodek@gmail.com"}],"contributors":[{"name":"Your name can be here!"}],"homepage":"https://github.com/anypoint-web-components/paper-chip-input#readme","bugs":{"url":"https://github.com/anypoint-web-components/paper-chip-input/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"f7e65ce0d66268fc6188b17d98879d2df03e1255","tarball":"https://registry.npmjs.org/@anypoint-web-components/anypoint-chip-input/-/anypoint-chip-input-0.2.3.tgz","fileCount":13,"integrity":"sha512-HdKoHnV0oXJ3TJfOqRZEchFrpiDmOvNdxtau+NkElPp2wJqSINiX+ggSZwc5sQN7Oo37QhioGY4Kb8PlG7jMzA==","signatures":[{"sig":"MEQCIC7hEtKpng4GpRryvZG/2Rr7e/3PrcP7E2DTyfkiuQxCAiACx48vsYCEIgxDIEAAMW5pCOgi0eAXbU/erSCiOZT2mA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":78332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfa/NgCRA9TVsSAnZWagAACRkP/AovnDcT7oJjiAVFoeNf\nX6mIk2QMODhc8B6dFpn5vkPoBjluopn5scxANjD5MYv0rH77Jl5/pwBMfSlP\nwTApDKjkBMCq37Nvl41YAP8xC/nDFoTOzNuzoUxFycKpQ6M30NO9gOnXyNJp\nV3287JenAfVRgbx1C5eushws1o0j4QSh9rd2Wrb08YmVVnpEjoAv0A+POFWW\nCjXsrFR5XIjxuxEk/Rw2hYe+dxBsVfjfZAU5qg2vKaYulv2dJ65MUThplF+f\nesSnECu0JiR/6p1sXSzJW81cBKvYAwW6ZARt5+BLKmnrM7Th6HWSw5Q41WBX\nzHkh83RcNfY+uMvIkiuYK5YbivA4/Say9115+uSCiRpJTtRBlSPWveqHnQae\nkUgt4wL+BlP2uiZmEI9Rj4qOi2ra5YdiMijzjZ8FyD7R5zZb41VYKVpzAV0v\nNuCkVaweaL5m2PeZsDzoc1D6P3WI77rDKmPxjTh2zA7ncb7f5RJ4cpmFrdmL\nQ8/GvdWyX8GV8BohjOLhe15Ba7F2FHPzMVfequaRu8fXntNCNLe1T74ugqHx\nmJvy1Ikky6VIOogrVHDBYMFMPZPad8q7cXsPAxKen0rQ9UR9WPp9rYHxh0Mp\nvP38kI1wWY6xdqfs9aU6604r2po4x428yQgFrfsv2RNsvKvQJgwH08bukwVT\nbXA8\r\n=LRDr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"module":"index.js","authors":["Pawel Psztyc"],"gitHead":"36fe31c37171477575dbaf9d17955450702c1b87","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"karma start --coverage","start":"es-dev-server --app-index demo/index.html --node-resolve --open --watch","format":"npm run format:eslint && npm run format:prettier","gen:wc":"wca analyze \"*.js\" --outFile custom-elements.json","test:sl":"karma start karma.sl.config.js --compatibility auto --coverage","test:watch":"karma start --auto-watch=true --single-run=false","lint:eslint":"eslint --ext .js,.html . --ignore-path .gitignore","format:eslint":"eslint --ext .js,.html . --fix --ignore-path .gitignore","lint:prettier":"prettier \"**/*.js\" --check --ignore-path .gitignore","format:prettier":"prettier \"**/*.js\" --write --ignore-path .gitignore"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"prettier":{"arrowParens":"always","singleQuote":true},"repository":{"url":"git://github.com/anypoint-web-components/paper-chip-input.git","type":"git"},"_npmVersion":"6.14.4","description":"A material design input with chips adjusted for Anypoint platform.","directories":{},"lint-staged":{"*.js":["eslint --fix"]},"_nodeVersion":"13.13.0","dependencies":{"lit-element":"^2.4.0","@anypoint-web-components/anypoint-chip":"^0.2.1","@anypoint-web-components/anypoint-input":"^0.2.21","@anypoint-web-components/anypoint-autocomplete":"^0.2.6"},"eslintConfig":{"extends":["@open-wc/eslint-config","eslint-config-prettier"],"overrides":[{"files":["**/demo/**/*.js","**/demo/**/*.html"],"rules":{"no-console":"off","no-unused-expressions":"off","class-methods-use-this":"off","import/no-extraneous-dependencies":"off"}},{"files":["**/*.js"],"rules":{"no-continue":"off","no-plusplus":"off","class-methods-use-this":"off"}}]},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.0","sinon":"^9.0.3","eslint":"7.9.0","prettier":"^2.1.2","deepmerge":"^4.2.2","typescript":"^4.0.3","lint-staged":"^10.4.0","es-dev-server":"^1.57.4","ts-lit-plugin":"^1.2.1","@open-wc/testing":"^2.5.26","@polymer/iron-icons":"^3.0.0","@open-wc/eslint-config":"^3.0.0","@open-wc/testing-karma":"^4.0.5","eslint-config-prettier":"^6.11.0","@polymer/iron-test-helpers":"^3.0.1","typescript-lit-html-plugin":"^0.9.0","@advanced-rest-client/arc-icons":"^3.1.0","@advanced-rest-client/arc-demo-helper":"^1.0.17","@advanced-rest-client/testing-karma-sl":"^1.4.2","@anypoint-web-components/anypoint-checkbox":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/anypoint-chip-input_0.2.3_1600910175741_0.6147692174764188","host":"s3://npm-registry-packages"}},"0.2.4":{"name":"@anypoint-web-components/anypoint-chip-input","version":"0.2.4","keywords":["api-components","input","chip","material-design"],"license":"Apache-2.0","_id":"@anypoint-web-components/anypoint-chip-input@0.2.4","maintainers":[{"name":"lbauret","email":"leandro.bauret@mulesoft.com"},{"name":"twoplustwoone","email":"francisco.digiandomenico@gmail.com"},{"name":"jarrodek","email":"jarrodek@gmail.com"}],"contributors":[{"name":"Your name can be here!"}],"homepage":"https://github.com/anypoint-web-components/paper-chip-input#readme","bugs":{"url":"https://github.com/anypoint-web-components/paper-chip-input/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"4b68831a90fbdabe47a64284cdabea8b35157e83","tarball":"https://registry.npmjs.org/@anypoint-web-components/anypoint-chip-input/-/anypoint-chip-input-0.2.4.tgz","fileCount":13,"integrity":"sha512-+5N63zq4ebP2l+usyN29CRqIlvOTf4uOtKLnl7ZJfnlzL1TolYU94HBmQ29lyPTzoCx8gpvBjDLKEN2m47yHsw==","signatures":[{"sig":"MEUCIDr84nFpPIAFGaxkbpsZ73Qmvc432sZB9FsxWG/78ncqAiEAgV9bMSHnrt1Iq2VdBXjcUEztFcuuI9JOtQ1vgy2yrIE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":78336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdoqvCRA9TVsSAnZWagAACKQP/2XNoPwRTM7ujpJzZCEO\nIMeR1ECDgIXzo5UlJNXAxRBnBfOjpFKk2KUAiiVBjewxHf+pgnxqsy16EAl5\nWEoNTHRdFrGoGl0GvXe+Q2OJMAoh1ZSzG+0Gm7BnZUZysw6YLxut2TEr9tAe\ngx+BhJxHXunraeEigP4kqrPS4uBaAoA/gIEdpF4DiZtmac/2+m7Wypt0spJ0\nOTfosYZsHXw2rCRU8v8J292SaGl3TWytInIVLp/LO626PKXP++zAxteb2mWW\nC0KFQJQXMDxCJ0CsIHcWbHsjAzjuMwkpLu6J54TTM0kjeRpb6+jKo/tuk93E\nxTCy6UC/ksbS1vWKVX2Yft65iP+Fcc9vxFhRamjLBuJ9A9e6rCznicYYQJpp\n4kq4oRXlpx+e7/d8cgFSKQpF/+n0WGT7Pu3axTnuN6qrYI0tcyTenZWyaqJs\n1jnTqsO3vA0vrZkVFZdxdeooD+YiD4SZ4zoI7+KBkYnK0VPm8CHvPOEinM5q\nl4dp1uV9AV5+eQ5VhjSG4vCnyFbqMWUxNXDroQ7+6KHRgqut9ODCkac4m5Ve\ncEqYPwITNp7pAp+dfO/Mv9ClnlLEOznSNcYKDsV1IvakREH7LwqQRvA+gqLv\n6kx2apFuZzgkSGLzUrMZm9HJ6y/q7KZfZYSAOdCopmiUNgxeC2CyB7n/2UEM\nCl2h\r\n=Ryl2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"module":"index.js","authors":["Pawel Psztyc"],"gitHead":"c61388234dec652de337003b8be1529643f087a3","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"karma start --coverage","start":"es-dev-server --app-index demo/index.html --node-resolve --open --watch","format":"npm run format:eslint && npm run format:prettier","gen:wc":"wca analyze \"*.js\" --outFile custom-elements.json","test:sl":"karma start karma.sl.config.js --compatibility auto --coverage","test:watch":"karma start --auto-watch=true --single-run=false","lint:eslint":"eslint --ext .js,.html . --ignore-path .gitignore","format:eslint":"eslint --ext .js,.html . --fix --ignore-path .gitignore","lint:prettier":"prettier \"**/*.js\" --check --ignore-path .gitignore","format:prettier":"prettier \"**/*.js\" --write --ignore-path .gitignore"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"prettier":{"arrowParens":"always","singleQuote":true},"repository":{"url":"git://github.com/anypoint-web-components/paper-chip-input.git","type":"git"},"_npmVersion":"6.14.8","description":"A material design input with chips adjusted for Anypoint platform.","directories":{},"lint-staged":{"*.js":["eslint --fix"]},"_nodeVersion":"14.13.0","dependencies":{"lit-element":"^2.4.0","@anypoint-web-components/anypoint-chip":"^0.2.1","@anypoint-web-components/anypoint-input":"^0.2.21","@anypoint-web-components/anypoint-autocomplete":"^0.2.6"},"eslintConfig":{"extends":["@open-wc/eslint-config","eslint-config-prettier"],"overrides":[{"files":["**/demo/**/*.js","**/demo/**/*.html"],"rules":{"no-console":"off","no-unused-expressions":"off","class-methods-use-this":"off","import/no-extraneous-dependencies":"off"}},{"files":["**/*.js"],"rules":{"no-continue":"off","no-plusplus":"off","class-methods-use-this":"off"}}]},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.0","sinon":"^9.1.0","eslint":"^7.10.0","prettier":"^2.1.2","deepmerge":"^4.2.2","typescript":"^4.0.3","lint-staged":"^10.4.0","es-dev-server":"^1.57.6","ts-lit-plugin":"^1.2.1","@open-wc/testing":"^2.5.27","@polymer/iron-icons":"^3.0.0","@open-wc/eslint-config":"^3.0.0","@open-wc/testing-karma":"^4.0.7","eslint-config-prettier":"^6.12.0","@polymer/iron-test-helpers":"^3.0.1","typescript-lit-html-plugin":"^0.9.0","@advanced-rest-client/arc-icons":"^3.1.2","@advanced-rest-client/arc-demo-helper":"^1.0.17","@advanced-rest-client/testing-karma-sl":"^1.4.2","@anypoint-web-components/anypoint-checkbox":"^1.1.2"},"_npmOperationalInternal":{"tmp":"tmp/anypoint-chip-input_0.2.4_1601604270714_0.11500594478704618","host":"s3://npm-registry-packages"}},"0.2.5":{"name":"@anypoint-web-components/anypoint-chip-input","version":"0.2.5","keywords":["api-components","input","chip","material-design"],"license":"Apache-2.0","_id":"@anypoint-web-components/anypoint-chip-input@0.2.5","maintainers":[{"name":"carowright","email":"carolina.wright@mulesoft.com"},{"name":"jarrodek","email":"jarrodek@gmail.com"},{"name":"twoplustwoone","email":"francisco.digiandomenico@gmail.com"},{"name":"lbauret","email":"leandro.bauret@mulesoft.com"}],"contributors":[{"name":"Your name can be here!"}],"homepage":"https://github.com/anypoint-web-components/paper-chip-input#readme","bugs":{"url":"https://github.com/anypoint-web-components/paper-chip-input/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"fd7bb794f5dcafb407869a02d0b88eb88f1f043e","tarball":"https://registry.npmjs.org/@anypoint-web-components/anypoint-chip-input/-/anypoint-chip-input-0.2.5.tgz","fileCount":13,"integrity":"sha512-p5ILHWn+r59u5O3fXy+LinEo5Ye626b+Agoog3equEtNbOvgo8AYW4Ibyk1q3sTx/Ib9dYapUFQCApJVDa50tg==","signatures":[{"sig":"MEYCIQCgc++B4LgM64MlRA86Tj1YzqTySBtZu8B3lv4+8+WWSQIhAN9Pi12gan7DSXIhweTtCvRXqQE7UEAwVLIIVOrJ9R3z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPosfCRA9TVsSAnZWagAAVtwP/2ZELcWyAlYrCLvpAJNW\ntGcsj7gOCI10hR7vRDJvt98WZ8JEVoQspdrNtFUoso59bbHfgQZdcr58bGwp\nUk9XjA1whgizghE0/KIanc0rQKT2w2Vo4YoKuaIz1ck39+623kenv3cUb1oA\nMiepMnpGWJcvyEkVm5Rf1W5zFZGucRzG9tRzbAwDG0zFqrD7UC34pfrz+Fzv\nu/iuLJcmHO/K2sACihPCPWR3ZvZRNtGmax5kxUctCVugf2VnEt7IQPzl08nv\nuSdx2wC47sWAL9aYR12J+E9Supnv7UbuxqR2c8poSy1t1wT3srGa7uK4giRb\nA0YKqIgzXh3iDLRIzQSVpnuiQtNSSM32Nurt4SkQltsAPLYLxB8wlypOBmib\n01bqEzFxLE9xj37i805aMlMi88ar2Qxzue/xcmannwwgjecSC+SHy7J4PVq5\nUJDrSqPa9EPaUuXS1yfYnTW4lPrn9hubycuhNVAkQhCBJLObWMGyktaNDKzo\n5Ir9pW2UO+8LdBlgABfWwFUVV0aVBizc+8hNTuA4vYSvOSYbIp7ka2BILbHc\nmB66jLhy5OnAyERGvNnAlYKeffxVfI2JzD+vIAsmLLSKRMrQdGwJoVyMPMsj\nMWmPnOaQMQBESJF7ZWTTJ4/B6fXG/wZ0ytm3BAn7ECYJNAeM24+UtMvmzUFB\nbVnW\r\n=9l2b\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"module":"index.js","authors":["Pawel Psztyc"],"gitHead":"cc4e022f67a7e028deebdaa537d77d0662e511e0","scripts":{"lint":"npm run lint:eslint","test":"web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium firefox webkit","start":"web-dev-server --app-index demo/index.html --node-resolve --open --watch --root-dir .","format":"npm run format:eslint","gen:wc":"wca analyze \"*.js\" --outFile custom-elements.json","lint:types":"tsc","test:watch":"web-test-runner test/**/*.test.js --node-resolve --watch --playwright --browsers chromium","lint:eslint":"eslint --ext .js,.html . --ignore-path .gitignore","format:eslint":"eslint --ext .js,.html . --fix --ignore-path .gitignore"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"repository":{"url":"git://github.com/anypoint-web-components/paper-chip-input.git","type":"git"},"_npmVersion":"6.14.11","description":"A material design input with chips adjusted for Anypoint platform.","directories":{},"lint-staged":{"*.js":["eslint --fix"]},"_nodeVersion":"14.16.0","dependencies":{"lit-element":"^2.4.0","@anypoint-web-components/anypoint-chip":"^0.2.1","@anypoint-web-components/anypoint-input":"^0.2.24","@anypoint-web-components/anypoint-autocomplete":"^0.2.8"},"eslintConfig":{"extends":["@open-wc/eslint-config","eslint-config-prettier"],"overrides":[{"files":["**/demo/**/*.js","**/demo/**/*.html"],"rules":{"no-console":"off","no-unused-expressions":"off","class-methods-use-this":"off","import/no-extraneous-dependencies":"off"}},{"files":["**/*.js"],"rules":{"no-continue":"off","no-plusplus":"off","class-methods-use-this":"off"}}],"ignorePatterns":"*.d.ts"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.8","sinon":"^9.2.4","eslint":"^7.21.0","typescript":"^4.2.2","lint-staged":"^10.5.4","@web/dev-server":"^0.1.8","@open-wc/testing":"^2.5.32","@web/test-runner":"^0.12.15","@polymer/iron-icons":"^3.0.0","@open-wc/eslint-config":"^2.1.0","eslint-config-prettier":"^8.1.0","@polymer/iron-test-helpers":"^3.0.1","typescript-lit-html-plugin":"^0.9.0","@web/test-runner-playwright":"^0.8.4","@advanced-rest-client/arc-icons":"^3.3.1","@advanced-rest-client/arc-demo-helper":"^1.0.17","@anypoint-web-components/anypoint-checkbox":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/anypoint-chip-input_0.2.5_1614711583474_0.8272714378938739","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-09-04T03:05:59.638Z","modified":"2026-04-07T19:31:22.936Z","0.1.0":"2019-09-04T03:05:59.957Z","0.2.0":"2019-10-08T01:42:32.598Z","0.2.1":"2019-12-21T21:46:41.167Z","0.2.2":"2020-06-25T01:10:26.440Z","0.2.3":"2020-09-24T01:16:15.872Z","0.2.4":"2020-10-02T02:04:30.879Z","0.2.5":"2021-03-02T18:59:43.647Z"},"bugs":{"url":"https://github.com/anypoint-web-components/paper-chip-input/issues","email":"arc@mulesoft.com"},"license":"Apache-2.0","homepage":"https://github.com/anypoint-web-components/paper-chip-input#readme","keywords":["api-components","input","chip","material-design"],"repository":{"url":"git://github.com/anypoint-web-components/paper-chip-input.git","type":"git"},"description":"A material design input with chips adjusted for Anypoint platform.","contributors":[{"name":"Your name can be here!"}],"maintainers":[{"email":"jarrodek@gmail.com","name":"jarrodek"},{"email":"alexperez@mulesoft.com","name":"alexperez_march_2024"},{"email":"elmellidiego@gmail.com","name":"dmacias"}],"readme":"# anypoint-chip-input\n\nA material design input with chips styled for Anypoint platform.\n\nThis element extends AnypointInput class.\n\nChips are compact elements that represent an input, attribute, or action.\n\n[![Published on NPM](https://img.shields.io/npm/v/@anypoint-web-components/anypoint-chip-input.svg)](https://www.npmjs.com/package/@anypoint-web-components/anypoint-chip-input)\n\n[![tests](https://github.com/anypoint-web-components/anypoint-chip-input/actions/workflows/tests.yml/badge.svg)](https://github.com/anypoint-web-components/anypoint-chip-input/actions/workflows/tests.yml)\n\n## Usage\n\n### Installation\n\n```sh\nnpm install --save @anypoint-web-components/anypoint-chip-input\n```\n\n### In an html file\n\n```html\n<html>\n  <head>\n    <script type=\"module\">\n      import '@anypoint-web-components/anypoint-chip-input/anypoint-chip-input.js';\n    </script>\n  </head>\n  <body>\n    <anypoint-chip-input></anypoint-chip-input>\n  </body>\n</html>\n```\n\n### In a LitElement\n\n```js\nimport { LitElement, html } from 'lit-element';\nimport '@anypoint-web-components/anypoint-chip-input/anypoint-chip-input.js';\n\nclass SampleElement extends LitElement {\n  render() {\n    return html`\n    <anypoint-chip-input></anypoint-chip-input>\n    `;\n  }\n}\ncustomElements.define('sample-element', SampleElement);\n```\n\n### Input value\n\nThe `value` property represents current user input. The input is cleared each time a suggestion is accepted.\n\nChips value can be read from `chipsValue` property. It also accepts previous values as long as suggestions (`source` property) is set.\n\nYou can directly manipulate chips data model by accessing `chips` property. Note that the element does not observe deep changes in the array. Re-assign the array when changing the model. lit-html handles template rendering efficiently in this case.\n\n### Predefined suggestions\n\nThe input accepts chips value via `chips` property. It is an array of values to render when the element is initialized or at runtime.\n\n```javascript\nconst chips = [\n  {\n    label: 'Chip #1'\n  },\n  {\n    label: 'Chip #2', removable: true\n  },\n  {\n    label: 'Chip #3', icon: svg`...`\n  }\n];\nhtml`<anypoint-chip-input .chips=\"${chips}\">\n  <label slot=\"label\">Enter value</label>\n</anypoint-chip-input>`\n```\n\nChips are required to have a `label` property that is used to render the value.\n\nA chip can have a `removable` property that allows the user to remove the chip from the input.\n\nAn `icon` property allows to render a chip with an icon.\n\n### Chip suggestions\n\nChip input accepts `source` array with a list of suggestions to render in a drop down on user input. It can be list of strings or a list of maps with `value` property and optionally `icon` property.\n\n#### Simple suggestions\n\n```javascript\n\nconst source = [\n  'Apple', 'Apricot', 'Avocado', ...\n];\n\nhtml`<anypoint-chip-input .source=\"${source}\">\n  <label slot=\"label\">Enter value</label>\n</anypoint-chip-input>`\n```\n\n#### Icons suggestions\n\nThe icon is rendered in a chip only.\n\nThe icon property must be an instance of  `SVGTemplateResult` from `lit-html` element.\n\n```javascript\nimport { svg } from 'lit-element';\n\n// Creating icons example\nconst iconWrapper = (tpl) => svg`<svg viewBox=\"0 0 24 24\" preserveAspectRatio=\"xMidYMid meet\" focusable=\"false\" style=\"pointer-events: none; display: block; width: 100%; height: 100%;\">${tpl}</svg>`;\nexport const directionsBike = iconWrapper(svg`<path d=\"M15.5 5.5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM5 12c-2.8 0-5 2.2-5 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5zm0 8.5c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3.5-3.5 3.5 1.6 3.5 3.5-1.6 3.5-3.5 3.5zm5.8-10l2.4-2.4.8.8c1.3 1.3 3 2.1 5.1 2.1V9c-1.5 0-2.7-.6-3.6-1.5l-1.9-1.9c-.5-.4-1-.6-1.6-.6s-1.1.2-1.4.6L7.8 8.4c-.4.4-.6.9-.6 1.4 0 .6.2 1.1.6 1.4L11 14v5h2v-6.2l-2.2-2.3zM19 12c-2.8 0-5 2.2-5 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5zm0 8.5c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3.5-3.5 3.5 1.6 3.5 3.5-1.6 3.5-3.5 3.5z\"></path>`);\nexport const directionsBoat = iconWrapper(svg`<path d=\"M20 21c-1.39 0-2.78-.47-4-1.32-2.44 1.71-5.56 1.71-8 0C6.78 20.53 5.39 21 4 21H2v2h2c1.38 0 2.74-.35 4-.99 2.52 1.29 5.48 1.29 8 0 1.26.65 2.62.99 4 .99h2v-2h-2zM3.95 19H4c1.6 0 3.02-.88 4-2 .98 1.12 2.4 2 4 2s3.02-.88 4-2c.98 1.12 2.4 2 4 2h.05l1.89-6.68c.08-.26.06-.54-.06-.78s-.34-.42-.6-.5L20 10.62V6c0-1.1-.9-2-2-2h-3V1H9v3H6c-1.1 0-2 .9-2 2v4.62l-1.29.42c-.26.08-.48.26-.6.5s-.15.52-.06.78L3.95 19zM6 6h12v3.97L12 8 6 9.97V6z\"></path>`);\nexport const directionsBus = iconWrapper(svg`<path d=\"M4 16c0 .88.39 1.67 1 2.22V20c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h8v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1.78c.61-.55 1-1.34 1-2.22V6c0-3.5-3.58-4-8-4s-8 .5-8 4v10zm3.5 1c-.83 0-1.5-.67-1.5-1.5S6.67 14 7.5 14s1.5.67 1.5 1.5S8.33 17 7.5 17zm9 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm1.5-6H6V6h12v5z\"></path>`);\n\nconst source = [\n  {\n    value: 'Biking',\n    icon: directionsBike\n  }, {\n    value: 'Boat trip',\n    icon: directionsBoat\n  }, {\n    value: 'Bus trip',\n    icon: directionsBus\n  }\n  ...\n];\n\nhtml`<anypoint-chip-input .source=\"${source}\" infoMessage=\"Type 'b' in the input\">\n  <label slot=\"label\">Enter value</label>\n</anypoint-chip-input>`\n```\n\n### Restoring values from suggestions with icons\n\nValue can be restored by passing previous value to `chipsValue` property.\n\n```javascript\nconst source = [\n  {\n    value: 'Biking',\n    icon: directionsBike\n  }, {\n    value: 'Boat trip',\n    icon: directionsBoat\n  }, {\n    value: 'Bus trip',\n    icon: directionsBus\n  }\n  ...\n];\nconst chipsValue = ['Biking', 'Shopping'];\n\nhtml`<anypoint-chip-input\n  .source=\"${source}\"\n  .chipsValue=\"${chipsValue}\"\n>\n  <label slot=\"label\">Enter value</label>\n</anypoint-chip-input>`\n```\n\n### Allowed chips\n\nIt is possible to limit the input to a set list of values by passing allowed list to the `allowed` property.\n\n```javascript\nconst allowed = ['apple', 'Orange', 'BANANA`'];\nhtml`<anypoint-chip-input\n  .allowed=\"${allowed}\"\n  infoMessage=\"Only: Apple, Orange, and Banana\">\n  <label slot=\"label\">Only allowed will become chips and value</label>\n</anypoint-chip-input>`\n```\n\n### Suggestions with IDs\n\nWhen `source` contains an `id` property on an item, the `id` is returned in the `chipsValue` instead of the `value`.\n\n```javascript\nconst source = [\n  {\n    value: 'Biking',\n    icon: directionsBike,\n    id: 'activity-1'\n  }, {\n    value: 'Boat trip',\n    icon: directionsBoat,\n    id: 'activity-2'\n  }, {\n    value: 'Bus trip',\n    icon: directionsBus,\n    id: 'activity-3'\n  }\n  ...\n];\nhtml`<anypoint-chip-input\n  .source=\"${source}\">\n  <label slot=\"label\">Type your favourite fruits</label>\n</anypoint-chip-input>`\n```\n\n### Restoring from IDs\n\nValue can be restored by passing previous value to `chipsValue` property.\n\n```javascript\nconst source = [\n  {\n    value: 'Biking',\n    icon: directionsBike,\n    id: 'activity-1'\n  }, {\n    value: 'Boat trip',\n    icon: directionsBoat,\n    id: 'activity-2'\n  }, {\n    value: 'Bus trip',\n    icon: directionsBus,\n    id: 'activity-3'\n  }\n  ...\n];\nconst value = ['activity-1'];\nhtml`<anypoint-chip-input\n  .source=\"${source}\"\n  .chipsValue=\"${value}\">\n  <label slot=\"label\">Type your favourite fruits</label>\n</anypoint-chip-input>`\n```\n\n## Development\n\n```sh\ngit clone https://github.com/anypoint-web-components/anypoint-chip-input\ncd anypoint-chip-input\nnpm install\n```\n\n### Running the demo locally\n\n```sh\nnpm start\n```\n\n### Running the tests\n\n```sh\nnpm test\n```\n","readmeFilename":"README.md"}