2.0.0 • Published 1 year ago

@swc-uxp-wrappers/search v2.0.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 year ago

Description


  • For detailed README regarding @spectrum-web-components/search refer this link

  • Detailed specification regarding @spectrum-web-components/search support in UXP through @swc-uxp-wrappers/search refer this link

Usage


yarn add @swc-uxp-wrappers/search

Import the side effectful registration of <sp-search> via:

import '@swc-uxp-wrappers/search/sp-search.js';

When looking to leverage the Search base class as a type and/or for extension purposes, do so via:

import { Search } from '@swc-uxp-wrappers/search';

Example


<sp-search></sp-search>

Known Issues

  • Black background appears for quiet and readonly variant in windows
  • Close button does not respond on Mac platform
  • Placeholder text is not greyed with disable attribute
  • Focus ring is not curved on the corners
  • Font does not adapt to the T-shirt sizing due to limitation of PS/DVA platform