platform icon indicating copy to clipboard operation
platform copied to clipboard

Legacy Component Pack: Label

Open rolfsmeds opened this issue 4 years ago • 0 comments
trafficstars

Description

Label component for use in V7/V8 to V14+ migrations, with API and features similar to the V7/8 counterpart.

Use cases

As a developer migrating from V7 or V8 to V14+ I want to migrate my V7/8 Labels to a corresponding V14+ component So that I don't have to recreate each instance using other components that are not quite analogous

Acceptance criteria

  • [ ] Optional caption (styled like V14+ field label) via setCaption(String)
  • [ ] Default styling based on Lumo variables but similar to the Valo styling in V8
  • [ ] Plaintext and Html support
  • [ ] DOM and classnames as close to V8 Label as possible
  • [ ] Support for both V7 and V8 default width (e.g. through css variable)

General criteria

  • [ ] Documentation:
  • [ ] How to test? -> Not a part of PiT. Skipped on behalf of testing migration V8-->V22 on some customer project. DX tests skipped for the same reason.
  • [ ] Limitations:

rolfsmeds avatar Oct 04 '21 09:10 rolfsmeds