Repository navigation
feat(TextInput,TextArea): tell a touch keyboard what the field holds - #8166
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report🔎 Preview ·
|
| Component | Size | LoC | Visual · A11y · RTL |
|---|---|---|---|
| Field | 39.6 kB (0) · 8.3 kB CSS (0) | — | ✗ · ✓ · — |
| FieldLabel | 33.3 kB (0) · 5.9 kB CSS (0) | — | ✗ · ✓ · — |
| lab/ChatEmojiPicker | 62.9 kB (+192 B) · 773 B CSS (0) | — | — · — · — |
28 more components
| Component | Size | LoC | Visual · A11y · RTL |
|---|---|---|---|
| lab/ChatReactionBar | 63.5 kB (+180 B) · 1.1 kB CSS (0) | — | — · — · — |
| lab/MobileTokenizer | 99.2 kB (+159 B) · 880 B CSS (0) | — | — · — · — |
| lab/EmojiPicker | 68.3 kB (+158 B) · 722 B CSS (0) | — | — · — · — |
| lab/TransferListSelector | 78.8 kB (+155 B) · 1.9 kB CSS (0) | — | — · — · — |
| lab/Comments | 230.2 kB (+154 B) · 2.5 kB CSS (0) | — | — · — · — |
| lab/TransferList | 72.5 kB (+153 B) · 1.7 kB CSS (0) | — | — · — · — |
| TextInput · Storybook | 50.9 kB (+149 B) · 10.9 kB CSS (0) | 419 (+18) | ✓ · ✓ · — |
| lab/CommentComposer | 100.5 kB (+148 B) · 1.9 kB CSS (0) | — | — · — · — |
| PowerSearch | 180.6 kB (+139 B) · 20.5 kB CSS (0) | — | — · — · — |
| lab/CommentThread | 224.9 kB (+139 B) · 2.4 kB CSS (0) | — | — · — · — |
| richtext/RichTextEditorToolbar | 219.7 kB (+132 B) · 454 B CSS (0) | — | — · — · — |
| lab/MobilePowerSearch | 164.9 kB (+125 B) · 1.2 kB CSS (0) | — | — · — · — |
| TextArea · Storybook | 45.4 kB (+112 B) · 9.8 kB CSS (0) | 496 (+14) | ✓ · ✓ · ✓ |
| ComplexSelector | 53.5 kB (0) · 11.1 kB CSS (0) | — | — · — · — |
| DateInput | 98.7 kB (0) · 15.3 kB CSS (0) | — | — · — · — |
| DateRangeInput | 67.6 kB (0) · 11.7 kB CSS (0) | — | — · — · — |
| DateTimeInput | 111.0 kB (0) · 15.8 kB CSS (0) | — | — · — · — |
| FileInput | 51.8 kB (0) · 10.7 kB CSS (0) | — | — · — · — |
| InputGroup | 40.2 kB (0) · 8.4 kB CSS (0) | — | — · — · — |
| MultiSelector | 70.9 kB (0) · 15.2 kB CSS (0) | — | — · — · — |
| NumberInput | 53.1 kB (0) · 11.2 kB CSS (0) | — | — · — · — |
| Pagination | 84.1 kB (0) · 15.9 kB CSS (0) | — | — · — · — |
| Selector | 75.0 kB (0) · 15.6 kB CSS (0) | — | — · — · — |
| TimeInput | 86.5 kB (0) · 14.3 kB CSS (0) | — | — · — · — |
| Tokenizer | 68.2 kB (0) · 17.1 kB CSS (0) | — | — · — · — |
| Typeahead | 60.9 kB (0) · 11.8 kB CSS (0) | — | — · — · — |
| lab/ListInput | 80.0 kB (0) · 1.6 kB CSS (0) | — | — · — · — |
| richtext/RichTextEditor | 274.3 kB (0) · 2.6 kB CSS (0) | — | — · — · — |
Visual changes: 2 snapshots in 1 component
A change is a question for the reviewer, not a failure.
| Component · story | Before | After | Diff |
|---|---|---|---|
| Field · Default (neutral, light) | ![]() |
![]() |
![]() |
| Field · Default (neutral, dark) | ![]() |
![]() |
![]() |
Package size: @astryxdesign/core 5.81 MB packed (+5.4 kB); no new dependencies.
API changes: core +15 · ~3 · −0
Committed API report behind this build: core 23 rows; run pnpm api:report.
18 API changes (advisory)
| Package | Where | Signature | Usage | |
|---|---|---|---|---|
| + | core |
. · Components · component TextArea |
prop autoCapitalize?: AutoCapitalize |
<TextArea autoCapitalize={…} /> |
| + | core |
. · Components · component TextArea |
prop enterKeyHint?: EnterKeyHint |
<TextArea enterKeyHint={…} /> |
| + | core |
. · Components · component TextArea |
prop hasAutoCorrect?: boolean |
<TextArea hasAutoCorrect /> |
| + | core |
. · Components · component TextArea |
prop inputMode?: InputMode |
<TextArea inputMode={…} /> |
| + | core |
. · Components · component TextInput |
prop autoCapitalize?: AutoCapitalize |
<TextInput autoCapitalize={…} /> |
| + | core |
. · Components · component TextInput |
prop enterKeyHint?: EnterKeyHint |
<TextInput enterKeyHint={…} /> |
| + | core |
. · Components · component TextInput |
prop hasAutoCorrect?: boolean |
<TextInput hasAutoCorrect /> |
| + | core |
. · Components · component TextInput |
prop hasSpellCheck?: boolean |
<TextInput hasSpellCheck /> |
| + | core |
. · Components · component TextInput |
prop inputMode?: InputMode |
<TextInput inputMode={…} /> |
| + | core |
. · Types · type AutoCapitalize |
type AutoCapitalize = 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters' |
import type {AutoCapitalize} from '@astryxdesign/core' |
| + | core |
. · Types · type EnterKeyHint |
type EnterKeyHint = 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' |
import type {EnterKeyHint} from '@astryxdesign/core' |
| + | core |
. · Types · type InputMode |
type InputMode = 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search' |
import type {InputMode} from '@astryxdesign/core' |
| + | core |
./Field · Also exported from an earlier entry point · AutoCapitalize |
AutoCapitalize (.) |
import {AutoCapitalize} from '@astryxdesign/core/Field' |
| + | core |
./Field · Also exported from an earlier entry point · EnterKeyHint |
EnterKeyHint (.) |
import {EnterKeyHint} from '@astryxdesign/core/Field' |
| + | core |
./Field · Also exported from an earlier entry point · InputMode |
InputMode (.) |
import {InputMode} from '@astryxdesign/core/Field' |
| ~ | core |
. · Types · interface TextAreaProps |
interface TextAreaProps extends Omit<FieldInputBaseProps, 'onChange' | 'defaultValue'> (props of TextArea) → interface TextAreaProps extends Omit<FieldInputBaseProps, 'onChange' | 'defaultValue'>, TextEntryTraitProps (props of TextArea) |
import type {TextAreaProps} from '@astryxdesign/core' |
| ~ | core |
. · Types · interface TextInputProps |
interface TextInputProps extends Omit<FieldInputBaseProps, 'onChange' | 'defaultValue'> (props of TextInput) → interface TextInputProps extends Omit<FieldInputBaseProps, 'onChange' | 'defaultValue'>, TextEntryTraitProps (props of TextInput) |
import type {TextInputProps} from '@astryxdesign/core' |
| ~ | core |
. · Types · type TextInputType |
type TextInputType = 'text' | 'password' | 'email' → type TextInputType = 'text' | 'password' | 'email' | 'search' | 'tel' | 'url' |
import type {TextInputType} from '@astryxdesign/core' |
Touched components checked; add ci:run-visual, ci:run-a11y or ci:run-rtl to run the full suites.
Generated by PR Enrichment workflow | View full report
There was a problem hiding this comment.
Approval waits on an engineering owner providing or identifying the governing spec for this addition. No current spec admits the new TextInput/TextArea keyboard props (enterKeyHint, inputMode, autoCapitalize, hasAutoCorrect, and hasSpellCheck on TextInput), the exported TextEntry* types or TextInput's search, tel and url types, and none decides whether TextInput's new props join its portable (Swift) contract or stay web-only. An engineering owner can record that decision by commenting /approve-spec followed by the full head SHA on this pull request, and the author may do so if they are an engineering owner. Whatever the decision, these fixes are needed:
- The committed
TextInput.swiftbinding is stale, sopackages/native/src/contract/contracts.test.tsand thetestcheck fail: regenerate it withpnpm -F @astryxdesign/native generate:apple, or mark the new props web-only inpackages/native/src/components/TextInput.ts, whichever matches the decision. TextInput.tsxsetsspellCheck={hasSpellCheck}after the props spread, so an untypedspellCheckthat used to reach the input is now dropped whenhasSpellCheckis unset.- The new sentence saying that turning spell checking off stops iOS from replacing quotes and dashes needs iOS Safari evidence, or should be removed.
[Automated review]
| autoCapitalize, | ||
| hasAutoCorrect, | ||
| })} | ||
| spellCheck={hasSpellCheck} |
There was a problem hiding this comment.
spellCheck={hasSpellCheck} comes after {...fieldProps}, so when hasSpellCheck is unset it overrides an untyped spellCheck with undefined. An untyped spellCheck: false rendered spellcheck="false" on the base and renders nothing here. Render it only when it is set (for example {...(hasSpellCheck != null && {spellCheck: hasSpellCheck})}, or inside textEntryTraitAttributes), the way the other traits leave unset keys out.
| { | ||
| name: 'type', | ||
| type: "'text' | 'password' | 'email'", | ||
| type: "'text' | 'password' | 'email' | 'search' | 'tel' | 'url'", |
There was a problem hiding this comment.
The native contract reads this file, so these type values and the five new props project into the generated Swift TextInputProps. The committed packages/native/apple/Sources/AstryxNative/Generated/TextInput.swift was not regenerated, and packages/native/src/contract/contracts.test.ts fails with "TextInput.swift is stale". Regenerate it with pnpm -F @astryxdesign/native generate:apple, or list the props under webOnly in packages/native/src/components/TextInput.ts if they should stay web-only.
| name: 'hasSpellCheck', | ||
| type: 'boolean', | ||
| description: | ||
| 'Whether misspelled words are underlined (the native `spellcheck`). Turning it off also stops iOS from replacing quotes and dashes with their typographic forms. Unset, the browser decides.', |
There was a problem hiding this comment.
The iOS evidence in the description does not cover this claim (turning spell checking off also stops smart quotes and dashes). spec:AST-013 FR10 asks for Safari evidence for a claim about a named browser, so please attach that observation or drop the sentence. It also appears in TextArea.doc.mjs, in both Chinese entries and in both JSDoc comments.
There was a problem hiding this comment.
Approval waits on an engineering owner providing or identifying the governing spec for the new TextInput and TextArea keyboard props (enterKeyHint, inputMode, autoCapitalize, hasAutoCorrect, and hasSpellCheck on TextInput), the exported TextEntry* types and TextInput's search, tel and url types, including whether TextInput's new props belong in its portable Swift contract, as this head generates them, or stay web-only like autoComplete. An engineering owner records that decision by commenting /approve-spec followed by the full head SHA on this pull request, and the author may do so if they are an engineering owner. The regenerated Swift binding now matches its generator; two fixes are still needed whatever the decision:
TextInput.tsxsetsspellCheck={hasSpellCheck}after the props spread, so an untypedspellCheckthat used to reach the input is now dropped whenhasSpellCheckis unset; render it only when it is set, as the other traits are.- The sentence saying that turning spell checking off stops iOS from replacing quotes and dashes needs iOS Safari evidence, or should be removed.
[Automated review]
There was a problem hiding this comment.
Approval waits on an engineering owner providing or identifying the governing spec for the new TextInput and TextArea keyboard props (enterKeyHint, inputMode, autoCapitalize, hasAutoCorrect, and hasSpellCheck on TextInput), the exported TextEntry* types and TextInput's search, tel and url types, including where TextInput's new props belong under spec:AST-082 FR3 and DEC-14, which keep in the core only props that every platform offering the component honors, since this head generates them into the Swift contract for both iOS and macOS. An engineering owner records that decision by commenting /approve-spec followed by the full head SHA on this pull request, and the author may do so if they are an engineering owner. Two fixes are needed whatever the decision:
TextInput.tsxsetsspellCheck={hasSpellCheck}after the props spread, so an untypedspellCheckthat used to reach the input is dropped whilehasSpellCheckis unset; render it only when it is set, as the other traits are.- The new sentence saying that turning spell checking off stops iOS from replacing quotes and dashes needs iOS Safari evidence, or should be removed.
[Automated review]
There was a problem hiding this comment.
Approval waits on an engineering owner providing or identifying the governing spec for the new TextInput and TextArea keyboard props (enterKeyHint, inputMode, autoCapitalize, hasAutoCorrect, and hasSpellCheck on TextInput), the exported TextEntry* types and TextInput's search, tel and url types, including where TextInput's new props belong under spec:AST-082 FR3 and DEC-14, since this head generates them into the Swift contract for both iOS and macOS. An engineering owner records that decision by commenting /approve-spec followed by the full head SHA on this pull request, and the author may do so if they are an engineering owner. The earlier spellCheck and smart-punctuation fixes are in; one fix is still needed whatever the decision:
- The
autoCapitalizedocs say iOS leaves password and email fields uncapitalized, but the iOS screenshots show neither field (spec:AST-013FR10): attach that observation, or narrow the sentence to the default and URL cases they show.
[Automated review]
| name: 'autoCapitalize', | ||
| type: "'none' | 'sentences' | 'words' | 'characters'", | ||
| description: | ||
| 'When a touch keyboard capitalizes as you type (the native `autocapitalize`). Unset, iOS capitalizes sentences except in password, email and URL fields.', |
There was a problem hiding this comment.
This sentence names iOS behavior for password and email fields, but the iOS screenshots in the description show only default fields and the url field. spec:AST-013 FR10 asks for evidence from the actual browser for a claim about a named browser: please attach an iOS Safari observation of an unset type="email" and type="password" field, or narrow the sentence to the cases shown. The same sentence is at TextArea.doc.mjs:281 and in both Chinese entries.
There was a problem hiding this comment.
Approval waits on an engineering owner deciding whether to admit this touch-keyboard API: the current component:TextInput record closes type to text, password and email and leaves keyboard hints uncontracted, and component:TextArea admits none of the new traits, so admitting enterKeyHint, inputMode, autoCapitalize, hasAutoCorrect, TextInput's hasSpellCheck, the search, tel and url types and the TextEntry* exports means updating those two records and deciding whether TextInput's new props belong in its portable Swift contract under spec:AST-082 FR3 and DEC-14. An engineering owner records that decision by commenting /approve-spec followed by the full head SHA on this pull request, and the author may do so as an engineering owner. One fix is needed whatever the decision:
- The
autoCapitalizedocs say iOS leaves password and email fields uncapitalized, but the iOS screenshots show neither field (spec:AST-013FR10): attach that observation, or narrow the sentence to the default and URL cases they show.
[Automated review]
There was a problem hiding this comment.
Approval waits on an engineering owner deciding whether to admit this touch-keyboard API: the current component:TextInput record closes type to text, password and email and leaves keyboard hints uncontracted, and component:TextArea admits none of the new traits, so admitting enterKeyHint, inputMode, autoCapitalize, hasAutoCorrect, TextInput's hasSpellCheck, the search, tel and url types and the TextEntry* exports means updating those two records and deciding whether TextInput's new props belong in its portable Swift contract under spec:AST-082 FR3 and DEC-14. An engineering owner records that decision by amending the two records, either on main or in this pull request approved by commenting /approve-spec followed by the full head SHA, and the author may do so as an engineering owner. Whatever the decision, the iOS claims in Field/textEntryTraits.ts (the keyboard list on TextEntryInputMode and the password and email sentence in the file header) need iOS Safari evidence, or narrowing to the cases the screenshots show, as the docs now are.
[Automated review]
| * Which touch keyboard a field asks for. iOS shows the phone pad for `tel`, | ||
| * the number pad for `numeric`, the decimal pad for `decimal`, the URL and | ||
| * email keyboards for `url` and `email`, the web-search keyboard (a period | ||
| * key and a Go key, whatever `enterKeyHint` says) for `search`, and no | ||
| * keyboard for `none`. |
There was a problem hiding this comment.
The iOS screenshots show inputMode="numeric" (number pad) and inputmode="search" (period and Go), and the phone pad and URL keyboard only through type="tel" and type="url"; none shows inputMode="decimal", "email" or "none". spec:AST-013 FR10 asks for evidence from the actual browser for a claim about a named browser: please attach those iOS observations or cut this list to the cases shown.
| * An absent prop renders no attribute, so the browser keeps its own default: | ||
| * on iOS a field capitalizes sentences and corrects words, except password, | ||
| * email and url fields, which do neither. |
There was a problem hiding this comment.
The autoCapitalize docs were narrowed to what the screenshots show, but this header still says password and email fields neither capitalize nor correct on iOS, and that every other field corrects words; no iOS screenshot shows those cases. Please narrow it the same way or attach the observations (spec:AST-013 FR10).
79f1dfd to
941d194
Compare
There was a problem hiding this comment.
The new keyboard-trait props and type values match the current TextInput and TextArea specs, and fields that set none of them render exactly as before. One change is still needed: two comments in packages/core/src/Field/textEntryTraits.ts describe iOS behavior that the iOS screenshots in the description don't show, namely the InputMode comment (lines 44-48) for decimal, email, url, tel and none, and the file header (lines 21-23) for password and email fields. Please narrow both to what the screenshots show, as the .doc.mjs entries already are, or add iOS Safari evidence for those cases.
[Automated review]
941d194 to
3e22601
Compare
|
Both narrowed in 3e22601 to what the iOS screenshots show:
The head also rebases onto main through #9429, which changed these files' imports. |
There was a problem hiding this comment.
The new keyboard props and type values match the current TextInput and TextArea specs, and fields that set none of them render exactly as before. One fix remains: the enterKeyHint docs say Chrome for Android shows Go on a form's last field when no hint is set, but none of the Android screenshots shows that case, so either drop that clause (in Field/textEntryTraits.ts and both enterKeyHint entries in TextInput.doc.mjs) or add an Android frame of it.
[Automated review]
| * key; with no hint, a single-line field's key reads Next while another field | ||
| * follows and Go on the last one, a multi-line field's keeps Return, and a |
There was a problem hiding this comment.
The Android frames in the description show Next for a field with no hint, and Go only for a type="url" field with enterKeyHint="go" that is last; none shows a no-hint field last in its form. spec:AST-013 FR10 asks for evidence from the named browser, so either drop "and Go on the last one" here and in both enterKeyHint entries of TextInput.doc.mjs, or add that Android frame.
3e22601 to
cc72ec6
Compare
|
Dropped in cc72ec6: the no-hint "Go on the last one" clause is gone from |
There was a problem hiding this comment.
This looks ready to approve: the new keyboard props and type values match the current TextInput and TextArea specs, fields that set none of them render exactly as before, and the iOS and Android notes left in the docs now match the screenshots in the description. Because the pull request also edits the two component specs, the repository's spec gate still waits for an engineering owner (you can do this as one) to comment /approve-spec with the full head SHA, and CI has not run yet on this draft.
[Automated review]
cc72ec6 to
d9b0025
Compare
There was a problem hiding this comment.
This looks ready to approve: the new keyboard props and type values match the current TextInput and TextArea specs, fields that set none of them render exactly as before, and the tests, the two Chromium touch specs and the iOS and Android screenshots back every claim. One optional cleanup: the new file header in Field/textEntryTraits.ts runs well past the repository's 12-line header guideline and repeats the props' JSDoc, so it can be trimmed. Merging still needs an engineering owner's /approve-spec for this head, since the pull request edits two spec records.
[Automated review]
| * A touch keyboard reads these traits from the focused element: which keys it | ||
| * shows (`inputmode`), what its Return key says (`enterkeyhint`), whether it | ||
| * capitalizes (`autocapitalize`) and corrects (`autocorrect`) as you type, and | ||
| * whether misspellings are underlined (`spellcheck`). On iOS Safari each | ||
| * attribute becomes the matching UIKit text-input trait (`keyboardType`, | ||
| * `returnKeyType`, `autocapitalizationType`, `autocorrectionType`, | ||
| * `spellCheckingType`). | ||
| * | ||
| * An absent prop renders no attribute, so the browser keeps its own default: | ||
| * on iOS a field capitalizes sentences, except a URL field. |
There was a problem hiding this comment.
Non-blocking: this header runs 26 lines, past the about-12-line file-header limit in the source-comment guidance, and lines 21-22 repeat the TextEntryTraitProps JSDoc. Keep @file, @input, @output, @position and SYNC: and drop lines 13-22, or move the first paragraph into the TextEntryTraitProps JSDoc as: "A touch keyboard reads these traits from the focused element. An absent prop renders no attribute, so the browser keeps its own default."
component:TextInput FR16, AR6 and DEC-1; component:TextArea FR13. New props enterKeyHint, inputMode, autoCapitalize and hasAutoCorrect on TextInput and TextArea, plus hasSpellCheck on TextInput, and the search, tel and url input types. Each renders the native attribute of the same name and nothing when unset, so existing fields keep the browser's defaults; Enter keeps doing what it did whatever the Return key says. The value types are closed unions exported from the package entry, EnterKeyHint, InputMode and AutoCapitalize (the HTML-standard values, off and on included), defined once in Field/textEntryTraits.ts. A public type test pins each union, types both fields' props with it, and rejects an arbitrary or unnarrowed string. The Swift contract carries none of the new props or types, since the Swift field applies none of them yet (component:swift/TextInput FR6): they are web-only, and `type` projects onto text, password and email, so the generated Swift is unchanged. The records' implementation and evidence gaps for these props are closed, and two Chromium specs check, on a phone viewport with touch emulation, that the input or textarea a tap focuses carries exactly the attributes its props set.
d9b0025 to
69264cf
Compare
|
Trimmed in 69264cf: the header keeps |
There was a problem hiding this comment.
The new keyboard props, type values and exported unions match the current TextInput and TextArea specs, fields that set none of them render exactly as before, and the unit, type and Chromium touch tests pass on this head. What remains is the repository's spec-owner gate for the two record edits: an engineering owner, the author included if they are one, records it by commenting /approve-spec followed by the full head SHA.
[Automated review]
|
/approve-spec 69264cf |






User need
On a phone the keyboard is part of the form: a search box wants a Search key, a phone number the phone pad, a one-time code the number pad, a username no capitalization or correction. TextInput and TextArea can't say so today: these props are type errors and
typetakes onlytext,passwordandemail, so every field opens the browser's default keyboard. #6307 asks forinputModeandtype="search"(thanks to bmvantunes).Problem and solution fit
enterKeyHint,inputMode,autoCapitalizeandhasAutoCorrecton TextInput and TextArea, plushasSpellCheckon TextInput (TextArea already has it). Each renders its native attribute (autocorrect="on"/"off",spellcheck="true"/"false") and nothing when unset, so existing fields keep the browser's defaults.typealso takessearch(a searchbox),telandurl.Field/textEntryTraits.ts, feeds both fields.Current specification
component:TextInputFR16, AR6 and DEC-1, andcomponent:TextAreaFR13, recorded in #9424.component:swift/TextInputFR6: the Swift contract carries none of these until the Swift field applies them. This pull request closes the records' implementation and evidence gaps for these props.Public delta and caller burden
typevalues above, optional and additive: a patch[feat]. An unset prop renders nothing.stringwidening, so TypeScript rejects any other value:EnterKeyHint(enter,done,go,next,previous,search,send),InputMode(none,text,tel,url,email,numeric,decimal,search) andAutoCapitalize(off,none,on,sentences,words,characters).type="search"gives the field the searchbox role.typeprojects ontotext,passwordandemail, so the generated Swift is identical to main's.Design and alternatives
DEC-1's model: only the caller knows that a field holds a phone number or a one-time code, so the caller chooses; the props keep the native names, with the on/off natives as
has…booleans, and each value set is a closed union. Rejected: admitting the DOM attributes through the shared base props (every component would take them, and the boolean natives break thehas…naming), and deriving the keyboard fromtype(iOS already does for email, URL, phone and password, but a Search key or a code's number pad is intent only the caller knows).Evidence
TextInputKeyboardTraits.a11y.chromium.spec.tsandTextAreaKeyboardTraits.a11y.chromium.spec.tstap every field of the Keyboard Traits stories and read exactly the attributes its props set, and none it leaves unset: 20 of 20 runs alone, and 20 of 20 at 4 workers on two pinned cores.hasAutoCorrectandhasSpellCheckon and off;typerenderssearch(a searchbox),telandurl; Enter callsonEnterunder everyenterKeyHint; TextArea's Return stays a line break.textEntryTraits.public.test.ts, run bypnpm typecheck): each union is exactly the HTML-standard values, both fields' props use it, and an arbitrary or unnarrowed string is rejected. Widening the three unions withstringmakes it report 16 errors.Scope
Writing rubric results
Testing
ASTRYX_STRICT_LINT=1 pnpm lint) with the comment-provenance baseline check, Prettier, the repo and knowledge checks, and the Field, TextInput and TextArea suites (426 tests, the type test included) pass. Carried, since this head changes only comments: at d9b0025 the build,generate:apple(the Swift unchanged) and the native contract and CLI documentation suites; at 3e22601 the two keyboard-trait specs, 20 of 20 runs alone; at 941d194, before the rebases onto main, the full UI suite (17,856 of 17,857; the one failure,motion/roles.test.ts, failed on main at that base and is fixed by chore(core): the touch motion tables register FR4's context-menu springs as roles #9432), the node suite (all but the twocache.test.mjslock tests that fail on this machine without the change too, fix(cli): a crashed run's release install is recognized by the Node it ran on, whatever its name #8520) and the specs at 4 workers on two pinned cores (20 of 20).