@swc-uxp-wrappers/number-field
v2.0.0
Published
UXP wrapper of the @spectrum-web-components/number-field component
Downloads
5
Readme
Description
For detailed README regarding
@spectrum-web-components/number-field
refer this linkDetailed specification regarding
@spectrum-web-components/number-field
support in UXP through@swc-uxp-wrappers/number-field
refer this link
Usage
yarn add @swc-uxp-wrappers/number-field
Import the side effectful registration of <sp-number-field>
via:
import '@swc-uxp-wrappers/number-field/sp-number-field.js';
When looking to leverage the NumberField
base class as a type and/or for extension purposes, do so via:
import { NumberField } from '@swc-uxp-wrappers/number-field';
Example
<sp-number-field></sp-number-field>
Known Issues
- Quiet and Readonly variant has black background for Windows
- Stepper icons are trimmed with quiet variant in React context
- On inserting an alphabet in the number field, the cursor moves from the defined place.
- Font does not adapt to the T-shirt sizing due to limitation of PS/DVA platform