HomePhabricator
Diffusion wvui 2f326024fd36

[radio] Add the Radio component

Description

[radio] Add the Radio component

  • Adds the Radio component itself
  • Adds a composable, useModelWrapper, which provides a modelValue

prop and a wrappedModel computed property, useful for components
containing inputs that have their value set via v-model.

  • Adds a binary-input Less mixin, which contains styles common to

radios and checkboxes

  • Modifies one of the StoryUtils to make sure events are always

grouped in a labelled table in the controls UI

Bug: T281186
Change-Id: Iee8581509a9dce3a382d3f9fe1f9c3c64db137c1

Details

Provenance
AnneTAuthored on May 6 2021, 8:25 PM
jenkins-botCommitted on May 25 2021, 8:51 PM
Parents
rWVUId56beb2bacec: Fix prop type inference when used with validator
Branches
Unknown
Tags
Unknown
References
refs/changes/84/685584/17
ChangeId
Iee8581509a9dce3a382d3f9fe1f9c3c64db137c1