{"_id":"@bonitasoft/uid-textarea","_rev":"3-173cf0631671d252fd939d1a4e4d6ae4","name":"@bonitasoft/uid-textarea","description":"An textarea input with label","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@bonitasoft/uid-textarea","version":"1.0.0","license":"GPLv2","_id":"@bonitasoft/uid-textarea@1.0.0","maintainers":[{"name":"nchabanoles","email":"nicolas.chabanoles@bonitasoft.com"},{"name":"benjaminparisel","email":"benjamin.parisel@bonitasoft.com"},{"name":"jeromecambon","email":"jerome.cambon@bonitasoft.com"},{"name":"bonita","email":"rd.user@bonitasoft.com"}],"homepage":"https://github.com/bonitasoft/web-components/components/uid-textarea#readme","dist":{"shasum":"d7c9bc51b27b7045259ca4c6a6453bf3e9edb5af","tarball":"https://registry.npmjs.org/@bonitasoft/uid-textarea/-/uid-textarea-1.0.0.tgz","fileCount":10,"integrity":"sha512-YwzrflDr75relQArZwt4M2/IozT3/wWcDJWTmKY6tQYuPw0YfEa0K6Mn4OSSLCLozd3YwkH9RHQBY9Ms+jtJhw==","signatures":[{"sig":"MEQCIGH8y4e2TCZwC3U+iv671JDLAKLExm4U4K6n7Ir934mCAiBZk9R2AtB+wyjxhT8gLrTl40LGEuJI5Pqp4rw0qvwifQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80215,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhp277CRA9TVsSAnZWagAAIqMQAIMMU4rarS7p0/k1r8jZ\nQ74NmkcQF3fAJlqO0hds2IB1LhwzehlIagpkvJdzhPwyiiE6FZPwU+46JO2F\n/03POxo+I0gdn/M0MBob5eBP5Tep5x3rSiLE2NXN7AiNq2j6VVw+Jf1kHst+\nFpGoZmYw5aUS2WjUQOyFN7nkvu6mXNWd7stOD5qqMmHn8iEGwjGhCs58vsU+\nQ0jWmbDMKpNn/2xRp12rsBX9y0TuIOGnpXwHB4dcFh32UPIXS7E8ziL6h38k\ns9C0ieuSWuvKyBAb7IKLVZksOC5T+Wg6zvV/tfd4apDcCy9MQBnDgAXlqGUd\nyOfGIrio7QdrNAtKP+lloIUseD+UfwDjJhk6pWWUxu0HGsCqfeWGOKbyOt7W\n/TmktAXMAxzyxHSGOxwbG2iCitQGekjWQ3ef9zhptjouG++mUcvIypUlwMf3\nx8DKJhrw1fGql7ouvyczjN/s04XxIOV9bGEftU+/+AbShcxD4W5REWMr9XFQ\nmS/YYyebVa2GmE5/zTukgW56hQ9PyYSMI2tVlVCzGVfNKnYWb4QZ/r5AScEd\nnSjjyncCP7Z0zN/n6l6Rwt5p0m/9/0dFm3k6h1vZdhuBCQ0qDbriY9uw819e\nkIoC4MG8JM3smXZRpGqPOJlIDITQTJmQzU7+X/G3OIfC/e5K57n7SX9IvgHh\nDaha\r\n=PMPZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/src/index.d.ts","module":"dist/src/index.js","exports":{".":"./dist/src/index.js","./uid-textarea.js":"./dist/src/uid-textarea.js"},"gitHead":"27e4022d23f11da24c355bbfb9df7ab023ab6288","scripts":{"init":"cd ../uid-common && npm i && cd - && npm i","lint":"eslint --ext .ts,.html . --ignore-path .gitignore && prettier \"**/*.ts\" --check --ignore-path .gitignore","test":"tsc && wtr --coverage","build":"tsc && npm run analyze -- --exclude dist","start":"tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"","bundle":"tsc && ./node_modules/.bin/esbuild dist/src/uid-textarea.js --minify-syntax --minify-whitespace --bundle --outfile=dist/uid-textarea.bundle.min.js","format":"eslint --ext .ts,.html . --fix --ignore-path .gitignore && prettier \"**/*.ts\" --write --ignore-path .gitignore","analyze":"cem analyze --litelement","publish":"npm run test:bundle && npm run gen-widget-assets && npm publish --access public","storybook":"tsc && npm run analyze -- --exclude dist && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds -c .storybook/server.mjs\"","gen-widget":"npm run bundle && cwb gen-widget --propertiesFile uidTextarea.json --webComponentBundle dist/uid-textarea.bundle.min.js --outputDir uid_widget","prepublish":"tsc && npm run analyze -- --exclude dist","test:watch":"tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\"","test:bundle":"npm run bundle && sed -e \"s?src/uid-textarea.js?uid-textarea.bundle.min.js?g\" dist/test/uid-textarea.test.js > dist/test/uid-textarea.bundle.test.js && wtr --coverage","storybook:build":"tsc && npm run analyze -- --exclude dist && build-storybook","gen-widget-assets":"cwb gen-widget-assets --propertiesFile uidTextarea.json --webComponentBundle dist/uid-textarea.bundle.min.js --outputDir assets"},"_npmUser":{"name":"bonita","email":"rd.user@bonitasoft.com"},"prettier":{"arrowParens":"avoid","singleQuote":true},"_npmVersion":"8.1.0","description":"An textarea input with label","directories":{},"lint-staged":{"*.ts":["eslint --fix","prettier --write"]},"_nodeVersion":"16.13.0","dependencies":{"lit":"^2.0.0","@bonitasoft/uid-common":"file:../uid-common"},"eslintConfig":{"rules":{"no-shadow":"off","import/extensions":["error","ignorePackages",{"js":"never","ts":"never","jsx":"never","tsx":"never"}],"import/no-unresolved":"off","no-use-before-define":[2,{"classes":false,"functions":false}],"@typescript-eslint/no-shadow":["error"],"@typescript-eslint/no-unused-vars":["error"],"@typescript-eslint/no-inferrable-types":[2,{"ignoreParameters":true,"ignoreProperties":true}]},"parser":"@typescript-eslint/parser","extends":["@open-wc","prettier","plugin:lit/recommended"],"plugins":["@typescript-eslint"],"settings":{"import/resolver":{"node":{"extensions":[".js",".jsx",".ts",".tsx"]}}}},"_hasShrinkwrap":false,"customElements":"custom-elements.json","devDependencies":{"husky":"^4.3.8","tslib":"^2.3.1","eslint":"^7.32.0","esbuild":"^0.13.3","prettier":"^2.4.1","typescript":"^4.4.4","lint-staged":"^10.5.4","concurrently":"^6.3.0","@web/dev-server":"^0.1.25","@open-wc/testing":"3.0.1","@web/test-runner":"0.13.20","@open-wc/eslint-config":"^4.3.0","eslint-config-prettier":"^8.3.0","@typescript-eslint/parser":"^4.31.2","@web/dev-server-storybook":"0.3.8","@typescript-eslint/eslint-plugin":"^4.31.2","@bonitasoft/custom-widget-builder":"0.0.13","@custom-elements-manifest/analyzer":"^0.4.17"},"_npmOperationalInternal":{"tmp":"tmp/uid-textarea_1.0.0_1638362875472_0.9619566002447741","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@bonitasoft/uid-textarea","version":"1.0.1","license":"GPLv2","_id":"@bonitasoft/uid-textarea@1.0.1","maintainers":[{"name":"nchabanoles","email":"nicolas.chabanoles@bonitasoft.com"},{"name":"benjaminparisel","email":"benjamin.parisel@bonitasoft.com"},{"name":"jeromecambon","email":"jerome.cambon@bonitasoft.com"},{"name":"bonita","email":"rd.user@bonitasoft.com"}],"homepage":"https://github.com/bonitasoft/bonita-ui-designer-web-components/tree/main/components/uid-textarea#readme","dist":{"shasum":"16eee339bbe91fae62193aac56693b0f548f5d28","tarball":"https://registry.npmjs.org/@bonitasoft/uid-textarea/-/uid-textarea-1.0.1.tgz","fileCount":10,"integrity":"sha512-EZGaK4ivMwoSgzbKRNb9TTkTIh/ZEVWl8wXS6LFlSfiyOKNROZIM/uLEiLVH6gL/LMP4U7UtFTAEihnDEFVDuw==","signatures":[{"sig":"MEYCIQCPHfZJO0v8W3lVN6LegyHNHEfrcFlGQdTyF5A+TcYzRQIhAOVZodvlNhY5Kv99dn4TFvStDTzvyVisTBhnsAWIZc5u","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80267,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqI/5CRA9TVsSAnZWagAACnEQAIFA+JC6VjlpWIUUMYh/\nngPbtZ13YRPJEvuHagFigGvXxNR4F7pYLXew2h+UPN+7XR+GX7eL9T/QpAsQ\nZ69KOkB/OUL/dSBPZOHU510sOCFJ4NOXgAGcjbKWz6RBXfrdlb1BXh4GIczh\nXHGWGM3MZrMwl7D4ib3Lv06E33UAQd5dtWgAGSN0D2Q8DxJ3Xa4X3e0gMC5K\nOb4NuAW53SzoiQVAMRbwPiYw++Mh/3nt8swN+NWA5X+gqYkxg+sCEU4c8Pkg\nO4sF16tWwwtoe5XbKMPw95/9QQH+QGXiCMgMDj9GlIWbdYIu7OoB/Fj5BHzH\nKsO0Fdj+2plXx0xuCaWAa/HdYmF9ap5LtWRveLssU0DoHBTslAz+RzpiCGsx\nnbRhPlFT+J2ChP/pVIVSiQ2InIcXAR/1jPGzsqTeNQzj4gTfzWRBW84e42W9\n4VPvFNaYfg8isAXp7H9rm1kw/mIcSfXpxyCoeqNBHTIkwAr1VKV7Y2DpDkcB\n6WMrqbRN0/FhW3qr88V3RPMu0ESzYs9NhxrEorCqqUYkMEeooEQUQc6RFYDX\ndupEX0Mg6uRdDtSGtitzy+AXlbUvEDNBlFOiOxtGLIh74OPAM1VL7TCdiniS\nPnsXTVMw24BAdW4OTWEFwOKFPbOyqNSLPnZutV/SVZBCpYY/3Qj1zzgDdB8R\nKpND\r\n=Ds0+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/src/index.d.ts","module":"dist/src/index.js","exports":{".":"./dist/src/index.js","./uid-textarea.js":"./dist/src/uid-textarea.js"},"gitHead":"681540ee7f8a1986e8baa09fb073e9a43b379a29","scripts":{"init":"cd ../uid-common && npm i && cd - && npm i","lint":"eslint --ext .ts,.html . --ignore-path .gitignore && prettier \"**/*.ts\" --check --ignore-path .gitignore","test":"tsc && wtr --coverage","build":"tsc && npm run analyze -- --exclude dist","start":"tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"","bundle":"tsc && ./node_modules/.bin/esbuild dist/src/uid-textarea.js --minify-syntax --minify-whitespace --bundle --outfile=dist/uid-textarea.bundle.min.js","format":"eslint --ext .ts,.html . --fix --ignore-path .gitignore && prettier \"**/*.ts\" --write --ignore-path .gitignore","analyze":"cem analyze --litelement","release":"npm run test:bundle && npm run gen-widget-assets && npm publish --access public","storybook":"tsc && npm run analyze -- --exclude dist && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds -c .storybook/server.mjs\"","gen-widget":"npm run bundle && cwb gen-widget --propertiesFile uidTextarea.json --webComponentBundle dist/uid-textarea.bundle.min.js --outputDir uid_widget","prerelease":"tsc && npm run analyze -- --exclude dist","test:watch":"tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\"","test:bundle":"npm run bundle && sed -e \"s?src/uid-textarea.js?uid-textarea.bundle.min.js?g\" dist/test/uid-textarea.test.js > dist/test/uid-textarea.bundle.test.js && wtr --coverage","storybook:build":"tsc && npm run analyze -- --exclude dist && build-storybook","gen-widget-assets":"cwb gen-widget-assets --propertiesFile uidTextarea.json --webComponentBundle dist/uid-textarea.bundle.min.js --outputDir assets"},"_npmUser":{"name":"bonita","email":"rd.user@bonitasoft.com"},"prettier":{"arrowParens":"avoid","singleQuote":true},"_npmVersion":"8.1.0","description":"An textarea input with label","directories":{},"lint-staged":{"*.ts":["eslint --fix","prettier --write"]},"_nodeVersion":"16.13.0","dependencies":{"lit":"^2.0.0"},"eslintConfig":{"rules":{"no-shadow":"off","import/extensions":["error","ignorePackages",{"js":"never","ts":"never","jsx":"never","tsx":"never"}],"import/no-unresolved":"off","no-use-before-define":[2,{"classes":false,"functions":false}],"@typescript-eslint/no-shadow":["error"],"@typescript-eslint/no-unused-vars":["error"],"@typescript-eslint/no-inferrable-types":[2,{"ignoreParameters":true,"ignoreProperties":true}]},"parser":"@typescript-eslint/parser","extends":["@open-wc","prettier","plugin:lit/recommended"],"plugins":["@typescript-eslint"],"settings":{"import/resolver":{"node":{"extensions":[".js",".jsx",".ts",".tsx"]}}}},"_hasShrinkwrap":false,"customElements":"custom-elements.json","devDependencies":{"husky":"^4.3.8","tslib":"^2.3.1","eslint":"^7.32.0","esbuild":"^0.13.3","prettier":"^2.4.1","typescript":"^4.4.4","lint-staged":"^10.5.4","concurrently":"^6.3.0","@web/dev-server":"^0.1.25","@open-wc/testing":"3.0.1","@web/test-runner":"0.13.20","@bonitasoft/uid-common":"file:../uid-common","@open-wc/eslint-config":"^4.3.0","eslint-config-prettier":"^8.3.0","@typescript-eslint/parser":"^4.31.2","@web/dev-server-storybook":"0.3.8","@typescript-eslint/eslint-plugin":"^4.31.2","@bonitasoft/custom-widget-builder":"0.0.13","@custom-elements-manifest/analyzer":"^0.4.17"},"_npmOperationalInternal":{"tmp":"tmp/uid-textarea_1.0.1_1638436857104_0.7782714829722712","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-12-01T12:47:55.423Z","modified":"2024-06-18T15:06:53.666Z","1.0.0":"2021-12-01T12:47:55.619Z","1.0.1":"2021-12-02T09:20:57.256Z"},"maintainers":[{"email":"pablo.alonso@bonitasoft.com","name":"pablo.alonso"},{"email":"nicolas.chabanoles@bonitasoft.com","name":"nchabanoles"},{"email":"benjamin.parisel@bonitasoft.com","name":"benjaminparisel"},{"email":"jerome.cambon@bonitasoft.com","name":"jeromecambon"},{"email":"rd.user@bonitasoft.com","name":"bonita"}],"license":"GPLv2","homepage":"https://github.com/bonitasoft/bonita-ui-designer-web-components/tree/main/components/uid-textarea#readme","readme":"# \\<uid-textarea>\n![npmVersion](https://img.shields.io/npm/v/@bonitasoft/uid-textarea?color=blue&style=plastic)\n\nSimple textarea (with label) web component.\n\n(This webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation)\n\n# ➤ Using the component\n\n## Installation\n\n```bash\nnpm i @bonitasoft/uid-textarea\n```\n\n## Usage\n\n```html\n<script type=\"module\">\n  import '@bonitasoft/uid-textarea/dist/uid-textarea.bundle.min.js';\n</script>\n\n<uid-textarea></uid-textarea>\n```\n\n## Attributes\n\n| Attribute        | Type      | Default | Possible values    |\n|------------------|-----------|---------|--------------------|\n| `id`             | `string`  | \"\"      |                    |\n| `label`          | `string`  | \"Default label\"      |                    |\n| `label-hidden`   | `boolean` | false   |                    |\n| `label-position` | `string`  | \"top\"   | left top           |\n| `label-width`    | `string`  | \"4\"     |                    |\n| `max-length`     | `string`  | \"\"      |                    |\n| `min-length`     | `string`  | \"\"      |                    |\n| `readonly`       | `boolean` | false   |                    |\n| `required`       | `boolean` | false   |                    |\n| `value`          | `string`  | \"\"      |                    |\n\n\n## Events\n\n| Event         | Type                  |\n|---------------|-----------------------|\n| `valueChange` | `CustomEvent<string>` |\n\n<br>\n\n# ➤ Developing the component\n\n## Linting and formatting\n\nTo scan the project for linting and formatting errors, run\n\n```bash\nnpm run lint\n```\n\nTo automatically fix linting and formatting errors, run\n\n```bash\nnpm run format\n```\n\n## Testing with Web Test Runner\n\nTo execute a single test run:\n\n```bash\nnpm run test\n```\n\nTo run the tests in interactive watch mode run:\n\n```bash\nnpm run test:watch\n```\n\n## Demoing with Storybook\n\nTo run a local instance of Storybook for your component, run\n\n```bash\nnpm run storybook\n```\n\nTo build a production version of Storybook, run\n\n```bash\nnpm run storybook:build\n```\n\n\n## Tooling configs\n\nFor most of the tools, the configuration is in the `package.json` to reduce the amount of files in your project.\n\nIf you customize the configuration a lot, you can consider moving them to individual files.\n\n## Local Demo with `web-dev-server`\n\n```bash\nnpm start\n```\n\nTo run a local development server that serves the basic demo located in `demo/index.html`\n\n\n## Publish npm package\n\nTo generate & test the web component bundle, and publish it:\n```bash\nnpm run publish\n```\n","readmeFilename":"README.md"}