{"_id":"@dojo-ng/text-area","name":"@dojo-ng/text-area","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@dojo-ng/text-area","version":"0.1.0","license":"BSD-3-Clause","description":"Dojo NG text-area web component","type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"tsc -p tsconfig.json","clean":"rm -rf dist"},"dependencies":{"@dojo-ng/dojo-element":"^0.1.0","@dojo-ng/label":"^0.1.0","@dojo-ng/helper-text":"^0.1.0","lit":"^3.3.0"},"_id":"@dojo-ng/text-area@0.1.0","_nodeVersion":"22.23.1","_npmVersion":"10.9.8","dist":{"integrity":"sha512-z4Uudf1pBZkIhD4QkP/tH7wpOYBIm6bFKQjUpdH5rEx9NYsMz+ldkyh6vLw6bXuy2aFFVRuWT3XJUR4nCXgkNw==","shasum":"014906243aa7280f5d539ecda59a581a48fe0ec6","tarball":"https://registry.npmjs.org/@dojo-ng/text-area/-/text-area-0.1.0.tgz","fileCount":8,"unpackedSize":13641,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDZU2xPzj2te4dt5KcNCqAnnH2ZHKaaZe86ku+U+zO3iwIhAMfhHobD5NQVWW4wT1Gy18qojFvDifj4d/J7HA2gHYed"}]},"_npmUser":{"name":"bitranch","email":"bill@bitranch.com"},"directories":{},"maintainers":[{"name":"saysomething","email":"joshs@holmescorp.com"},{"name":"bitranch","email":"bill@bitranch.com"},{"name":"jepe","email":"jeffreyp@holmescorp.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/text-area_0.1.0_1788374440858_0.13263788070268512"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-02T18:40:40.569Z","0.1.0":"2026-09-02T18:40:41.018Z","modified":"2026-09-02T18:40:41.485Z"},"maintainers":[{"name":"saysomething","email":"joshs@holmescorp.com"},{"name":"bitranch","email":"bill@bitranch.com"},{"name":"jepe","email":"jeffreyp@holmescorp.com"}],"description":"Dojo NG text-area web component","license":"BSD-3-Clause","readme":"# @dojo-ng/text-area\n\n`<dj-text-area>` — A form-associated multi-line text field, composing `<dj-label>` and `<dj-helper-text>`.\n\nPart of [Dojo NG](../../README.md), a framework-agnostic web component library built on Lit. BSD-3-Clause.\n\nA form-associated multi-line text field, composing `<dj-label>` and `<dj-helper-text>`. Same form/validity model as `<dj-text-input>`.\n\n## Install\n\n```bash\nnpm install @dojo-ng/text-area\n```\n\n## Usage\n\nImport the package to register the custom element, then use the tag.\n\nSet `rows` for the initial height.\n\n```html\n<dj-text-area label=\"Notes\" rows=\"4\" maxlength=\"500\"></dj-text-area>\n```\n\n## Properties\n\n`↻` marks an attribute reflected to the DOM; a dash means the property is set in JavaScript only.\n\n| Property | Attribute | Type | Default |\n|---|---|---|---|\n| `value` | value | `string` | `\"\"` |\n| `name` | name ↻ | `string` | — |\n| `placeholder` | placeholder | `string` | — |\n| `label` | label | `string` | — |\n| `helperText` | helper-text | `string` | — |\n| `rows` | rows | `number` | `3` |\n| `cols` | cols | `number` | — |\n| `wrap` | wrap | `\"hard\" \\| \"soft\" \\| \"off\"` | — |\n| `disabled` | disabled ↻ | `boolean` | `false` |\n| `readonly` | readonly ↻ | `boolean` | `false` |\n| `required` | required ↻ | `boolean` | `false` |\n| `labelHidden` | label-hidden | `boolean` | `false` |\n| `minlength` | minlength | `number` | — |\n| `maxlength` | maxlength | `number` | — |\n\n**Parts:** `label`, `control`, `input`, `helper-text`\n\n**Events:** `change`\n\n**Methods:** `checkValidity(): boolean`, `reportValidity(): boolean`, `setCustomValidity(message: string)`, `focus(options: FocusOptions)`, `blur()`\n\n## Theming\n\nStyled with Dojo NG `--dj-*` design tokens and exposes `::part()` hooks for targeted overrides.\n\n## Accessibility and i18n\n\nFollows the project's WCAG 2.2 AA and localization conventions.\n\n## More\n\nLive, interactive examples are in the playground (`playground/index.html`). For the full API reference, theming, accessibility, and localization guides, see the [Dojo NG documentation](../../README.md).\n","readmeFilename":"README.md","_rev":"1-a50eec157420ab6e5efd9038082bd769"}