Sarai-WMDE created this task.
Sarai-WMDE added a project: Wikidata Design System.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Wikidata.

TASK DESCRIPTION
  At the moment, components with a width that is not defined by their content 
(v. buttons) are assigned a predefined default width that corresponds with 
system sizes (the most common one being 256px, for example).  They can also 
take a "full-width" value (prop), that makes them adjust to their surrounding 
layout.
  
  While this predefined size is purely provided as orientation, it's possible 
that predefining widths is not useful at all, due to the variability of 
contexts in which components can be used.
  
  Options:
  
  1. Get rid of widths entirely and make components' widths to be limited to 
their layout element.
  
    <div class="medium-width">
        <TextInput />
        <TextInput />
        <Message />
    </div>
  
  
  
  2. Make "full-width" the default and still document the possibility of using 
medium widths
  
  Jakob provided some examples of component libraries/frameworks that have 
these kinds of layout elements defined as well:
  
  - https://vuetifyjs.com/en/components/text-fields/
    - https://getbootstrap.com/docs/4.5/components/input-group/

TASK DETAIL
  https://phabricator.wikimedia.org/T265371

WORKBOARD
  https://phabricator.wikimedia.org/project/board/4521/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Sarai-WMDE
Cc: Aklapper, Sarai-WMDE, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Volker_E, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to