Closed Justineo closed 1 year ago
size-{0,10,25,...,6000}
$spacing-{01,02,03,...,13}
{0,0.25,0.5,...,40}
{0.5,1,1.5,...,96}
{extraTight,tight,baseTight,loose,extraLoose,none}
{s2,s1,m,l1,l2}
{xs,sm,md,lg,xs}
{xsmall,small,large,medium,none,gutter,xxsmall,xlarge,xxlarge}
{small,middle,large}
{mini,small,middle,large}
{loose,medium,tight}
{small,medium,large}
inline
$\textcolor{#848b99}{\texttt{MUI's global style attributes}}$ $\textcolor{#ffa733}{\texttt{slightly different property/value/restrictions}}$
interface StackProps { gap?: string | number wrap?: boolean inline?: boolean direction?: 'row' | 'column' align?: 'start' | 'center' | 'end' | 'stretch' justify?: 'start' | 'center' | 'end' | 'space-between' }
TBD:
Layout
gap
ui
display: inline-flex
display: flex
inline-block
flow-root
Implemented in #1126.
Prior art
$\textcolor{#848b99}{\texttt{flexDirection}}$
$\textcolor{#ffa733}{\texttt{reversed}}$
$\textcolor{#848b99}{\texttt{gap}}$
size-{0,10,25,...,6000}
$spacing-{01,02,03,...,13}
{0,0.25,0.5,...,40}
{0.5,1,1.5,...,96}
{extraTight,tight,baseTight,loose,extraLoose,none}
{s2,s1,m,l1,l2}
{xs,sm,md,lg,xs}
{xsmall,small,large,medium,none,gutter,xxsmall,xlarge,xxlarge}
{small,middle,large}
{mini,small,middle,large}
{loose,medium,tight}
{small,medium,large}
{small,middle,large}
inline
propStack component
TBD:
EnhancenoLayout
component?Maybegap
→ui
?gap
display: inline-flex
ordisplay: flex
?inline-block
orflow-root
according toinline
prop