@swc-uxp-wrappers/textfield
v2.0.0
Published
UXP wrapper of the @spectrum-web-components/textfield component
Downloads
18
Readme
Description
For detailed README regarding
@spectrum-web-components/textfield
refer this linkDetailed specification regarding
@spectrum-web-components/textfield
support in UXP through@swc-uxp-wrappers/textfield
refer this link
Usage
yarn add @swc-uxp-wrappers/textfield
Import the side effectful registration of <sp-textfield>
via:
import '@swc-uxp-wrappers/textfield/sp-textfield.js';
When looking to leverage the Textfield
base class as a type and/or for extension purposes, do so via:
import { Textfield } from '@swc-uxp-wrappers/textfield';
Example
<sp-textfield></sp-textfield>
Known Issues
- Focus ring is not curved on the corners
- On enabling
grows
,quiet
anddisbaled
, the text is distorted - On enabling
grows
attribute on windows, the component layout filckers while typing. - Font does not adapt to the T-shirt sizing due to limitation of PS/DVA platform
- Black background appears for quiet and readonly variant in windows
- For multiline variant, text value blinks on hovering on windows
- In windows, after typing text with symbols example
abcdss, efgh@ssss
and on pressing enter results in some text value getting missed on the left side - Tab navigation has issues with
type=password