import{j as n,p as o}from"./docsPage-CrCNk6vV.js";import{useMDXComponents as l}from"./index-CswL0fy2.js";import{M as a}from"./index-BawdbxzO.js";import{C as t}from"./Table-DZD6Nuxh.js";import{c as e}from"./parseCss-tjZSVx8N.js";import"./index-DwChlhAQ.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-D-8MO0q_.js";import"./iframe-BDmRycB9.js";import"../sb-preview/runtime.js";import"./index-DxKRhftL.js";import"./index-DrFu-skq.js";import"./index-CROxjmim.js";import"./toString-DnxJX3Gz.js";import"./isSymbol-Br3Fhm6g.js";const f=`.content-normal { align-content: normal; } .content-center { align-content: center; } .content-start { align-content: flex-start; } .content-end { align-content: flex-end; } .content-between { align-content: space-between; } .content-around { align-content: space-around; } .content-evenly { align-content: space-evenly; } .content-baseline { align-content: baseline; } .content-stretch { align-content: stretch; } .\\!content-normal { align-content: normal !important; } .\\!content-center { align-content: center !important; } .\\!content-start { align-content: flex-start !important; } .\\!content-end { align-content: flex-end !important; } .\\!content-between { align-content: space-between !important; } .\\!content-around { align-content: space-around !important; } .\\!content-evenly { align-content: space-evenly !important; } .\\!content-baseline { align-content: baseline !important; } .\\!content-stretch { align-content: stretch !important; } `,c=`.items-start { align-items: flex-start; } .items-end { align-items: flex-end; } .items-center { align-items: center; } .items-baseline { align-items: baseline; } .items-stretch { align-items: stretch; } .\\!items-start { align-items: flex-start !important; } .\\!items-end { align-items: flex-end !important; } .\\!items-center { align-items: center !important; } .\\!items-baseline { align-items: baseline !important; } .\\!items-stretch { align-items: stretch !important; } `,m=`.self-auto { align-self: auto; } .self-start { align-self: flex-start; } .self-end { align-self: flex-end; } .self-center { align-self: center; } .self-stretch { align-self: stretch; } .self-baseline { align-self: baseline; } .\\!self-auto { align-self: auto !important; } .\\!self-start { align-self: flex-start !important; } .\\!self-end { align-self: flex-end !important; } .\\!self-center { align-self: center !important; } .\\!self-stretch { align-self: stretch !important; } .\\!self-baseline { align-self: baseline !important; } `,p=`.flex-row { flex-direction: row; } .flex-row-reverse { flex-direction: row-reverse; } .flex-col { flex-direction: column; } .flex-col-reverse { flex-direction: column-reverse; } .\\!flex-row { flex-direction: row !important; } .\\!flex-row-reverse { flex-direction: row-reverse !important; } .\\!flex-col { flex-direction: column !important; } .\\!flex-col-reverse { flex-direction: column-reverse !important; } `,u=`.grow { flex-grow: 1; } .grow-0 { flex-grow: 0; } .\\!grow { flex-grow: 1 !important; } .\\!grow-0 { flex-grow: 0 !important; } `,x=`.shrink { flex-shrink: 1; } .shrink-0 { flex-shrink: 0; } .\\!shrink { flex-shrink: 1 !important; } .\\!shrink-0 { flex-shrink: 0 !important; } `,y=`.flex-wrap { flex-wrap: wrap; } .flex-wrap-reverse { flex-wrap: wrap-reverse; } .flex-nowrap { flex-wrap: nowrap; } .\\!flex-wrap { flex-wrap: wrap !important; } .\\!flex-wrap-reverse { flex-wrap: wrap-reverse !important; } .\\!flex-nowrap { flex-wrap: nowrap !important; } `,j=`.flex-1 { flex: 1 1 0%; } .flex-auto { flex: 1 1 auto; } .flex-initial { flex: 0 1 auto; } .flex-none { flex: none; } .\\!flex-1 { flex: 1 1 0% !important; } .\\!flex-auto { flex: 1 1 auto !important; } .\\!flex-initial { flex: 0 1 auto !important; } .\\!flex-none { flex: none !important; } `,d=`.justify-normal { justify-content: normal; } .justify-start { justify-content: flex-start; } .justify-end { justify-content: flex-end; } .justify-center { justify-content: center; } .justify-between { justify-content: space-between; } .justify-around { justify-content: space-around; } .justify-evenly { justify-content: space-evenly; } .justify-stretch { justify-content: stretch; } .\\!justify-normal { justify-content: normal !important; } .\\!justify-start { justify-content: flex-start !important; } .\\!justify-end { justify-content: flex-end !important; } .\\!justify-center { justify-content: center !important; } .\\!justify-between { justify-content: space-between !important; } .\\!justify-around { justify-content: space-around !important; } .\\!justify-evenly { justify-content: space-evenly !important; } .\\!justify-stretch { justify-content: stretch !important; } `,g=`.justify-items-start { justify-items: start; } .justify-items-end { justify-items: end; } .justify-items-center { justify-items: center; } .justify-items-stretch { justify-items: stretch; } .\\!justify-items-start { justify-items: start !important; } .\\!justify-items-end { justify-items: end !important; } .\\!justify-items-center { justify-items: center !important; } .\\!justify-items-stretch { justify-items: stretch !important; } `,h=`.justify-self-auto { justify-self: auto; } .justify-self-start { justify-self: start; } .justify-self-end { justify-self: end; } .justify-self-center { justify-self: center; } .justify-self-stretch { justify-self: stretch; } .\\!justify-self-auto { justify-self: auto !important; } .\\!justify-self-start { justify-self: start !important; } .\\!justify-self-end { justify-self: end !important; } .\\!justify-self-center { justify-self: center !important; } .\\!justify-self-stretch { justify-self: stretch !important; } `;function r(i){const s={a:"a",h1:"h1",img:"img",p:"p",...l(),...i.components};return n.jsxs(n.Fragment,{children:[n.jsx(a,{title:"Styles/Tokens/Flexbox",parameters:{...o}}),` `,n.jsx(s.p,{children:n.jsx(s.img,{src:"https://graphics.thomsonreuters.com/style-assets/images/logos/reuters-graphics-logo/svg/graphics-logo-color-dark.svg",alt:""})}),` `,n.jsx(s.h1,{id:"flexbox-tokens",children:"Flexbox tokens"}),` `,n.jsxs(s.p,{children:["Flexbox is a modern way to lay out elements on your page while controling their alignment, distribution, space between and more. If flexbox is new, checkout the excellent ",n.jsx(s.a,{href:"https://css-tricks.com/snippets/css/a-guide-to-flexbox/",rel:"nofollow",children:"CSS tricks guide"}),"."]}),` `,n.jsx(s.p,{children:"Our style library provides these flexbox utility classes:"}),` `,n.jsx(t,{title:"Align content",mdnLink:"align-content",header:["Class","Properties"],body:e(f),copyable:[!0,!1]}),` `,n.jsx(t,{title:"Align items",mdnLink:"align-items",header:["Class","Properties"],body:e(c),copyable:[!0,!1]}),` `,n.jsx(t,{title:"Align self",mdnLink:"align-self",header:["Class","Properties"],body:e(m),copyable:[!0,!1]}),` `,n.jsx(t,{title:"Flex direction",mdnLink:"flex-direction",header:["Class","Properties"],body:e(p),copyable:[!0,!1]}),` `,n.jsx(t,{title:"Flex grow",mdnLink:"flex-grow",header:["Class","Properties"],body:e(u),copyable:[!0,!1]}),` `,n.jsx(t,{title:"Flex shrink",mdnLink:"flex-shrink",header:["Class","Properties"],body:e(x),copyable:[!0,!1]}),` `,n.jsx(t,{title:"Flex wrap",mdnLink:"flex-wrap",header:["Class","Properties"],body:e(y),copyable:[!0,!1]}),` `,n.jsx(t,{title:"Flex",mdnLink:"flex",header:["Class","Properties"],body:e(j),copyable:[!0,!1]}),` `,n.jsx(t,{title:"Justify content",mdnLink:"justify-content",header:["Class","Properties"],body:e(d),copyable:[!0,!1]}),` `,n.jsx(t,{title:"Justify items",mdnLink:"justify-items",header:["Class","Properties"],body:e(g),copyable:[!0,!1]}),` `,n.jsx(t,{title:"Justify self",mdnLink:"justify-self",header:["Class","Properties"],body:e(h),copyable:[!0,!1]})]})}function X(i={}){const{wrapper:s}={...l(),...i.components};return s?n.jsx(s,{...i,children:n.jsx(r,{...i})}):r(i)}export{X as default};