hypnagaga/docs/assets/main.stories-e4b2ca30.js
2023-09-18 12:40:24 +00:00

28 lines
6.1 KiB
JavaScript

import{M as p}from"./chunk-S4VUQJ4A-4afc748a.js";import{p as w,j as t}from"./jsx-runtime-dbaad2e1.js";import{C as h}from"./Table-d5678a4d.js";import{c as i}from"./parseCss-7267f91a.js";import{u as m}from"./index-64f700af.js";import"./iframe-fa8a7b78.js";import"../sb-preview/runtime.js";import"./index-72c35bf5.js";import"./_commonjsHelpers-de833af9.js";import"./index-d37d4223.js";import"./index-e04ae519.js";import"./index-356e4a49.js";import"./index-5cef0c71.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}
`,d=`.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}
`,g=`.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}
`,l=`.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}
`,c=`.min-w-full{min-width:100%}.\\!min-w-full{min-width:100%!important}
`,x=`.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 u(n={}){const{wrapper:a}=Object.assign({},m(),n.components);return a?t.jsx(a,{...n,children:t.jsx(o,{})}):o();function o(){const r=Object.assign({p:"p",img:"img",h1:"h1"},m(),n.components);return t.jsxs(t.Fragment,{children:[`
`,`
`,`
`,`
`,`
`,`
`,`
`,`
`,`
`,`
`,`
`,`
`,t.jsx(p,{title:"Styles/Tokens/Sizing",parameters:{...w}}),`
`,t.jsx(r.p,{children:t.jsx(r.img,{src:"https://graphics.thomsonreuters.com/style-assets/images/logos/reuters-graphics-logo/svg/graphics-logo-color-dark.svg",alt:""})}),`
`,t.jsx(r.h1,{id:"sizing-tokens",children:"Sizing tokens"}),`
`,t.jsx(h,{title:"Width",mdnLink:"width",header:["Class","Properties"],body:i(x),copyable:[!0,!1]}),`
`,t.jsx(h,{title:"Max-width",mdnLink:"max-width",header:["Class","Properties"],body:i(g),copyable:[!0,!1]}),`
`,t.jsx(h,{title:"Min-width",mdnLink:"min-width",header:["Class","Properties"],body:i(c),copyable:[!0,!1]}),`
`,t.jsx(h,{title:"Height",mdnLink:"height",header:["Class","Properties"],body:i(s),copyable:[!0,!1]}),`
`,t.jsx(h,{title:"Max-height",mdnLink:"max-height",header:["Class","Properties"],body:i(d),copyable:[!0,!1]}),`
`,t.jsx(h,{title:"Min-height",mdnLink:"min-height",header:["Class","Properties"],body:i(l),copyable:[!0,!1]})]})}}const f=()=>{throw new Error("Docs-only story")};f.parameters={docsOnly:!0};const e={title:"Styles/Tokens/Sizing",parameters:{...w},tags:["stories-mdx"],includeStories:["__page"]};e.parameters=e.parameters||{};e.parameters.docs={...e.parameters.docs||{},page:u};const E=["__page"];export{E as __namedExportsOrder,f as __page,e as default};
//# sourceMappingURL=main.stories-e4b2ca30.js.map