28 lines
6.1 KiB
JavaScript
28 lines
6.1 KiB
JavaScript
import{M as w}from"./chunk-S4VUQJ4A-9f830f12.js";import{p as o,j as t}from"./jsx-runtime-cc7d3d6f.js";import{C as e}from"./Table-531e15c2.js";import{c as n}from"./parseCss-0603dd28.js";import{u as m}from"./index-e0c548e1.js";import"./iframe-da7e4a3d.js";import"../sb-preview/runtime.js";import"./index-3006e466.js";import"./_commonjsHelpers-de833af9.js";import"./index-d37d4223.js";import"./index-e04ae519.js";import"./index-356e4a49.js";import"./index-f779c4fe.js";import"./toString-25ea340b.js";import"./isSymbol-50749e90.js";const s=`.h-full{height:100%}.h-screen{height:100svh}.h-1\\/2{height:50%}.h-1\\/3{height:33.333333%}.h-2\\/3{height:66.666667%}.h-1\\/4{height:25%}.h-2\\/4{height:50%}.h-3\\/4{height:75%}.h-1\\/5{height:20%}.h-2\\/5{height:40%}.h-3\\/5{height:60%}.h-4\\/5{height:80%}.h-1\\/6{height:16.666667%}.h-2\\/6{height:33.333333%}.h-3\\/6{height:50%}.h-4\\/6{height:66.666667%}.h-5\\/6{height:83.333333%}.h-1\\/12{height:8.333333%}.h-2\\/12{height:16.666667%}.h-3\\/12{height:25%}.h-4\\/12{height:33.333333%}.h-5\\/12{height:41.666667%}.h-6\\/12{height:50%}.h-7\\/12{height:58.333333%}.h-8\\/12{height:66.666667%}.h-9\\/12{height:75%}.h-10\\/12{height:83.333333%}.h-11\\/12{height:91.666667%}.\\!h-full{height:100%!important}.\\!h-screen{height:100svh!important}.\\!h-1\\/2{height:50%!important}.\\!h-1\\/3{height:33.333333%!important}.\\!h-2\\/3{height:66.666667%!important}.\\!h-1\\/4{height:25%!important}.\\!h-2\\/4{height:50%!important}.\\!h-3\\/4{height:75%!important}.\\!h-1\\/5{height:20%!important}.\\!h-2\\/5{height:40%!important}.\\!h-3\\/5{height:60%!important}.\\!h-4\\/5{height:80%!important}.\\!h-1\\/6{height:16.666667%!important}.\\!h-2\\/6{height:33.333333%!important}.\\!h-3\\/6{height:50%!important}.\\!h-4\\/6{height:66.666667%!important}.\\!h-5\\/6{height:83.333333%!important}.\\!h-1\\/12{height:8.333333%!important}.\\!h-2\\/12{height:16.666667%!important}.\\!h-3\\/12{height:25%!important}.\\!h-4\\/12{height:33.333333%!important}.\\!h-5\\/12{height:41.666667%!important}.\\!h-6\\/12{height:50%!important}.\\!h-7\\/12{height:58.333333%!important}.\\!h-8\\/12{height:66.666667%!important}.\\!h-9\\/12{height:75%!important}.\\!h-10\\/12{height:83.333333%!important}.\\!h-11\\/12{height:91.666667%!important}
|
|
`,p=`.max-h-full{max-height:100%}.max-h-screen{max-height:100svh}.\\!max-h-full{max-height:100%!important}.\\!max-h-screen{max-height:100svh!important}
|
|
`,d=`.max-w-full{max-width:100%}.max-w-screen{max-width:100vw}.\\!max-w-full{max-width:100%!important}.\\!max-w-screen{max-width:100vw!important}
|
|
`,g=`.min-h-full{min-height:100%}.min-h-screen{min-height:100svh}.\\!min-h-full{min-height:100%!important}.\\!min-h-screen{min-height:100svh!important}
|
|
`,l=`.min-w-full{min-width:100%}.\\!min-w-full{min-width:100%!important}
|
|
`,c=`.w-full{width:100%}.w-full-fluid{width:calc(100% + 30px);margin-left:-15px!important}.w-screen{width:100vw}.w-1\\/2{width:50%}.w-1\\/3{width:33.333333%}.w-2\\/3{width:66.666667%}.w-1\\/4{width:25%}.w-2\\/4{width:50%}.w-3\\/4{width:75%}.w-1\\/5{width:20%}.w-2\\/5{width:40%}.w-3\\/5{width:60%}.w-4\\/5{width:80%}.w-1\\/6{width:16.666667%}.w-2\\/6{width:33.333333%}.w-3\\/6{width:50%}.w-4\\/6{width:66.666667%}.w-5\\/6{width:83.333333%}.w-1\\/12{width:8.333333%}.w-2\\/12{width:16.666667%}.w-3\\/12{width:25%}.w-4\\/12{width:33.333333%}.w-5\\/12{width:41.666667%}.w-6\\/12{width:50%}.w-7\\/12{width:58.333333%}.w-8\\/12{width:66.666667%}.w-9\\/12{width:75%}.w-10\\/12{width:83.333333%}.w-11\\/12{width:91.666667%}.\\!w-full{width:100%!important}.\\!w-full-fluid{width:calc(100% + 30px)!important;margin-left:-15px!important}.\\!w-screen{width:100vw!important}.\\!w-1\\/2{width:50%!important}.\\!w-1\\/3{width:33.333333%!important}.\\!w-2\\/3{width:66.666667%!important}.\\!w-1\\/4{width:25%!important}.\\!w-2\\/4{width:50%!important}.\\!w-3\\/4{width:75%!important}.\\!w-1\\/5{width:20%!important}.\\!w-2\\/5{width:40%!important}.\\!w-3\\/5{width:60%!important}.\\!w-4\\/5{width:80%!important}.\\!w-1\\/6{width:16.666667%!important}.\\!w-2\\/6{width:33.333333%!important}.\\!w-3\\/6{width:50%!important}.\\!w-4\\/6{width:66.666667%!important}.\\!w-5\\/6{width:83.333333%!important}.\\!w-1\\/12{width:8.333333%!important}.\\!w-2\\/12{width:16.666667%!important}.\\!w-3\\/12{width:25%!important}.\\!w-4\\/12{width:33.333333%!important}.\\!w-5\\/12{width:41.666667%!important}.\\!w-6\\/12{width:50%!important}.\\!w-7\\/12{width:58.333333%!important}.\\!w-8\\/12{width:66.666667%!important}.\\!w-9\\/12{width:75%!important}.\\!w-10\\/12{width:83.333333%!important}.\\!w-11\\/12{width:91.666667%!important}
|
|
`;function a(h){const i=Object.assign({p:"p",img:"img",h1:"h1"},m(),h.components);return t.jsxs(t.Fragment,{children:[`
|
|
`,`
|
|
`,`
|
|
`,`
|
|
`,`
|
|
`,`
|
|
`,`
|
|
`,`
|
|
`,`
|
|
`,`
|
|
`,`
|
|
`,`
|
|
`,t.jsx(w,{title:"Styles/Tokens/Sizing",parameters:{...o}}),`
|
|
`,t.jsx(i.p,{children:t.jsx(i.img,{src:"https://graphics.thomsonreuters.com/style-assets/images/logos/reuters-graphics-logo/svg/graphics-logo-color-dark.svg",alt:""})}),`
|
|
`,t.jsx(i.h1,{id:"sizing-tokens",children:"Sizing tokens"}),`
|
|
`,t.jsx(e,{title:"Width",mdnLink:"width",header:["Class","Properties"],body:n(c),copyable:[!0,!1]}),`
|
|
`,t.jsx(e,{title:"Max-width",mdnLink:"max-width",header:["Class","Properties"],body:n(d),copyable:[!0,!1]}),`
|
|
`,t.jsx(e,{title:"Min-width",mdnLink:"min-width",header:["Class","Properties"],body:n(l),copyable:[!0,!1]}),`
|
|
`,t.jsx(e,{title:"Height",mdnLink:"height",header:["Class","Properties"],body:n(s),copyable:[!0,!1]}),`
|
|
`,t.jsx(e,{title:"Max-height",mdnLink:"max-height",header:["Class","Properties"],body:n(p),copyable:[!0,!1]}),`
|
|
`,t.jsx(e,{title:"Min-height",mdnLink:"min-height",header:["Class","Properties"],body:n(g),copyable:[!0,!1]})]})}function x(h={}){const{wrapper:i}=Object.assign({},m(),h.components);return i?t.jsx(i,{...h,children:t.jsx(a,{...h})}):a(h)}const u=()=>{throw new Error("Docs-only story")};u.parameters={docsOnly:!0};const r={title:"Styles/Tokens/Sizing",parameters:{...o},tags:["stories-mdx"],includeStories:["__page"]};r.parameters=r.parameters||{};r.parameters.docs={...r.parameters.docs||{},page:x};const O=["__page"];export{O as __namedExportsOrder,u as __page,r as default};
|
|
//# sourceMappingURL=main.stories-b300ad91.js.map
|