-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
225 changed files
with
121 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...jfbaM2dbHr-dFaqHb01h/components/hiui.json → ...WrZctGRQdMGUKuWQaKFQ/components/hiui.json
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
_next/data/WWrZctGRQdMGUKuWQaKFQ/components/portal-context.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"pageProps":{"frontMatter":{},"mdxSource":{"compiledSource":"var c=Object.defineProperty,m=Object.defineProperties;var s=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var l=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var d=(t,e,a)=>e in t?c(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,n=(t,e)=>{for(var a in e||(e={}))l.call(e,a)&&d(t,a,e[a]);if(r)for(var a of r(e))p.call(e,a)&&d(t,a,e[a]);return t},i=(t,e)=>m(t,s(e));var h=(t,e)=>{var a={};for(var o in t)l.call(t,o)&&e.indexOf(o)<0&&(a[o]=t[o]);if(t!=null&&r)for(var o of r(t))e.indexOf(o)<0&&p.call(t,o)&&(a[o]=t[o]);return a};const makeShortcode=t=>function(a){return console.warn(\"Component \"+t+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",n({},a))},CodeBlock=makeShortcode(\"CodeBlock\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(a){var o=a,{components:t}=o,e=h(o,[\"components\"]);return mdx(MDXLayout,i(n(n({},layoutProps),e),{components:t,mdxType:\"MDXLayout\"}),mdx(\"h1\",n({},{id:\"portalcontext-\\u4E0A\\u4E0B\\u6587\"}),\"PortalContext \\u4E0A\\u4E0B\\u6587\"),mdx(\"p\",null,\"\\u5BB9\\u5668\\u8BBE\\u7F6E\\u4E0A\\u4E0B\\u6587\\u3002\"),mdx(\"h2\",n({},{id:\"\\u4F55\\u65F6\\u4F7F\\u7528\"}),\"\\u4F55\\u65F6\\u4F7F\\u7528\"),mdx(\"p\",null,\"\\u7EC4\\u4EF6\\u4F7F\\u7528\\u573A\\u666F\\u4E2D\\u6587\\u4ECB\\u7ECD\"),mdx(\"h2\",n({},{id:\"\\u4F7F\\u7528\\u793A\\u4F8B\"}),\"\\u4F7F\\u7528\\u793A\\u4F8B\"),mdx(\"h3\",n({},{id:\"\\u57FA\\u7840\\u7528\\u6CD5\"}),\"\\u57FA\\u7840\\u7528\\u6CD5\"),mdx(CodeBlock,{code:`import React, { useContext } from \"react\"\nimport { PortalContext } from \"@hi-ui/portal-context\"\n\n/**\n * @title \\u57FA\\u7840\\u7528\\u6CD5\n */\nexport const Basic = () => {\n useContext(PortalContext)\n\n return (\n <>\n <h1>Basic</h1>\n <div className=\"portal-context-basic__wrap\"></div>\n </>\n )\n}`,title:\"\\u57FA\\u7840\\u7528\\u6CD5\",description:\"null\",mdxType:\"CodeBlock\"}),mdx(\"h2\",n({},{id:\"props\"}),\"Props\"),mdx(\"h3\",n({},{id:\"portalprovider-props\"}),\"PortalProvider Props\"),mdx(\"table\",null,mdx(\"thead\",{parentName:\"table\"},mdx(\"tr\",{parentName:\"thead\"},mdx(\"th\",n({parentName:\"tr\"},{align:null}),\"\\u53C2\\u6570\"),mdx(\"th\",n({parentName:\"tr\"},{align:null}),\"\\u8BF4\\u660E\"),mdx(\"th\",n({parentName:\"tr\"},{align:null}),\"\\u7C7B\\u578B\"),mdx(\"th\",n({parentName:\"tr\"},{align:null}),\"\\u53EF\\u9009\\u503C\"),mdx(\"th\",n({parentName:\"tr\"},{align:null}),\"\\u9ED8\\u8BA4\\u503C\"))),mdx(\"tbody\",{parentName:\"table\"},mdx(\"tr\",{parentName:\"tbody\"},mdx(\"td\",n({parentName:\"tr\"},{align:null}),\"portal\"),mdx(\"td\",n({parentName:\"tr\"},{align:null}),\"\\u6307\\u5B9A portal \\u7684\\u5BB9\\u5668\"),mdx(\"td\",n({parentName:\"tr\"},{align:null}),\"UsePortalContext\"),mdx(\"td\",n({parentName:\"tr\"},{align:null}),\"-\"),mdx(\"td\",n({parentName:\"tr\"},{align:null}),\"-\")))))}MDXContent.isMDXComponent=!0;\n","scope":{}},"slug":"portal-context","title":"组件英文名 组件中文名","desc":"组件一句话介绍","storiesToc":[{"content":"基础用法","slug":"基础用法","lvl":3,"i":0,"seen":0}],"propsToc":[{"content":"PortalProvider Props","slug":"portalprovider-props","lvl":3,"i":0,"seen":0}],"introductionMdxSource":{"compiledSource":"var s=Object.defineProperty,y=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var h=(t,o,n)=>o in t?s(t,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[o]=n,e=(t,o)=>{for(var n in o||(o={}))a.call(o,n)&&h(t,n,o[n]);if(r)for(var n of r(o))u.call(o,n)&&h(t,n,o[n]);return t},c=(t,o)=>y(t,D(o));var i=(t,o)=>{var n={};for(var p in t)a.call(t,p)&&o.indexOf(p)<0&&(n[p]=t[p]);if(t!=null&&r)for(var p of r(t))o.indexOf(p)<0&&u.call(t,p)&&(n[p]=t[p]);return n};const layoutProps={},MDXLayout=\"wrapper\";function MDXContent(n){var p=n,{components:t}=p,o=i(p,[\"components\"]);return mdx(MDXLayout,c(e(e({},layoutProps),o),{components:t,mdxType:\"MDXLayout\"}),mdx(\"h1\",e({},{id:\"portalcontext-\\u4E0A\\u4E0B\\u6587\"}),\"PortalContext \\u4E0A\\u4E0B\\u6587\"),mdx(\"p\",null,\"\\u5BB9\\u5668\\u8BBE\\u7F6E\\u4E0A\\u4E0B\\u6587\\u3002\"),mdx(\"h2\",e({},{id:\"\\u4F55\\u65F6\\u4F7F\\u7528\"}),\"\\u4F55\\u65F6\\u4F7F\\u7528\"),mdx(\"p\",null,\"\\u7EC4\\u4EF6\\u4F7F\\u7528\\u573A\\u666F\\u4E2D\\u6587\\u4ECB\\u7ECD\"),mdx(\"h2\",e({},{id:\"\\u4F7F\\u7528\\u793A\\u4F8B\"}),\"\\u4F7F\\u7528\\u793A\\u4F8B\"))}MDXContent.isMDXComponent=!0;\n","scope":{}},"storiesMdxSource":{"compiledSource":"var l=Object.defineProperty,u=Object.defineProperties;var m=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;var s=(o,t,n)=>t in o?l(o,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[t]=n,r=(o,t)=>{for(var n in t||(t={}))a.call(t,n)&&s(o,n,t[n]);if(c)for(var n of c(t))i.call(t,n)&&s(o,n,t[n]);return o},p=(o,t)=>u(o,m(t));var d=(o,t)=>{var n={};for(var e in o)a.call(o,e)&&t.indexOf(e)<0&&(n[e]=o[e]);if(o!=null&&c)for(var e of c(o))t.indexOf(e)<0&&i.call(o,e)&&(n[e]=o[e]);return n};const makeShortcode=o=>function(n){return console.warn(\"Component \"+o+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",r({},n))},CodeBlock=makeShortcode(\"CodeBlock\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(n){var e=n,{components:o}=e,t=d(e,[\"components\"]);return mdx(MDXLayout,p(r(r({},layoutProps),t),{components:o,mdxType:\"MDXLayout\"}),mdx(\"h3\",r({},{id:\"\\u57FA\\u7840\\u7528\\u6CD5\"}),\"\\u57FA\\u7840\\u7528\\u6CD5\"),mdx(CodeBlock,{code:`import React, { useContext } from \"react\"\nimport { PortalContext } from \"@hi-ui/portal-context\"\n\n/**\n * @title \\u57FA\\u7840\\u7528\\u6CD5\n */\nexport const Basic = () => {\n useContext(PortalContext)\n\n return (\n <>\n <h1>Basic</h1>\n <div className=\"portal-context-basic__wrap\"></div>\n </>\n )\n}`,title:\"\\u57FA\\u7840\\u7528\\u6CD5\",description:\"null\",mdxType:\"CodeBlock\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"propsMdxSource":{"compiledSource":"var h=Object.defineProperty,i=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var p=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;var d=(t,a,e)=>a in t?h(t,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[a]=e,n=(t,a)=>{for(var e in a||(a={}))p.call(a,e)&&d(t,e,a[e]);if(l)for(var e of l(a))o.call(a,e)&&d(t,e,a[e]);return t},m=(t,a)=>i(t,N(a));var u=(t,a)=>{var e={};for(var r in t)p.call(t,r)&&a.indexOf(r)<0&&(e[r]=t[r]);if(t!=null&&l)for(var r of l(t))a.indexOf(r)<0&&o.call(t,r)&&(e[r]=t[r]);return e};const layoutProps={},MDXLayout=\"wrapper\";function MDXContent(e){var r=e,{components:t}=r,a=u(r,[\"components\"]);return mdx(MDXLayout,m(n(n({},layoutProps),a),{components:t,mdxType:\"MDXLayout\"}),mdx(\"h3\",n({},{id:\"portalprovider-props\"}),\"PortalProvider Props\"),mdx(\"table\",null,mdx(\"thead\",{parentName:\"table\"},mdx(\"tr\",{parentName:\"thead\"},mdx(\"th\",n({parentName:\"tr\"},{align:null}),\"\\u53C2\\u6570\"),mdx(\"th\",n({parentName:\"tr\"},{align:null}),\"\\u8BF4\\u660E\"),mdx(\"th\",n({parentName:\"tr\"},{align:null}),\"\\u7C7B\\u578B\"),mdx(\"th\",n({parentName:\"tr\"},{align:null}),\"\\u53EF\\u9009\\u503C\"),mdx(\"th\",n({parentName:\"tr\"},{align:null}),\"\\u9ED8\\u8BA4\\u503C\"))),mdx(\"tbody\",{parentName:\"table\"},mdx(\"tr\",{parentName:\"tbody\"},mdx(\"td\",n({parentName:\"tr\"},{align:null}),\"portal\"),mdx(\"td\",n({parentName:\"tr\"},{align:null}),\"\\u6307\\u5B9A portal \\u7684\\u5BB9\\u5668\"),mdx(\"td\",n({parentName:\"tr\"},{align:null}),\"UsePortalContext\"),mdx(\"td\",n({parentName:\"tr\"},{align:null}),\"-\"),mdx(\"td\",n({parentName:\"tr\"},{align:null}),\"-\")))))}MDXContent.isMDXComponent=!0;\n","scope":{}},"guideMdxSource":null,"guideToc":[]},"__N_SSG":true} |
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.