@fle-ui/next 1.0.0-alpha.12 → 1.0.0-alpha.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.history/package_20211011190148.json +141 -0
- package/.history/package_20211011193053.json +141 -0
- package/dist/@fle-ui/next.css +2 -2
- package/dist/@fle-ui/next.css.map +1 -1
- package/dist/@fle-ui/next.js +1 -1
- package/dist/@fle-ui/next.min.css +2 -2
- package/dist/@fle-ui/next.min.css.map +1 -1
- package/dist/@fle-ui/next.min.js +1 -1
- package/docs-dist/components__affix__affix.md.js +701 -1
- package/docs-dist/components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~components__au~00d1741d.js +22482 -1
- package/docs-dist/components__alert__alert.md.js +942 -1
- package/docs-dist/components__anchor__anchor.md.js +789 -1
- package/docs-dist/components__auto-complete__autoComplete.md.js +1145 -1
- package/docs-dist/components__avatar__avatar.md.js +854 -1
- package/docs-dist/components__back-top__backTop.md.js +581 -1
- package/docs-dist/components__badge__badge.md.js +972 -1
- package/docs-dist/components__breadcrumb__breadcrumb.md.js +914 -1
- package/docs-dist/components__button__button.md.js +1037 -1
- package/docs-dist/components__calendar__calendar.md.js +897 -1
- package/docs-dist/components__card__card.md.js +1106 -1
- package/docs-dist/components__carousel__carousel.md.js +770 -1
- package/docs-dist/components__cascader__cascader.md.js +1378 -1
- package/docs-dist/components__checkbox__checkbox.md.js +876 -1
- package/docs-dist/components__collapse__collapse.md.js +959 -1
- package/docs-dist/components__comment__comment.md.js +586 -1
- package/docs-dist/components__config-provider__configProvider.md.js +1055 -1
- package/docs-dist/components__date-picker__date-picker.md.js +2622 -1
- package/docs-dist/components__descriptions__descriptions.md.js +863 -1
- package/docs-dist/components__divider__divider.md.js +681 -1
- package/docs-dist/components__drawer__drawer.md.js +997 -1
- package/docs-dist/components__dropdown__dropdown.md.js +1170 -1
- package/docs-dist/components__empty__empty.md.js +692 -1
- package/docs-dist/components__form__form.md.js +4099 -1
- package/docs-dist/components__grid__grid.md.js +999 -1
- package/docs-dist/components__icon__icon.md.js +739 -1
- package/docs-dist/components__image__image.md.js +745 -1
- package/docs-dist/components__input-number__inputNumber.md.js +1006 -1
- package/docs-dist/components__input__input.md.js +1579 -1
- package/docs-dist/components__layout__layout.md.js +1220 -1
- package/docs-dist/components__list__list.md.js +1255 -1
- package/docs-dist/components__mentions__mentions.md.js +943 -1
- package/docs-dist/components__menu__menu.md.js +1370 -1
- package/docs-dist/components__message__message.md.js +1223 -1
- package/docs-dist/components__modal__modal.md.js +1808 -1
- package/docs-dist/components__notification__notification.md.js +1192 -1
- package/docs-dist/components__page-header__page-header.md.js +781 -1
- package/docs-dist/components__pagination__pagination.md.js +954 -1
- package/docs-dist/components__popconfirm__popconfirm.md.js +792 -1
- package/docs-dist/components__popover__popover.md.js +665 -1
- package/docs-dist/components__progress__progress.md.js +1139 -1
- package/docs-dist/components__radio__radio.md.js +999 -1
- package/docs-dist/components__rate__rate.md.js +851 -1
- package/docs-dist/components__result__result.md.js +681 -1
- package/docs-dist/components__select__select.md.js +2081 -1
- package/docs-dist/components__slider__slider.md.js +1053 -1
- package/docs-dist/components__space__space.md.js +746 -1
- package/docs-dist/components__spin__spin.md.js +730 -1
- package/docs-dist/components__statistic__statistic.md.js +827 -1
- package/docs-dist/components__steps__steps.md.js +1097 -1
- package/docs-dist/components__switch__switch.md.js +763 -1
- package/docs-dist/components__table__table.md.js +3692 -1
- package/docs-dist/components__tabs__tabs.md.js +1213 -1
- package/docs-dist/components__tag__tag.md.js +779 -1
- package/docs-dist/components__time-picker__time-picker.md.js +1232 -1
- package/docs-dist/components__timeline__timeline.md.js +799 -1
- package/docs-dist/components__tooltip__tooltip.md.js +888 -1
- package/docs-dist/components__transfer__transfer.md.js +1226 -1
- package/docs-dist/components__tree-select__tree-select.md.js +1042 -1
- package/docs-dist/components__typography__typography.md.js +1793 -1
- package/docs-dist/components__upload__upload.md.js +1798 -1
- package/docs-dist/demos_bmurcdaerb.js +603 -1
- package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.chunk.css +1 -1
- package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.js +21570 -1
- package/docs-dist/demos_citsitats.js +549 -1
- package/docs-dist/demos_daolpu.chunk.css +1 -1
- package/docs-dist/demos_daolpu.js +22680 -1
- package/docs-dist/demos_dirg.js +47 -1
- package/docs-dist/demos_drac.js +748 -1
- package/docs-dist/demos_ecaps.js +529 -1
- package/docs-dist/demos_egami.js +153 -1
- package/docs-dist/demos_egassem.js +187 -1
- package/docs-dist/demos_egdab.js +872 -1
- package/docs-dist/demos_elbat.chunk.css +1 -1
- package/docs-dist/demos_elbat.js +27626 -1
- package/docs-dist/demos_enilemit.js +627 -1
- package/docs-dist/demos_espalloc.js +705 -1
- package/docs-dist/demos_etar.js +547 -1
- package/docs-dist/demos_etelpmoc-otua.js +613 -1
- package/docs-dist/demos_gat.js +487 -1
- package/docs-dist/demos_hctiws.js +439 -1
- package/docs-dist/demos_ladom.js +791 -1
- package/docs-dist/demos_lesuorac.js +193 -1
- package/docs-dist/demos_mrifnocpop.js +671 -1
- package/docs-dist/demos_mrof.js +3082 -1
- package/docs-dist/demos_nips.js +461 -1
- package/docs-dist/demos_noitacifiton.js +765 -1
- package/docs-dist/demos_noitanigap.js +233 -1
- package/docs-dist/demos_nottub.js +847 -1
- package/docs-dist/demos_nwodpord.js +965 -1
- package/docs-dist/demos_oidar.js +340 -1
- package/docs-dist/demos_pitloot.js +204 -1
- package/docs-dist/demos_pot-kcab.js +62 -1
- package/docs-dist/demos_radnelac.js +285 -1
- package/docs-dist/demos_ratava.js +647 -1
- package/docs-dist/demos_rebmun-tupni.js +209 -1
- package/docs-dist/demos_redacsac.js +576 -1
- package/docs-dist/demos_redaeh-egap.js +761 -1
- package/docs-dist/demos_redils.js +659 -1
- package/docs-dist/demos_redivid.js +167 -1
- package/docs-dist/demos_redivorp-gifnoc.js +2154 -1
- package/docs-dist/demos_refsnart.js +774 -1
- package/docs-dist/demos_rekcip-emit.js +183 -1
- package/docs-dist/demos_rekcip-etad.js +469 -1
- package/docs-dist/demos_revopop.js +335 -1
- package/docs-dist/demos_reward.js +484 -1
- package/docs-dist/demos_rohcna.js +194 -1
- package/docs-dist/demos_sbat.chunk.css +1 -1
- package/docs-dist/demos_sbat.js +22358 -1
- package/docs-dist/demos_snoitnem.js +202 -1
- package/docs-dist/demos_snoitpircsed.js +351 -1
- package/docs-dist/demos_spets.js +910 -1
- package/docs-dist/demos_ssergorp.js +698 -1
- package/docs-dist/demos_tceles.js +1416 -1
- package/docs-dist/demos_tluser.js +530 -1
- package/docs-dist/demos_tnemmoc.js +560 -1
- package/docs-dist/demos_trela.js +341 -1
- package/docs-dist/demos_tsil.js +603 -1
- package/docs-dist/demos_tuoyal.js +872 -1
- package/docs-dist/demos_tupni.js +1245 -1
- package/docs-dist/demos_unem.js +1012 -1
- package/docs-dist/demos_xiffa.js +93 -1
- package/docs-dist/demos_xobkcehc.js +186 -1
- package/docs-dist/demos_yhpargopyt.js +798 -1
- package/docs-dist/demos_ytpme.js +433 -1
- package/docs-dist/docs__document__getting-started.md.js +193 -1
- package/docs-dist/docs__document__introduce.md.js +441 -1
- package/docs-dist/docs__document__practical-projects.md.js +117 -1
- package/docs-dist/docs__index.md.js +27 -1
- package/docs-dist/docs__story__index.md.js +89 -1
- package/docs-dist/dumi_demos.js +456 -1
- package/docs-dist/umi.js +28727 -1
- package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~3ba4f4a1.js +2590 -1
- package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~ac3aca9a.js +8970 -1
- package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~e29e5a37.js +2619 -1
- package/docs-dist/vendors~demos_bmurcdaerb~demos_citsitats~demos_daolpu~demos_dirg~demos_drac~demos_ecaps~demos_egami~~4cc402e9.js +57323 -1
- package/docs-dist/vendors~demos_daolpu~demos_elbat.js +1649 -1
- package/docs-dist/vendors~demos_daolpu~demos_elbat~demos_sbat.js +4169 -1
- package/docs-dist/vendors~demos_gat.js +4673 -1
- package/docs-dist/vendors~demos_ladom.js +1855 -1
- package/docs-dist/vendors~demos_redivorp-gifnoc.js +9666 -1
- package/docs-dist/vendors~demos_sbat.js +1601 -1
- package/docs-dist/vendors~demos_trela.js +1722 -1
- package/docs-dist/vendors~demos_tsil.js +4970 -1
- package/docs-dist/vendors~demos_tuoyal.js +748 -1
- package/docs-dist/vendors~wrappers.js +1360 -1
- package/docs-dist/wrappers.js +21 -1
- package/es/drawer/style/drawer.less +8 -4
- package/es/drawer/style/index.css +1 -1
- package/es/style/themes/default.less +57 -29
- package/lib/drawer/style/drawer.less +8 -4
- package/lib/drawer/style/index.css +1 -1
- package/lib/style/themes/default.less +57 -29
- package/package.json +1 -1
- package/report.html +1 -1
@@ -1 +1,999 @@
|
|
1
|
-
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[32],{F2qz:function(e,t,l){"use strict";l.r(t);var a=l("q1tI"),n=l.n(a),r=l("dEAq"),c=l("Zxc8"),o=l("JjdP"),m=n.a.memo(o["default"]["grid-basic"].component);t["default"]=e=>(n.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&r["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),n.a.createElement(n.a.Fragment,null,n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{className:"markdown"},n.a.createElement("h1",{id:"grid-\u6805\u683c"},n.a.createElement(r["AnchorLink"],{to:"#grid-\u6805\u683c","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Grid \u6805\u683c"),n.a.createElement("p",null,"24 \u6805\u683c\u7cfb\u7edf\u3002"),n.a.createElement("h2",{id:"\u8bbe\u8ba1\u7406\u5ff5"},n.a.createElement(r["AnchorLink"],{to:"#\u8bbe\u8ba1\u7406\u5ff5","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u8bbe\u8ba1\u7406\u5ff5"),n.a.createElement("div",{id:"components-grid-demo-idea"},n.a.createElement("div",{className:"grid-demo"},n.a.createElement("div",{className:"ant-row demo-row"},n.a.createElement("div",{className:"ant-col-24 demo-col demo-col-1"},"100%")),n.a.createElement("div",{className:"ant-row demo-row"},n.a.createElement("div",{className:"ant-col-6 demo-col demo-col-2"},"25%"),n.a.createElement("div",{className:"ant-col-6 demo-col demo-col-3"},"25%"),n.a.createElement("div",{className:"ant-col-6 demo-col demo-col-2"},"25%"),n.a.createElement("div",{className:"ant-col-6 demo-col demo-col-3"},"25%")),n.a.createElement("div",{className:"ant-row demo-row"},n.a.createElement("div",{className:"ant-col-8 demo-col demo-col-4"},"33.33%"),n.a.createElement("div",{className:"ant-col-8 demo-col demo-col-5"},"33.33%"),n.a.createElement("div",{className:"ant-col-8 demo-col demo-col-4"},"33.33%")),n.a.createElement("div",{className:"ant-row demo-row"},n.a.createElement("div",{className:"ant-col-12 demo-col demo-col-1"},"50%"),n.a.createElement("div",{className:"ant-col-12 demo-col demo-col-3"},"50%")),n.a.createElement("div",{className:"ant-row demo-row"},n.a.createElement("div",{className:"ant-col-16 demo-col demo-col-4"},"66.66%"),n.a.createElement("div",{className:"ant-col-8 demo-col demo-col-5"},"33.33%")))),n.a.createElement("p",null,"\u5728\u591a\u6570\u4e1a\u52a1\u60c5\u51b5\u4e0b\uff0cAnt Design \u9700\u8981\u5728\u8bbe\u8ba1\u533a\u57df\u5185\u89e3\u51b3\u5927\u91cf\u4fe1\u606f\u6536\u7eb3\u7684\u95ee\u9898\uff0c\u56e0\u6b64\u5728 12 \u6805\u683c\u7cfb\u7edf\u7684\u57fa\u7840\u4e0a\uff0c\u6211\u4eec\u5c06\u6574\u4e2a\u8bbe\u8ba1\u5efa\u8bae\u533a\u57df\u6309\u7167 24 \u7b49\u5206\u7684\u539f\u5219\u8fdb\u884c\u5212\u5206\u3002"),n.a.createElement("p",null,"\u5212\u5206\u4e4b\u540e\u7684\u4fe1\u606f\u533a\u5757\u6211\u4eec\u79f0\u4e4b\u4e3a\u300e\u76d2\u5b50\u300f\u3002\u5efa\u8bae\u6a2a\u5411\u6392\u5217\u7684\u76d2\u5b50\u6570\u91cf\u6700\u591a\u56db\u4e2a\uff0c\u6700\u5c11\u4e00\u4e2a\u3002\u300e\u76d2\u5b50\u300f\u5728\u6574\u4e2a\u5c4f\u5e55\u4e0a\u5360\u6bd4\u89c1\u4e0a\u56fe\u3002\u8bbe\u8ba1\u90e8\u5206\u57fa\u4e8e\u76d2\u5b50\u7684\u5355\u4f4d\u5b9a\u5236\u76d2\u5b50\u5185\u90e8\u7684\u6392\u7248\u89c4\u5219\uff0c\u4ee5\u4fdd\u8bc1\u89c6\u89c9\u5c42\u9762\u7684\u8212\u9002\u611f\u3002"),n.a.createElement("h2",{id:"\u6982\u8ff0"},n.a.createElement(r["AnchorLink"],{to:"#\u6982\u8ff0","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u6982\u8ff0"),n.a.createElement("p",null,"\u5e03\u5c40\u7684\u6805\u683c\u5316\u7cfb\u7edf\uff0c\u6211\u4eec\u662f\u57fa\u4e8e\u884c\uff08row\uff09\u548c\u5217\uff08col\uff09\u6765\u5b9a\u4e49\u4fe1\u606f\u533a\u5757\u7684\u5916\u90e8\u6846\u67b6\uff0c\u4ee5\u4fdd\u8bc1\u9875\u9762\u7684\u6bcf\u4e2a\u533a\u57df\u80fd\u591f\u7a33\u5065\u5730\u6392\u5e03\u8d77\u6765\u3002\u4e0b\u9762\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b\u5b83\u7684\u5de5\u4f5c\u539f\u7406\uff1a"),n.a.createElement("ul",null,n.a.createElement("li",null,"\u901a\u8fc7 ",n.a.createElement("code",null,"row")," \u5728\u6c34\u5e73\u65b9\u5411\u5efa\u7acb\u4e00\u7ec4 ",n.a.createElement("code",null,"column"),"\uff08\u7b80\u5199 col\uff09\u3002"),n.a.createElement("li",null,"\u4f60\u7684\u5185\u5bb9\u5e94\u5f53\u653e\u7f6e\u4e8e ",n.a.createElement("code",null,"col")," \u5185\uff0c\u5e76\u4e14\uff0c\u53ea\u6709 ",n.a.createElement("code",null,"col")," \u53ef\u4ee5\u4f5c\u4e3a ",n.a.createElement("code",null,"row")," \u7684\u76f4\u63a5\u5143\u7d20\u3002"),n.a.createElement("li",null,"\u6805\u683c\u7cfb\u7edf\u4e2d\u7684\u5217\u662f\u6307 1 \u5230 24 \u7684\u503c\u6765\u8868\u793a\u5176\u8de8\u8d8a\u7684\u8303\u56f4\u3002\u4f8b\u5982\uff0c\u4e09\u4e2a\u7b49\u5bbd\u7684\u5217\u53ef\u4ee5\u4f7f\u7528 ",n.a.createElement("code",null,"<Col span=","{","8","}"," />")," \u6765\u521b\u5efa\u3002"),n.a.createElement("li",null,"\u5982\u679c\u4e00\u4e2a ",n.a.createElement("code",null,"row")," \u4e2d\u7684 ",n.a.createElement("code",null,"col")," \u603b\u548c\u8d85\u8fc7 24\uff0c\u90a3\u4e48\u591a\u4f59\u7684 ",n.a.createElement("code",null,"col")," \u4f1a\u4f5c\u4e3a\u4e00\u4e2a\u6574\u4f53\u53e6\u8d77\u4e00\u884c\u6392\u5217\u3002")),n.a.createElement("p",null,"\u6211\u4eec\u7684\u6805\u683c\u5316\u7cfb\u7edf\u57fa\u4e8e Flex \u5e03\u5c40\uff0c\u5141\u8bb8\u5b50\u5143\u7d20\u5728\u7236\u8282\u70b9\u5185\u7684\u6c34\u5e73\u5bf9\u9f50\u65b9\u5f0f - \u5c45\u5de6\u3001\u5c45\u4e2d\u3001\u5c45\u53f3\u3001\u7b49\u5bbd\u6392\u5217\u3001\u5206\u6563\u6392\u5217\u3002\u5b50\u5143\u7d20\u4e0e\u5b50\u5143\u7d20\u4e4b\u95f4\uff0c\u652f\u6301\u9876\u90e8\u5bf9\u9f50\u3001\u5782\u76f4\u5c45\u4e2d\u5bf9\u9f50\u3001\u5e95\u90e8\u5bf9\u9f50\u7684\u65b9\u5f0f\u3002\u540c\u65f6\uff0c\u652f\u6301\u4f7f\u7528 order \u6765\u5b9a\u4e49\u5143\u7d20\u7684\u6392\u5217\u987a\u5e8f\u3002"),n.a.createElement("p",null,"\u5e03\u5c40\u662f\u57fa\u4e8e 24 \u6805\u683c\u6765\u5b9a\u4e49\u6bcf\u4e00\u4e2a\u300e\u76d2\u5b50\u300f\u7684\u5bbd\u5ea6\uff0c\u4f46\u4e0d\u62d8\u6ce5\u4e8e\u6805\u683c\u3002"),n.a.createElement("h2",{id:"\u4ee3\u7801\u6f14\u793a"},n.a.createElement(r["AnchorLink"],{to:"#\u4ee3\u7801\u6f14\u793a","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u4ee3\u7801\u6f14\u793a"),n.a.createElement("h3",{id:"\u57fa\u7840\u6805\u683c"},n.a.createElement(r["AnchorLink"],{to:"#\u57fa\u7840\u6805\u683c","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u57fa\u7840\u6805\u683c")),n.a.createElement(c["default"],o["default"]["grid-basic"].previewerProps,n.a.createElement(m,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h2",{id:"api"},n.a.createElement(r["AnchorLink"],{to:"#api","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"API"),n.a.createElement("p",null,"Ant Design \u7684\u5e03\u5c40\u7ec4\u4ef6\u82e5\u4e0d\u80fd\u6ee1\u8db3\u4f60\u7684\u9700\u6c42\uff0c\u4f60\u4e5f\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u793e\u533a\u7684\u4f18\u79c0\u5e03\u5c40\u7ec4\u4ef6\uff1a"),n.a.createElement("ul",null,n.a.createElement("li",null,n.a.createElement(r["Link"],{to:"http://roylee0704.github.io/react-flexbox-grid/"},"react-flexbox-grid")),n.a.createElement("li",null,n.a.createElement(r["Link"],{to:"https://github.com/whoisandy/react-blocks/"},"react-blocks"))),n.a.createElement("h3",{id:"row"},n.a.createElement(r["AnchorLink"],{to:"#row","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Row"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u6210\u5458"),n.a.createElement("th",null,"\u8bf4\u660e"),n.a.createElement("th",null,"\u7c7b\u578b"),n.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),n.a.createElement("th",null,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"align"),n.a.createElement("td",null,"\u5782\u76f4\u5bf9\u9f50\u65b9\u5f0f"),n.a.createElement("td",null,n.a.createElement("code",null,"top")," | ",n.a.createElement("code",null,"middle")," | ",n.a.createElement("code",null,"bottom")),n.a.createElement("td",null,n.a.createElement("code",null,"top")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"gutter"),n.a.createElement("td",null,"\u6805\u683c\u95f4\u9694\uff0c\u53ef\u4ee5\u5199\u6210\u50cf\u7d20\u503c\u6216\u652f\u6301\u54cd\u5e94\u5f0f\u7684\u5bf9\u8c61\u5199\u6cd5\u6765\u8bbe\u7f6e\u6c34\u5e73\u95f4\u9694 ","{"," xs: 8, sm: 16, md: 24","}","\u3002\u6216\u8005\u4f7f\u7528\u6570\u7ec4\u5f62\u5f0f\u540c\u65f6\u8bbe\u7f6e ",n.a.createElement("code",null,"[\u6c34\u5e73\u95f4\u8ddd, \u5782\u76f4\u95f4\u8ddd]")),n.a.createElement("td",null,"number | object | array"),n.a.createElement("td",null,"0"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"justify"),n.a.createElement("td",null,"\u6c34\u5e73\u6392\u5217\u65b9\u5f0f"),n.a.createElement("td",null,n.a.createElement("code",null,"start")," | ",n.a.createElement("code",null,"end")," | ",n.a.createElement("code",null,"center")," | ",n.a.createElement("code",null,"space-around")," | ",n.a.createElement("code",null,"space-between")),n.a.createElement("td",null,n.a.createElement("code",null,"start")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"wrap"),n.a.createElement("td",null,"\u662f\u5426\u81ea\u52a8\u6362\u884c"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"true"),n.a.createElement("td",null,"4.8.0")))),n.a.createElement("h3",{id:"col"},n.a.createElement(r["AnchorLink"],{to:"#col","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Col"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u6210\u5458"),n.a.createElement("th",null,"\u8bf4\u660e"),n.a.createElement("th",null,"\u7c7b\u578b"),n.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),n.a.createElement("th",null,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"flex"),n.a.createElement("td",null,"flex \u5e03\u5c40\u5c5e\u6027"),n.a.createElement("td",null,"string | number"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"offset"),n.a.createElement("td",null,"\u6805\u683c\u5de6\u4fa7\u7684\u95f4\u9694\u683c\u6570\uff0c\u95f4\u9694\u5185\u4e0d\u53ef\u4ee5\u6709\u6805\u683c"),n.a.createElement("td",null,"number"),n.a.createElement("td",null,"0"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"order"),n.a.createElement("td",null,"\u6805\u683c\u987a\u5e8f"),n.a.createElement("td",null,"number"),n.a.createElement("td",null,"0"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"pull"),n.a.createElement("td",null,"\u6805\u683c\u5411\u5de6\u79fb\u52a8\u683c\u6570"),n.a.createElement("td",null,"number"),n.a.createElement("td",null,"0"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"push"),n.a.createElement("td",null,"\u6805\u683c\u5411\u53f3\u79fb\u52a8\u683c\u6570"),n.a.createElement("td",null,"number"),n.a.createElement("td",null,"0"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"span"),n.a.createElement("td",null,"\u6805\u683c\u5360\u4f4d\u683c\u6570\uff0c\u4e3a 0 \u65f6\u76f8\u5f53\u4e8e ",n.a.createElement("code",null,"display: none")),n.a.createElement("td",null,"number"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"xs"),n.a.createElement("td",null,n.a.createElement("code",null,"\u5c4f\u5e55 < 576px")," \u54cd\u5e94\u5f0f\u6805\u683c\uff0c\u53ef\u4e3a\u6805\u683c\u6570\u6216\u4e00\u4e2a\u5305\u542b\u5176\u4ed6\u5c5e\u6027\u7684\u5bf9\u8c61"),n.a.createElement("td",null,"number | object"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"sm"),n.a.createElement("td",null,n.a.createElement("code",null,"\u5c4f\u5e55 \u2265 576px")," \u54cd\u5e94\u5f0f\u6805\u683c\uff0c\u53ef\u4e3a\u6805\u683c\u6570\u6216\u4e00\u4e2a\u5305\u542b\u5176\u4ed6\u5c5e\u6027\u7684\u5bf9\u8c61"),n.a.createElement("td",null,"number | object"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"md"),n.a.createElement("td",null,n.a.createElement("code",null,"\u5c4f\u5e55 \u2265 768px")," \u54cd\u5e94\u5f0f\u6805\u683c\uff0c\u53ef\u4e3a\u6805\u683c\u6570\u6216\u4e00\u4e2a\u5305\u542b\u5176\u4ed6\u5c5e\u6027\u7684\u5bf9\u8c61"),n.a.createElement("td",null,"number | object"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"lg"),n.a.createElement("td",null,n.a.createElement("code",null,"\u5c4f\u5e55 \u2265 992px")," \u54cd\u5e94\u5f0f\u6805\u683c\uff0c\u53ef\u4e3a\u6805\u683c\u6570\u6216\u4e00\u4e2a\u5305\u542b\u5176\u4ed6\u5c5e\u6027\u7684\u5bf9\u8c61"),n.a.createElement("td",null,"number | object"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"xl"),n.a.createElement("td",null,n.a.createElement("code",null,"\u5c4f\u5e55 \u2265 1200px")," \u54cd\u5e94\u5f0f\u6805\u683c\uff0c\u53ef\u4e3a\u6805\u683c\u6570\u6216\u4e00\u4e2a\u5305\u542b\u5176\u4ed6\u5c5e\u6027\u7684\u5bf9\u8c61"),n.a.createElement("td",null,"number | object"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"xxl"),n.a.createElement("td",null,n.a.createElement("code",null,"\u5c4f\u5e55 \u2265 1600px")," \u54cd\u5e94\u5f0f\u6805\u683c\uff0c\u53ef\u4e3a\u6805\u683c\u6570\u6216\u4e00\u4e2a\u5305\u542b\u5176\u4ed6\u5c5e\u6027\u7684\u5bf9\u8c61"),n.a.createElement("td",null,"number | object"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)))),n.a.createElement("p",null,"\u54cd\u5e94\u5f0f\u6805\u683c\u7684\u65ad\u70b9\u6269\u5c55\u81ea ",n.a.createElement(r["Link"],{to:"https://getbootstrap.com/docs/4.0/layout/overview/#responsive-breakpoints"},"BootStrap 4 \u7684\u89c4\u5219"),"\uff08\u4e0d\u5305\u542b\u94fe\u63a5\u91cc ",n.a.createElement("code",null,"occasionally")," \u7684\u90e8\u5206)\u3002"),n.a.createElement("style",{dangerouslySetInnerHTML:{__html:'\n [data-theme="dark"] #components-grid-demo-playground pre {\n background: rgba(255,255,255,0.08);\n color: rgba(255,255,255,.65);\n }\n'}})))))},MZF8:function(e,t,l){"use strict";var a=l("ogwx");l.d(t,"a",(function(){return a["b"]}));l("VCU9")},RZMt:function(e,t,l){},Zxc8:function(e,t,l){"use strict";l.r(t);var a=l("q1tI"),n=l.n(a),r=l("k3GJ"),c=l("MZF8"),o=l("dEAq"),m=l("H1Ra");l("RZMt");function d(e,t){return b(e)||s(e,t)||i(e,t)||u()}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,t){if(e){if("string"===typeof e)return E(e,t);var l=Object.prototype.toString.call(e).slice(8,-1);return"Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l?Array.from(e):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?E(e,t):void 0}}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var l=0,a=new Array(t);l<t;l++)a[l]=e[l];return a}function s(e,t){var l=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=l){var a,n,r=[],c=!0,o=!1;try{for(l=l.call(e);!(c=(a=l.next()).done);c=!0)if(r.push(a.value),t&&r.length===t)break}catch(m){o=!0,n=m}finally{try{c||null==l["return"]||l["return"]()}finally{if(o)throw n}}return r}}function b(e){if(Array.isArray(e))return e}function p(e,t){var l,a=null===(l=e.match(/\.(\w+)$/))||void 0===l?void 0:l[1];return a||(a=t.tsx?"tsx":"jsx"),a}var f=function(e){var t,l,u,i=Object(a["useRef"])(),E=Object(a["useContext"])(o["context"]),s=E.locale,b=Object(o["useLocaleProps"])(s,e),f=Object(o["useDemoUrl"])(b.identifier),h=b.demoUrl||f,v=(null===c["a"]||void 0===c["a"]?void 0:c["a"].location.hash)==="#".concat(b.identifier),g=1===Object.keys(b.sources).length,w=Object(o["useCodeSandbox"])((null===(t=b.hideActions)||void 0===t?void 0:t.includes("CSB"))?null:b),y=Object(o["useRiddle"])((null===(l=b.hideActions)||void 0===l?void 0:l.includes("RIDDLE"))?null:b),k=Object(o["useMotions"])(b.motions||[],i.current),N=d(k,2),_=N[0],x=N[1],j=Object(o["useCopy"])(),A=d(j,2),O=A[0],C=A[1],L=Object(a["useState"])("_"),S=d(L,2),I=S[0],R=S[1],M=Object(a["useState"])(p(I,b.sources[I])),T=d(M,2),P=T[0],F=T[1],U=Object(a["useState"])(Boolean(b.defaultShowCode)),Z=d(U,2),q=Z[0],D=Z[1],J=Object(a["useState"])(Math.random()),B=d(J,2),$=B[0],G=B[1],H=b.sources[I][P]||b.sources[I].content,X=Object(o["useTSPlaygroundUrl"])(s,H),z=Object(a["useRef"])(),K=Object(o["usePrefersColor"])(),V=d(K,1),Q=V[0];function W(e){R(e),F(p(e,b.sources[e]))}return Object(a["useEffect"])((function(){G(Math.random())}),[Q]),n.a.createElement("div",{style:b.style,className:[b.className,"__dumi-default-previewer",v?"__dumi-default-previewer-target":""].filter(Boolean).join(" "),id:b.identifier,"data-debug":b.debug||void 0,"data-iframe":b.iframe||void 0},b.iframe&&n.a.createElement("div",{className:"__dumi-default-previewer-browser-nav"}),n.a.createElement("div",{ref:i,className:"__dumi-default-previewer-demo",style:{transform:b.transform?"translate(0, 0)":void 0,padding:b.compact||b.iframe&&!1!==b.compact?"0":void 0,background:b.background}},b.iframe?n.a.createElement("iframe",{title:"dumi-previewer",style:{height:String(b.iframe).replace(/(\d)$/,"$1px")},key:$,src:h,ref:z}):b.children),n.a.createElement("div",{className:"__dumi-default-previewer-desc","data-title":b.title},b.title&&n.a.createElement(o["AnchorLink"],{to:"#".concat(b.identifier)},b.title),b.description&&n.a.createElement("div",{dangerouslySetInnerHTML:{__html:b.description}})),n.a.createElement("div",{className:"__dumi-default-previewer-actions"},w&&n.a.createElement("button",{title:"Open demo on CodeSandbox.io",className:"__dumi-default-icon",role:"codesandbox",onClick:w}),y&&n.a.createElement("button",{title:"Open demo on Riddle",className:"__dumi-default-icon",role:"riddle",onClick:y}),b.motions&&n.a.createElement("button",{title:"Execute motions",className:"__dumi-default-icon",role:"motions",disabled:x,onClick:function(){return _()}}),b.iframe&&n.a.createElement("button",{title:"Reload demo iframe page",className:"__dumi-default-icon",role:"refresh",onClick:function(){return G(Math.random())}}),!(null===(u=b.hideActions)||void 0===u?void 0:u.includes("EXTERNAL"))&&n.a.createElement(o["Link"],{target:"_blank",to:h},n.a.createElement("button",{title:"Open demo in new tab",className:"__dumi-default-icon",role:"open-demo",type:"button"})),n.a.createElement("span",null),n.a.createElement("button",{title:"Copy source code",className:"__dumi-default-icon",role:"copy","data-status":C,onClick:function(){return O(H)}}),"tsx"===P&&q&&n.a.createElement(o["Link"],{target:"_blank",to:X},n.a.createElement("button",{title:"Get JSX via TypeScript Playground",className:"__dumi-default-icon",role:"change-tsx",type:"button"})),n.a.createElement("button",{title:"Toggle source code panel",className:"__dumi-default-icon".concat(q?" __dumi-default-btn-expand":""),role:"source",type:"button",onClick:function(){return D(!q)}})),q&&n.a.createElement("div",{className:"__dumi-default-previewer-source-wrapper"},!g&&n.a.createElement(r["b"],{className:"__dumi-default-previewer-source-tab",prefixCls:"__dumi-default-tabs",moreIcon:"\xb7\xb7\xb7",defaultActiveKey:I,onChange:W},Object.keys(b.sources).map((function(e){return n.a.createElement(r["a"],{tab:"_"===e?"index.".concat(p(e,b.sources[e])):e,key:e})}))),n.a.createElement("div",{className:"__dumi-default-previewer-source"},n.a.createElement(m["a"],{code:H,lang:P,showCopy:!1}))))};t["default"]=f}}]);
|
1
|
+
(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
|
2
|
+
[32],
|
3
|
+
{
|
4
|
+
F2qz: function (e, t, l) {
|
5
|
+
'use strict';
|
6
|
+
l.r(t);
|
7
|
+
var a = l('q1tI'),
|
8
|
+
n = l.n(a),
|
9
|
+
r = l('dEAq'),
|
10
|
+
c = l('Zxc8'),
|
11
|
+
o = l('JjdP'),
|
12
|
+
m = n.a.memo(o['default']['grid-basic'].component);
|
13
|
+
t['default'] = (e) => (
|
14
|
+
n.a.useEffect(() => {
|
15
|
+
var t;
|
16
|
+
null !== e &&
|
17
|
+
void 0 !== e &&
|
18
|
+
null !== (t = e.location) &&
|
19
|
+
void 0 !== t &&
|
20
|
+
t.hash &&
|
21
|
+
r['AnchorLink'].scrollToAnchor(
|
22
|
+
decodeURIComponent(e.location.hash.slice(1)),
|
23
|
+
);
|
24
|
+
}, []),
|
25
|
+
n.a.createElement(
|
26
|
+
n.a.Fragment,
|
27
|
+
null,
|
28
|
+
n.a.createElement(
|
29
|
+
n.a.Fragment,
|
30
|
+
null,
|
31
|
+
n.a.createElement(
|
32
|
+
'div',
|
33
|
+
{ className: 'markdown' },
|
34
|
+
n.a.createElement(
|
35
|
+
'h1',
|
36
|
+
{ id: 'grid-\u6805\u683c' },
|
37
|
+
n.a.createElement(
|
38
|
+
r['AnchorLink'],
|
39
|
+
{
|
40
|
+
to: '#grid-\u6805\u683c',
|
41
|
+
'aria-hidden': 'true',
|
42
|
+
tabIndex: -1,
|
43
|
+
},
|
44
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
45
|
+
),
|
46
|
+
'Grid \u6805\u683c',
|
47
|
+
),
|
48
|
+
n.a.createElement('p', null, '24 \u6805\u683c\u7cfb\u7edf\u3002'),
|
49
|
+
n.a.createElement(
|
50
|
+
'h2',
|
51
|
+
{ id: '\u8bbe\u8ba1\u7406\u5ff5' },
|
52
|
+
n.a.createElement(
|
53
|
+
r['AnchorLink'],
|
54
|
+
{
|
55
|
+
to: '#\u8bbe\u8ba1\u7406\u5ff5',
|
56
|
+
'aria-hidden': 'true',
|
57
|
+
tabIndex: -1,
|
58
|
+
},
|
59
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
60
|
+
),
|
61
|
+
'\u8bbe\u8ba1\u7406\u5ff5',
|
62
|
+
),
|
63
|
+
n.a.createElement(
|
64
|
+
'div',
|
65
|
+
{ id: 'components-grid-demo-idea' },
|
66
|
+
n.a.createElement(
|
67
|
+
'div',
|
68
|
+
{ className: 'grid-demo' },
|
69
|
+
n.a.createElement(
|
70
|
+
'div',
|
71
|
+
{ className: 'ant-row demo-row' },
|
72
|
+
n.a.createElement(
|
73
|
+
'div',
|
74
|
+
{ className: 'ant-col-24 demo-col demo-col-1' },
|
75
|
+
'100%',
|
76
|
+
),
|
77
|
+
),
|
78
|
+
n.a.createElement(
|
79
|
+
'div',
|
80
|
+
{ className: 'ant-row demo-row' },
|
81
|
+
n.a.createElement(
|
82
|
+
'div',
|
83
|
+
{ className: 'ant-col-6 demo-col demo-col-2' },
|
84
|
+
'25%',
|
85
|
+
),
|
86
|
+
n.a.createElement(
|
87
|
+
'div',
|
88
|
+
{ className: 'ant-col-6 demo-col demo-col-3' },
|
89
|
+
'25%',
|
90
|
+
),
|
91
|
+
n.a.createElement(
|
92
|
+
'div',
|
93
|
+
{ className: 'ant-col-6 demo-col demo-col-2' },
|
94
|
+
'25%',
|
95
|
+
),
|
96
|
+
n.a.createElement(
|
97
|
+
'div',
|
98
|
+
{ className: 'ant-col-6 demo-col demo-col-3' },
|
99
|
+
'25%',
|
100
|
+
),
|
101
|
+
),
|
102
|
+
n.a.createElement(
|
103
|
+
'div',
|
104
|
+
{ className: 'ant-row demo-row' },
|
105
|
+
n.a.createElement(
|
106
|
+
'div',
|
107
|
+
{ className: 'ant-col-8 demo-col demo-col-4' },
|
108
|
+
'33.33%',
|
109
|
+
),
|
110
|
+
n.a.createElement(
|
111
|
+
'div',
|
112
|
+
{ className: 'ant-col-8 demo-col demo-col-5' },
|
113
|
+
'33.33%',
|
114
|
+
),
|
115
|
+
n.a.createElement(
|
116
|
+
'div',
|
117
|
+
{ className: 'ant-col-8 demo-col demo-col-4' },
|
118
|
+
'33.33%',
|
119
|
+
),
|
120
|
+
),
|
121
|
+
n.a.createElement(
|
122
|
+
'div',
|
123
|
+
{ className: 'ant-row demo-row' },
|
124
|
+
n.a.createElement(
|
125
|
+
'div',
|
126
|
+
{ className: 'ant-col-12 demo-col demo-col-1' },
|
127
|
+
'50%',
|
128
|
+
),
|
129
|
+
n.a.createElement(
|
130
|
+
'div',
|
131
|
+
{ className: 'ant-col-12 demo-col demo-col-3' },
|
132
|
+
'50%',
|
133
|
+
),
|
134
|
+
),
|
135
|
+
n.a.createElement(
|
136
|
+
'div',
|
137
|
+
{ className: 'ant-row demo-row' },
|
138
|
+
n.a.createElement(
|
139
|
+
'div',
|
140
|
+
{ className: 'ant-col-16 demo-col demo-col-4' },
|
141
|
+
'66.66%',
|
142
|
+
),
|
143
|
+
n.a.createElement(
|
144
|
+
'div',
|
145
|
+
{ className: 'ant-col-8 demo-col demo-col-5' },
|
146
|
+
'33.33%',
|
147
|
+
),
|
148
|
+
),
|
149
|
+
),
|
150
|
+
),
|
151
|
+
n.a.createElement(
|
152
|
+
'p',
|
153
|
+
null,
|
154
|
+
'\u5728\u591a\u6570\u4e1a\u52a1\u60c5\u51b5\u4e0b\uff0cAnt Design \u9700\u8981\u5728\u8bbe\u8ba1\u533a\u57df\u5185\u89e3\u51b3\u5927\u91cf\u4fe1\u606f\u6536\u7eb3\u7684\u95ee\u9898\uff0c\u56e0\u6b64\u5728 12 \u6805\u683c\u7cfb\u7edf\u7684\u57fa\u7840\u4e0a\uff0c\u6211\u4eec\u5c06\u6574\u4e2a\u8bbe\u8ba1\u5efa\u8bae\u533a\u57df\u6309\u7167 24 \u7b49\u5206\u7684\u539f\u5219\u8fdb\u884c\u5212\u5206\u3002',
|
155
|
+
),
|
156
|
+
n.a.createElement(
|
157
|
+
'p',
|
158
|
+
null,
|
159
|
+
'\u5212\u5206\u4e4b\u540e\u7684\u4fe1\u606f\u533a\u5757\u6211\u4eec\u79f0\u4e4b\u4e3a\u300e\u76d2\u5b50\u300f\u3002\u5efa\u8bae\u6a2a\u5411\u6392\u5217\u7684\u76d2\u5b50\u6570\u91cf\u6700\u591a\u56db\u4e2a\uff0c\u6700\u5c11\u4e00\u4e2a\u3002\u300e\u76d2\u5b50\u300f\u5728\u6574\u4e2a\u5c4f\u5e55\u4e0a\u5360\u6bd4\u89c1\u4e0a\u56fe\u3002\u8bbe\u8ba1\u90e8\u5206\u57fa\u4e8e\u76d2\u5b50\u7684\u5355\u4f4d\u5b9a\u5236\u76d2\u5b50\u5185\u90e8\u7684\u6392\u7248\u89c4\u5219\uff0c\u4ee5\u4fdd\u8bc1\u89c6\u89c9\u5c42\u9762\u7684\u8212\u9002\u611f\u3002',
|
160
|
+
),
|
161
|
+
n.a.createElement(
|
162
|
+
'h2',
|
163
|
+
{ id: '\u6982\u8ff0' },
|
164
|
+
n.a.createElement(
|
165
|
+
r['AnchorLink'],
|
166
|
+
{ to: '#\u6982\u8ff0', 'aria-hidden': 'true', tabIndex: -1 },
|
167
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
168
|
+
),
|
169
|
+
'\u6982\u8ff0',
|
170
|
+
),
|
171
|
+
n.a.createElement(
|
172
|
+
'p',
|
173
|
+
null,
|
174
|
+
'\u5e03\u5c40\u7684\u6805\u683c\u5316\u7cfb\u7edf\uff0c\u6211\u4eec\u662f\u57fa\u4e8e\u884c\uff08row\uff09\u548c\u5217\uff08col\uff09\u6765\u5b9a\u4e49\u4fe1\u606f\u533a\u5757\u7684\u5916\u90e8\u6846\u67b6\uff0c\u4ee5\u4fdd\u8bc1\u9875\u9762\u7684\u6bcf\u4e2a\u533a\u57df\u80fd\u591f\u7a33\u5065\u5730\u6392\u5e03\u8d77\u6765\u3002\u4e0b\u9762\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b\u5b83\u7684\u5de5\u4f5c\u539f\u7406\uff1a',
|
175
|
+
),
|
176
|
+
n.a.createElement(
|
177
|
+
'ul',
|
178
|
+
null,
|
179
|
+
n.a.createElement(
|
180
|
+
'li',
|
181
|
+
null,
|
182
|
+
'\u901a\u8fc7 ',
|
183
|
+
n.a.createElement('code', null, 'row'),
|
184
|
+
' \u5728\u6c34\u5e73\u65b9\u5411\u5efa\u7acb\u4e00\u7ec4 ',
|
185
|
+
n.a.createElement('code', null, 'column'),
|
186
|
+
'\uff08\u7b80\u5199 col\uff09\u3002',
|
187
|
+
),
|
188
|
+
n.a.createElement(
|
189
|
+
'li',
|
190
|
+
null,
|
191
|
+
'\u4f60\u7684\u5185\u5bb9\u5e94\u5f53\u653e\u7f6e\u4e8e ',
|
192
|
+
n.a.createElement('code', null, 'col'),
|
193
|
+
' \u5185\uff0c\u5e76\u4e14\uff0c\u53ea\u6709 ',
|
194
|
+
n.a.createElement('code', null, 'col'),
|
195
|
+
' \u53ef\u4ee5\u4f5c\u4e3a ',
|
196
|
+
n.a.createElement('code', null, 'row'),
|
197
|
+
' \u7684\u76f4\u63a5\u5143\u7d20\u3002',
|
198
|
+
),
|
199
|
+
n.a.createElement(
|
200
|
+
'li',
|
201
|
+
null,
|
202
|
+
'\u6805\u683c\u7cfb\u7edf\u4e2d\u7684\u5217\u662f\u6307 1 \u5230 24 \u7684\u503c\u6765\u8868\u793a\u5176\u8de8\u8d8a\u7684\u8303\u56f4\u3002\u4f8b\u5982\uff0c\u4e09\u4e2a\u7b49\u5bbd\u7684\u5217\u53ef\u4ee5\u4f7f\u7528 ',
|
203
|
+
n.a.createElement(
|
204
|
+
'code',
|
205
|
+
null,
|
206
|
+
'<Col span=',
|
207
|
+
'{',
|
208
|
+
'8',
|
209
|
+
'}',
|
210
|
+
' />',
|
211
|
+
),
|
212
|
+
' \u6765\u521b\u5efa\u3002',
|
213
|
+
),
|
214
|
+
n.a.createElement(
|
215
|
+
'li',
|
216
|
+
null,
|
217
|
+
'\u5982\u679c\u4e00\u4e2a ',
|
218
|
+
n.a.createElement('code', null, 'row'),
|
219
|
+
' \u4e2d\u7684 ',
|
220
|
+
n.a.createElement('code', null, 'col'),
|
221
|
+
' \u603b\u548c\u8d85\u8fc7 24\uff0c\u90a3\u4e48\u591a\u4f59\u7684 ',
|
222
|
+
n.a.createElement('code', null, 'col'),
|
223
|
+
' \u4f1a\u4f5c\u4e3a\u4e00\u4e2a\u6574\u4f53\u53e6\u8d77\u4e00\u884c\u6392\u5217\u3002',
|
224
|
+
),
|
225
|
+
),
|
226
|
+
n.a.createElement(
|
227
|
+
'p',
|
228
|
+
null,
|
229
|
+
'\u6211\u4eec\u7684\u6805\u683c\u5316\u7cfb\u7edf\u57fa\u4e8e Flex \u5e03\u5c40\uff0c\u5141\u8bb8\u5b50\u5143\u7d20\u5728\u7236\u8282\u70b9\u5185\u7684\u6c34\u5e73\u5bf9\u9f50\u65b9\u5f0f - \u5c45\u5de6\u3001\u5c45\u4e2d\u3001\u5c45\u53f3\u3001\u7b49\u5bbd\u6392\u5217\u3001\u5206\u6563\u6392\u5217\u3002\u5b50\u5143\u7d20\u4e0e\u5b50\u5143\u7d20\u4e4b\u95f4\uff0c\u652f\u6301\u9876\u90e8\u5bf9\u9f50\u3001\u5782\u76f4\u5c45\u4e2d\u5bf9\u9f50\u3001\u5e95\u90e8\u5bf9\u9f50\u7684\u65b9\u5f0f\u3002\u540c\u65f6\uff0c\u652f\u6301\u4f7f\u7528 order \u6765\u5b9a\u4e49\u5143\u7d20\u7684\u6392\u5217\u987a\u5e8f\u3002',
|
230
|
+
),
|
231
|
+
n.a.createElement(
|
232
|
+
'p',
|
233
|
+
null,
|
234
|
+
'\u5e03\u5c40\u662f\u57fa\u4e8e 24 \u6805\u683c\u6765\u5b9a\u4e49\u6bcf\u4e00\u4e2a\u300e\u76d2\u5b50\u300f\u7684\u5bbd\u5ea6\uff0c\u4f46\u4e0d\u62d8\u6ce5\u4e8e\u6805\u683c\u3002',
|
235
|
+
),
|
236
|
+
n.a.createElement(
|
237
|
+
'h2',
|
238
|
+
{ id: '\u4ee3\u7801\u6f14\u793a' },
|
239
|
+
n.a.createElement(
|
240
|
+
r['AnchorLink'],
|
241
|
+
{
|
242
|
+
to: '#\u4ee3\u7801\u6f14\u793a',
|
243
|
+
'aria-hidden': 'true',
|
244
|
+
tabIndex: -1,
|
245
|
+
},
|
246
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
247
|
+
),
|
248
|
+
'\u4ee3\u7801\u6f14\u793a',
|
249
|
+
),
|
250
|
+
n.a.createElement(
|
251
|
+
'h3',
|
252
|
+
{ id: '\u57fa\u7840\u6805\u683c' },
|
253
|
+
n.a.createElement(
|
254
|
+
r['AnchorLink'],
|
255
|
+
{
|
256
|
+
to: '#\u57fa\u7840\u6805\u683c',
|
257
|
+
'aria-hidden': 'true',
|
258
|
+
tabIndex: -1,
|
259
|
+
},
|
260
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
261
|
+
),
|
262
|
+
'\u57fa\u7840\u6805\u683c',
|
263
|
+
),
|
264
|
+
),
|
265
|
+
n.a.createElement(
|
266
|
+
c['default'],
|
267
|
+
o['default']['grid-basic'].previewerProps,
|
268
|
+
n.a.createElement(m, null),
|
269
|
+
),
|
270
|
+
n.a.createElement(
|
271
|
+
'div',
|
272
|
+
{ className: 'markdown' },
|
273
|
+
n.a.createElement(
|
274
|
+
'h2',
|
275
|
+
{ id: 'api' },
|
276
|
+
n.a.createElement(
|
277
|
+
r['AnchorLink'],
|
278
|
+
{ to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
|
279
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
280
|
+
),
|
281
|
+
'API',
|
282
|
+
),
|
283
|
+
n.a.createElement(
|
284
|
+
'p',
|
285
|
+
null,
|
286
|
+
'Ant Design \u7684\u5e03\u5c40\u7ec4\u4ef6\u82e5\u4e0d\u80fd\u6ee1\u8db3\u4f60\u7684\u9700\u6c42\uff0c\u4f60\u4e5f\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u793e\u533a\u7684\u4f18\u79c0\u5e03\u5c40\u7ec4\u4ef6\uff1a',
|
287
|
+
),
|
288
|
+
n.a.createElement(
|
289
|
+
'ul',
|
290
|
+
null,
|
291
|
+
n.a.createElement(
|
292
|
+
'li',
|
293
|
+
null,
|
294
|
+
n.a.createElement(
|
295
|
+
r['Link'],
|
296
|
+
{ to: 'http://roylee0704.github.io/react-flexbox-grid/' },
|
297
|
+
'react-flexbox-grid',
|
298
|
+
),
|
299
|
+
),
|
300
|
+
n.a.createElement(
|
301
|
+
'li',
|
302
|
+
null,
|
303
|
+
n.a.createElement(
|
304
|
+
r['Link'],
|
305
|
+
{ to: 'https://github.com/whoisandy/react-blocks/' },
|
306
|
+
'react-blocks',
|
307
|
+
),
|
308
|
+
),
|
309
|
+
),
|
310
|
+
n.a.createElement(
|
311
|
+
'h3',
|
312
|
+
{ id: 'row' },
|
313
|
+
n.a.createElement(
|
314
|
+
r['AnchorLink'],
|
315
|
+
{ to: '#row', 'aria-hidden': 'true', tabIndex: -1 },
|
316
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
317
|
+
),
|
318
|
+
'Row',
|
319
|
+
),
|
320
|
+
n.a.createElement(
|
321
|
+
'table',
|
322
|
+
null,
|
323
|
+
n.a.createElement(
|
324
|
+
'thead',
|
325
|
+
null,
|
326
|
+
n.a.createElement(
|
327
|
+
'tr',
|
328
|
+
null,
|
329
|
+
n.a.createElement('th', null, '\u6210\u5458'),
|
330
|
+
n.a.createElement('th', null, '\u8bf4\u660e'),
|
331
|
+
n.a.createElement('th', null, '\u7c7b\u578b'),
|
332
|
+
n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
|
333
|
+
n.a.createElement('th', null, '\u7248\u672c'),
|
334
|
+
),
|
335
|
+
),
|
336
|
+
n.a.createElement(
|
337
|
+
'tbody',
|
338
|
+
null,
|
339
|
+
n.a.createElement(
|
340
|
+
'tr',
|
341
|
+
null,
|
342
|
+
n.a.createElement('td', null, 'align'),
|
343
|
+
n.a.createElement(
|
344
|
+
'td',
|
345
|
+
null,
|
346
|
+
'\u5782\u76f4\u5bf9\u9f50\u65b9\u5f0f',
|
347
|
+
),
|
348
|
+
n.a.createElement(
|
349
|
+
'td',
|
350
|
+
null,
|
351
|
+
n.a.createElement('code', null, 'top'),
|
352
|
+
' | ',
|
353
|
+
n.a.createElement('code', null, 'middle'),
|
354
|
+
' | ',
|
355
|
+
n.a.createElement('code', null, 'bottom'),
|
356
|
+
),
|
357
|
+
n.a.createElement(
|
358
|
+
'td',
|
359
|
+
null,
|
360
|
+
n.a.createElement('code', null, 'top'),
|
361
|
+
),
|
362
|
+
n.a.createElement('td', null),
|
363
|
+
),
|
364
|
+
n.a.createElement(
|
365
|
+
'tr',
|
366
|
+
null,
|
367
|
+
n.a.createElement('td', null, 'gutter'),
|
368
|
+
n.a.createElement(
|
369
|
+
'td',
|
370
|
+
null,
|
371
|
+
'\u6805\u683c\u95f4\u9694\uff0c\u53ef\u4ee5\u5199\u6210\u50cf\u7d20\u503c\u6216\u652f\u6301\u54cd\u5e94\u5f0f\u7684\u5bf9\u8c61\u5199\u6cd5\u6765\u8bbe\u7f6e\u6c34\u5e73\u95f4\u9694 ',
|
372
|
+
'{',
|
373
|
+
' xs: 8, sm: 16, md: 24',
|
374
|
+
'}',
|
375
|
+
'\u3002\u6216\u8005\u4f7f\u7528\u6570\u7ec4\u5f62\u5f0f\u540c\u65f6\u8bbe\u7f6e ',
|
376
|
+
n.a.createElement(
|
377
|
+
'code',
|
378
|
+
null,
|
379
|
+
'[\u6c34\u5e73\u95f4\u8ddd, \u5782\u76f4\u95f4\u8ddd]',
|
380
|
+
),
|
381
|
+
),
|
382
|
+
n.a.createElement('td', null, 'number | object | array'),
|
383
|
+
n.a.createElement('td', null, '0'),
|
384
|
+
n.a.createElement('td', null),
|
385
|
+
),
|
386
|
+
n.a.createElement(
|
387
|
+
'tr',
|
388
|
+
null,
|
389
|
+
n.a.createElement('td', null, 'justify'),
|
390
|
+
n.a.createElement(
|
391
|
+
'td',
|
392
|
+
null,
|
393
|
+
'\u6c34\u5e73\u6392\u5217\u65b9\u5f0f',
|
394
|
+
),
|
395
|
+
n.a.createElement(
|
396
|
+
'td',
|
397
|
+
null,
|
398
|
+
n.a.createElement('code', null, 'start'),
|
399
|
+
' | ',
|
400
|
+
n.a.createElement('code', null, 'end'),
|
401
|
+
' | ',
|
402
|
+
n.a.createElement('code', null, 'center'),
|
403
|
+
' | ',
|
404
|
+
n.a.createElement('code', null, 'space-around'),
|
405
|
+
' | ',
|
406
|
+
n.a.createElement('code', null, 'space-between'),
|
407
|
+
),
|
408
|
+
n.a.createElement(
|
409
|
+
'td',
|
410
|
+
null,
|
411
|
+
n.a.createElement('code', null, 'start'),
|
412
|
+
),
|
413
|
+
n.a.createElement('td', null),
|
414
|
+
),
|
415
|
+
n.a.createElement(
|
416
|
+
'tr',
|
417
|
+
null,
|
418
|
+
n.a.createElement('td', null, 'wrap'),
|
419
|
+
n.a.createElement(
|
420
|
+
'td',
|
421
|
+
null,
|
422
|
+
'\u662f\u5426\u81ea\u52a8\u6362\u884c',
|
423
|
+
),
|
424
|
+
n.a.createElement('td', null, 'boolean'),
|
425
|
+
n.a.createElement('td', null, 'true'),
|
426
|
+
n.a.createElement('td', null, '4.8.0'),
|
427
|
+
),
|
428
|
+
),
|
429
|
+
),
|
430
|
+
n.a.createElement(
|
431
|
+
'h3',
|
432
|
+
{ id: 'col' },
|
433
|
+
n.a.createElement(
|
434
|
+
r['AnchorLink'],
|
435
|
+
{ to: '#col', 'aria-hidden': 'true', tabIndex: -1 },
|
436
|
+
n.a.createElement('span', { className: 'icon icon-link' }),
|
437
|
+
),
|
438
|
+
'Col',
|
439
|
+
),
|
440
|
+
n.a.createElement(
|
441
|
+
'table',
|
442
|
+
null,
|
443
|
+
n.a.createElement(
|
444
|
+
'thead',
|
445
|
+
null,
|
446
|
+
n.a.createElement(
|
447
|
+
'tr',
|
448
|
+
null,
|
449
|
+
n.a.createElement('th', null, '\u6210\u5458'),
|
450
|
+
n.a.createElement('th', null, '\u8bf4\u660e'),
|
451
|
+
n.a.createElement('th', null, '\u7c7b\u578b'),
|
452
|
+
n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
|
453
|
+
n.a.createElement('th', null, '\u7248\u672c'),
|
454
|
+
),
|
455
|
+
),
|
456
|
+
n.a.createElement(
|
457
|
+
'tbody',
|
458
|
+
null,
|
459
|
+
n.a.createElement(
|
460
|
+
'tr',
|
461
|
+
null,
|
462
|
+
n.a.createElement('td', null, 'flex'),
|
463
|
+
n.a.createElement(
|
464
|
+
'td',
|
465
|
+
null,
|
466
|
+
'flex \u5e03\u5c40\u5c5e\u6027',
|
467
|
+
),
|
468
|
+
n.a.createElement('td', null, 'string | number'),
|
469
|
+
n.a.createElement('td', null, '-'),
|
470
|
+
n.a.createElement('td', null),
|
471
|
+
),
|
472
|
+
n.a.createElement(
|
473
|
+
'tr',
|
474
|
+
null,
|
475
|
+
n.a.createElement('td', null, 'offset'),
|
476
|
+
n.a.createElement(
|
477
|
+
'td',
|
478
|
+
null,
|
479
|
+
'\u6805\u683c\u5de6\u4fa7\u7684\u95f4\u9694\u683c\u6570\uff0c\u95f4\u9694\u5185\u4e0d\u53ef\u4ee5\u6709\u6805\u683c',
|
480
|
+
),
|
481
|
+
n.a.createElement('td', null, 'number'),
|
482
|
+
n.a.createElement('td', null, '0'),
|
483
|
+
n.a.createElement('td', null),
|
484
|
+
),
|
485
|
+
n.a.createElement(
|
486
|
+
'tr',
|
487
|
+
null,
|
488
|
+
n.a.createElement('td', null, 'order'),
|
489
|
+
n.a.createElement('td', null, '\u6805\u683c\u987a\u5e8f'),
|
490
|
+
n.a.createElement('td', null, 'number'),
|
491
|
+
n.a.createElement('td', null, '0'),
|
492
|
+
n.a.createElement('td', null),
|
493
|
+
),
|
494
|
+
n.a.createElement(
|
495
|
+
'tr',
|
496
|
+
null,
|
497
|
+
n.a.createElement('td', null, 'pull'),
|
498
|
+
n.a.createElement(
|
499
|
+
'td',
|
500
|
+
null,
|
501
|
+
'\u6805\u683c\u5411\u5de6\u79fb\u52a8\u683c\u6570',
|
502
|
+
),
|
503
|
+
n.a.createElement('td', null, 'number'),
|
504
|
+
n.a.createElement('td', null, '0'),
|
505
|
+
n.a.createElement('td', null),
|
506
|
+
),
|
507
|
+
n.a.createElement(
|
508
|
+
'tr',
|
509
|
+
null,
|
510
|
+
n.a.createElement('td', null, 'push'),
|
511
|
+
n.a.createElement(
|
512
|
+
'td',
|
513
|
+
null,
|
514
|
+
'\u6805\u683c\u5411\u53f3\u79fb\u52a8\u683c\u6570',
|
515
|
+
),
|
516
|
+
n.a.createElement('td', null, 'number'),
|
517
|
+
n.a.createElement('td', null, '0'),
|
518
|
+
n.a.createElement('td', null),
|
519
|
+
),
|
520
|
+
n.a.createElement(
|
521
|
+
'tr',
|
522
|
+
null,
|
523
|
+
n.a.createElement('td', null, 'span'),
|
524
|
+
n.a.createElement(
|
525
|
+
'td',
|
526
|
+
null,
|
527
|
+
'\u6805\u683c\u5360\u4f4d\u683c\u6570\uff0c\u4e3a 0 \u65f6\u76f8\u5f53\u4e8e ',
|
528
|
+
n.a.createElement('code', null, 'display: none'),
|
529
|
+
),
|
530
|
+
n.a.createElement('td', null, 'number'),
|
531
|
+
n.a.createElement('td', null, '-'),
|
532
|
+
n.a.createElement('td', null),
|
533
|
+
),
|
534
|
+
n.a.createElement(
|
535
|
+
'tr',
|
536
|
+
null,
|
537
|
+
n.a.createElement('td', null, 'xs'),
|
538
|
+
n.a.createElement(
|
539
|
+
'td',
|
540
|
+
null,
|
541
|
+
n.a.createElement('code', null, '\u5c4f\u5e55 < 576px'),
|
542
|
+
' \u54cd\u5e94\u5f0f\u6805\u683c\uff0c\u53ef\u4e3a\u6805\u683c\u6570\u6216\u4e00\u4e2a\u5305\u542b\u5176\u4ed6\u5c5e\u6027\u7684\u5bf9\u8c61',
|
543
|
+
),
|
544
|
+
n.a.createElement('td', null, 'number | object'),
|
545
|
+
n.a.createElement('td', null, '-'),
|
546
|
+
n.a.createElement('td', null),
|
547
|
+
),
|
548
|
+
n.a.createElement(
|
549
|
+
'tr',
|
550
|
+
null,
|
551
|
+
n.a.createElement('td', null, 'sm'),
|
552
|
+
n.a.createElement(
|
553
|
+
'td',
|
554
|
+
null,
|
555
|
+
n.a.createElement(
|
556
|
+
'code',
|
557
|
+
null,
|
558
|
+
'\u5c4f\u5e55 \u2265 576px',
|
559
|
+
),
|
560
|
+
' \u54cd\u5e94\u5f0f\u6805\u683c\uff0c\u53ef\u4e3a\u6805\u683c\u6570\u6216\u4e00\u4e2a\u5305\u542b\u5176\u4ed6\u5c5e\u6027\u7684\u5bf9\u8c61',
|
561
|
+
),
|
562
|
+
n.a.createElement('td', null, 'number | object'),
|
563
|
+
n.a.createElement('td', null, '-'),
|
564
|
+
n.a.createElement('td', null),
|
565
|
+
),
|
566
|
+
n.a.createElement(
|
567
|
+
'tr',
|
568
|
+
null,
|
569
|
+
n.a.createElement('td', null, 'md'),
|
570
|
+
n.a.createElement(
|
571
|
+
'td',
|
572
|
+
null,
|
573
|
+
n.a.createElement(
|
574
|
+
'code',
|
575
|
+
null,
|
576
|
+
'\u5c4f\u5e55 \u2265 768px',
|
577
|
+
),
|
578
|
+
' \u54cd\u5e94\u5f0f\u6805\u683c\uff0c\u53ef\u4e3a\u6805\u683c\u6570\u6216\u4e00\u4e2a\u5305\u542b\u5176\u4ed6\u5c5e\u6027\u7684\u5bf9\u8c61',
|
579
|
+
),
|
580
|
+
n.a.createElement('td', null, 'number | object'),
|
581
|
+
n.a.createElement('td', null, '-'),
|
582
|
+
n.a.createElement('td', null),
|
583
|
+
),
|
584
|
+
n.a.createElement(
|
585
|
+
'tr',
|
586
|
+
null,
|
587
|
+
n.a.createElement('td', null, 'lg'),
|
588
|
+
n.a.createElement(
|
589
|
+
'td',
|
590
|
+
null,
|
591
|
+
n.a.createElement(
|
592
|
+
'code',
|
593
|
+
null,
|
594
|
+
'\u5c4f\u5e55 \u2265 992px',
|
595
|
+
),
|
596
|
+
' \u54cd\u5e94\u5f0f\u6805\u683c\uff0c\u53ef\u4e3a\u6805\u683c\u6570\u6216\u4e00\u4e2a\u5305\u542b\u5176\u4ed6\u5c5e\u6027\u7684\u5bf9\u8c61',
|
597
|
+
),
|
598
|
+
n.a.createElement('td', null, 'number | object'),
|
599
|
+
n.a.createElement('td', null, '-'),
|
600
|
+
n.a.createElement('td', null),
|
601
|
+
),
|
602
|
+
n.a.createElement(
|
603
|
+
'tr',
|
604
|
+
null,
|
605
|
+
n.a.createElement('td', null, 'xl'),
|
606
|
+
n.a.createElement(
|
607
|
+
'td',
|
608
|
+
null,
|
609
|
+
n.a.createElement(
|
610
|
+
'code',
|
611
|
+
null,
|
612
|
+
'\u5c4f\u5e55 \u2265 1200px',
|
613
|
+
),
|
614
|
+
' \u54cd\u5e94\u5f0f\u6805\u683c\uff0c\u53ef\u4e3a\u6805\u683c\u6570\u6216\u4e00\u4e2a\u5305\u542b\u5176\u4ed6\u5c5e\u6027\u7684\u5bf9\u8c61',
|
615
|
+
),
|
616
|
+
n.a.createElement('td', null, 'number | object'),
|
617
|
+
n.a.createElement('td', null, '-'),
|
618
|
+
n.a.createElement('td', null),
|
619
|
+
),
|
620
|
+
n.a.createElement(
|
621
|
+
'tr',
|
622
|
+
null,
|
623
|
+
n.a.createElement('td', null, 'xxl'),
|
624
|
+
n.a.createElement(
|
625
|
+
'td',
|
626
|
+
null,
|
627
|
+
n.a.createElement(
|
628
|
+
'code',
|
629
|
+
null,
|
630
|
+
'\u5c4f\u5e55 \u2265 1600px',
|
631
|
+
),
|
632
|
+
' \u54cd\u5e94\u5f0f\u6805\u683c\uff0c\u53ef\u4e3a\u6805\u683c\u6570\u6216\u4e00\u4e2a\u5305\u542b\u5176\u4ed6\u5c5e\u6027\u7684\u5bf9\u8c61',
|
633
|
+
),
|
634
|
+
n.a.createElement('td', null, 'number | object'),
|
635
|
+
n.a.createElement('td', null, '-'),
|
636
|
+
n.a.createElement('td', null),
|
637
|
+
),
|
638
|
+
),
|
639
|
+
),
|
640
|
+
n.a.createElement(
|
641
|
+
'p',
|
642
|
+
null,
|
643
|
+
'\u54cd\u5e94\u5f0f\u6805\u683c\u7684\u65ad\u70b9\u6269\u5c55\u81ea ',
|
644
|
+
n.a.createElement(
|
645
|
+
r['Link'],
|
646
|
+
{
|
647
|
+
to: 'https://getbootstrap.com/docs/4.0/layout/overview/#responsive-breakpoints',
|
648
|
+
},
|
649
|
+
'BootStrap 4 \u7684\u89c4\u5219',
|
650
|
+
),
|
651
|
+
'\uff08\u4e0d\u5305\u542b\u94fe\u63a5\u91cc ',
|
652
|
+
n.a.createElement('code', null, 'occasionally'),
|
653
|
+
' \u7684\u90e8\u5206)\u3002',
|
654
|
+
),
|
655
|
+
n.a.createElement('style', {
|
656
|
+
dangerouslySetInnerHTML: {
|
657
|
+
__html:
|
658
|
+
'\n [data-theme="dark"] #components-grid-demo-playground pre {\n background: rgba(255,255,255,0.08);\n color: rgba(255,255,255,.65);\n }\n',
|
659
|
+
},
|
660
|
+
}),
|
661
|
+
),
|
662
|
+
),
|
663
|
+
)
|
664
|
+
);
|
665
|
+
},
|
666
|
+
MZF8: function (e, t, l) {
|
667
|
+
'use strict';
|
668
|
+
var a = l('ogwx');
|
669
|
+
l.d(t, 'a', function () {
|
670
|
+
return a['b'];
|
671
|
+
});
|
672
|
+
l('VCU9');
|
673
|
+
},
|
674
|
+
RZMt: function (e, t, l) {},
|
675
|
+
Zxc8: function (e, t, l) {
|
676
|
+
'use strict';
|
677
|
+
l.r(t);
|
678
|
+
var a = l('q1tI'),
|
679
|
+
n = l.n(a),
|
680
|
+
r = l('k3GJ'),
|
681
|
+
c = l('MZF8'),
|
682
|
+
o = l('dEAq'),
|
683
|
+
m = l('H1Ra');
|
684
|
+
l('RZMt');
|
685
|
+
function d(e, t) {
|
686
|
+
return b(e) || s(e, t) || i(e, t) || u();
|
687
|
+
}
|
688
|
+
function u() {
|
689
|
+
throw new TypeError(
|
690
|
+
'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
|
691
|
+
);
|
692
|
+
}
|
693
|
+
function i(e, t) {
|
694
|
+
if (e) {
|
695
|
+
if ('string' === typeof e) return E(e, t);
|
696
|
+
var l = Object.prototype.toString.call(e).slice(8, -1);
|
697
|
+
return (
|
698
|
+
'Object' === l && e.constructor && (l = e.constructor.name),
|
699
|
+
'Map' === l || 'Set' === l
|
700
|
+
? Array.from(e)
|
701
|
+
: 'Arguments' === l ||
|
702
|
+
/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)
|
703
|
+
? E(e, t)
|
704
|
+
: void 0
|
705
|
+
);
|
706
|
+
}
|
707
|
+
}
|
708
|
+
function E(e, t) {
|
709
|
+
(null == t || t > e.length) && (t = e.length);
|
710
|
+
for (var l = 0, a = new Array(t); l < t; l++) a[l] = e[l];
|
711
|
+
return a;
|
712
|
+
}
|
713
|
+
function s(e, t) {
|
714
|
+
var l =
|
715
|
+
null == e
|
716
|
+
? null
|
717
|
+
: ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
|
718
|
+
e['@@iterator'];
|
719
|
+
if (null != l) {
|
720
|
+
var a,
|
721
|
+
n,
|
722
|
+
r = [],
|
723
|
+
c = !0,
|
724
|
+
o = !1;
|
725
|
+
try {
|
726
|
+
for (l = l.call(e); !(c = (a = l.next()).done); c = !0)
|
727
|
+
if ((r.push(a.value), t && r.length === t)) break;
|
728
|
+
} catch (m) {
|
729
|
+
(o = !0), (n = m);
|
730
|
+
} finally {
|
731
|
+
try {
|
732
|
+
c || null == l['return'] || l['return']();
|
733
|
+
} finally {
|
734
|
+
if (o) throw n;
|
735
|
+
}
|
736
|
+
}
|
737
|
+
return r;
|
738
|
+
}
|
739
|
+
}
|
740
|
+
function b(e) {
|
741
|
+
if (Array.isArray(e)) return e;
|
742
|
+
}
|
743
|
+
function p(e, t) {
|
744
|
+
var l,
|
745
|
+
a =
|
746
|
+
null === (l = e.match(/\.(\w+)$/)) || void 0 === l ? void 0 : l[1];
|
747
|
+
return a || (a = t.tsx ? 'tsx' : 'jsx'), a;
|
748
|
+
}
|
749
|
+
var f = function (e) {
|
750
|
+
var t,
|
751
|
+
l,
|
752
|
+
u,
|
753
|
+
i = Object(a['useRef'])(),
|
754
|
+
E = Object(a['useContext'])(o['context']),
|
755
|
+
s = E.locale,
|
756
|
+
b = Object(o['useLocaleProps'])(s, e),
|
757
|
+
f = Object(o['useDemoUrl'])(b.identifier),
|
758
|
+
h = b.demoUrl || f,
|
759
|
+
v =
|
760
|
+
(null === c['a'] || void 0 === c['a']
|
761
|
+
? void 0
|
762
|
+
: c['a'].location.hash) === '#'.concat(b.identifier),
|
763
|
+
g = 1 === Object.keys(b.sources).length,
|
764
|
+
w = Object(o['useCodeSandbox'])(
|
765
|
+
(
|
766
|
+
null === (t = b.hideActions) || void 0 === t
|
767
|
+
? void 0
|
768
|
+
: t.includes('CSB')
|
769
|
+
)
|
770
|
+
? null
|
771
|
+
: b,
|
772
|
+
),
|
773
|
+
y = Object(o['useRiddle'])(
|
774
|
+
(
|
775
|
+
null === (l = b.hideActions) || void 0 === l
|
776
|
+
? void 0
|
777
|
+
: l.includes('RIDDLE')
|
778
|
+
)
|
779
|
+
? null
|
780
|
+
: b,
|
781
|
+
),
|
782
|
+
k = Object(o['useMotions'])(b.motions || [], i.current),
|
783
|
+
N = d(k, 2),
|
784
|
+
_ = N[0],
|
785
|
+
x = N[1],
|
786
|
+
j = Object(o['useCopy'])(),
|
787
|
+
A = d(j, 2),
|
788
|
+
O = A[0],
|
789
|
+
C = A[1],
|
790
|
+
L = Object(a['useState'])('_'),
|
791
|
+
S = d(L, 2),
|
792
|
+
I = S[0],
|
793
|
+
R = S[1],
|
794
|
+
M = Object(a['useState'])(p(I, b.sources[I])),
|
795
|
+
T = d(M, 2),
|
796
|
+
P = T[0],
|
797
|
+
F = T[1],
|
798
|
+
U = Object(a['useState'])(Boolean(b.defaultShowCode)),
|
799
|
+
Z = d(U, 2),
|
800
|
+
q = Z[0],
|
801
|
+
D = Z[1],
|
802
|
+
J = Object(a['useState'])(Math.random()),
|
803
|
+
B = d(J, 2),
|
804
|
+
$ = B[0],
|
805
|
+
G = B[1],
|
806
|
+
H = b.sources[I][P] || b.sources[I].content,
|
807
|
+
X = Object(o['useTSPlaygroundUrl'])(s, H),
|
808
|
+
z = Object(a['useRef'])(),
|
809
|
+
K = Object(o['usePrefersColor'])(),
|
810
|
+
V = d(K, 1),
|
811
|
+
Q = V[0];
|
812
|
+
function W(e) {
|
813
|
+
R(e), F(p(e, b.sources[e]));
|
814
|
+
}
|
815
|
+
return (
|
816
|
+
Object(a['useEffect'])(
|
817
|
+
function () {
|
818
|
+
G(Math.random());
|
819
|
+
},
|
820
|
+
[Q],
|
821
|
+
),
|
822
|
+
n.a.createElement(
|
823
|
+
'div',
|
824
|
+
{
|
825
|
+
style: b.style,
|
826
|
+
className: [
|
827
|
+
b.className,
|
828
|
+
'__dumi-default-previewer',
|
829
|
+
v ? '__dumi-default-previewer-target' : '',
|
830
|
+
]
|
831
|
+
.filter(Boolean)
|
832
|
+
.join(' '),
|
833
|
+
id: b.identifier,
|
834
|
+
'data-debug': b.debug || void 0,
|
835
|
+
'data-iframe': b.iframe || void 0,
|
836
|
+
},
|
837
|
+
b.iframe &&
|
838
|
+
n.a.createElement('div', {
|
839
|
+
className: '__dumi-default-previewer-browser-nav',
|
840
|
+
}),
|
841
|
+
n.a.createElement(
|
842
|
+
'div',
|
843
|
+
{
|
844
|
+
ref: i,
|
845
|
+
className: '__dumi-default-previewer-demo',
|
846
|
+
style: {
|
847
|
+
transform: b.transform ? 'translate(0, 0)' : void 0,
|
848
|
+
padding:
|
849
|
+
b.compact || (b.iframe && !1 !== b.compact) ? '0' : void 0,
|
850
|
+
background: b.background,
|
851
|
+
},
|
852
|
+
},
|
853
|
+
b.iframe
|
854
|
+
? n.a.createElement('iframe', {
|
855
|
+
title: 'dumi-previewer',
|
856
|
+
style: {
|
857
|
+
height: String(b.iframe).replace(/(\d)$/, '$1px'),
|
858
|
+
},
|
859
|
+
key: $,
|
860
|
+
src: h,
|
861
|
+
ref: z,
|
862
|
+
})
|
863
|
+
: b.children,
|
864
|
+
),
|
865
|
+
n.a.createElement(
|
866
|
+
'div',
|
867
|
+
{
|
868
|
+
className: '__dumi-default-previewer-desc',
|
869
|
+
'data-title': b.title,
|
870
|
+
},
|
871
|
+
b.title &&
|
872
|
+
n.a.createElement(
|
873
|
+
o['AnchorLink'],
|
874
|
+
{ to: '#'.concat(b.identifier) },
|
875
|
+
b.title,
|
876
|
+
),
|
877
|
+
b.description &&
|
878
|
+
n.a.createElement('div', {
|
879
|
+
dangerouslySetInnerHTML: { __html: b.description },
|
880
|
+
}),
|
881
|
+
),
|
882
|
+
n.a.createElement(
|
883
|
+
'div',
|
884
|
+
{ className: '__dumi-default-previewer-actions' },
|
885
|
+
w &&
|
886
|
+
n.a.createElement('button', {
|
887
|
+
title: 'Open demo on CodeSandbox.io',
|
888
|
+
className: '__dumi-default-icon',
|
889
|
+
role: 'codesandbox',
|
890
|
+
onClick: w,
|
891
|
+
}),
|
892
|
+
y &&
|
893
|
+
n.a.createElement('button', {
|
894
|
+
title: 'Open demo on Riddle',
|
895
|
+
className: '__dumi-default-icon',
|
896
|
+
role: 'riddle',
|
897
|
+
onClick: y,
|
898
|
+
}),
|
899
|
+
b.motions &&
|
900
|
+
n.a.createElement('button', {
|
901
|
+
title: 'Execute motions',
|
902
|
+
className: '__dumi-default-icon',
|
903
|
+
role: 'motions',
|
904
|
+
disabled: x,
|
905
|
+
onClick: function () {
|
906
|
+
return _();
|
907
|
+
},
|
908
|
+
}),
|
909
|
+
b.iframe &&
|
910
|
+
n.a.createElement('button', {
|
911
|
+
title: 'Reload demo iframe page',
|
912
|
+
className: '__dumi-default-icon',
|
913
|
+
role: 'refresh',
|
914
|
+
onClick: function () {
|
915
|
+
return G(Math.random());
|
916
|
+
},
|
917
|
+
}),
|
918
|
+
!(null === (u = b.hideActions) || void 0 === u
|
919
|
+
? void 0
|
920
|
+
: u.includes('EXTERNAL')) &&
|
921
|
+
n.a.createElement(
|
922
|
+
o['Link'],
|
923
|
+
{ target: '_blank', to: h },
|
924
|
+
n.a.createElement('button', {
|
925
|
+
title: 'Open demo in new tab',
|
926
|
+
className: '__dumi-default-icon',
|
927
|
+
role: 'open-demo',
|
928
|
+
type: 'button',
|
929
|
+
}),
|
930
|
+
),
|
931
|
+
n.a.createElement('span', null),
|
932
|
+
n.a.createElement('button', {
|
933
|
+
title: 'Copy source code',
|
934
|
+
className: '__dumi-default-icon',
|
935
|
+
role: 'copy',
|
936
|
+
'data-status': C,
|
937
|
+
onClick: function () {
|
938
|
+
return O(H);
|
939
|
+
},
|
940
|
+
}),
|
941
|
+
'tsx' === P &&
|
942
|
+
q &&
|
943
|
+
n.a.createElement(
|
944
|
+
o['Link'],
|
945
|
+
{ target: '_blank', to: X },
|
946
|
+
n.a.createElement('button', {
|
947
|
+
title: 'Get JSX via TypeScript Playground',
|
948
|
+
className: '__dumi-default-icon',
|
949
|
+
role: 'change-tsx',
|
950
|
+
type: 'button',
|
951
|
+
}),
|
952
|
+
),
|
953
|
+
n.a.createElement('button', {
|
954
|
+
title: 'Toggle source code panel',
|
955
|
+
className: '__dumi-default-icon'.concat(
|
956
|
+
q ? ' __dumi-default-btn-expand' : '',
|
957
|
+
),
|
958
|
+
role: 'source',
|
959
|
+
type: 'button',
|
960
|
+
onClick: function () {
|
961
|
+
return D(!q);
|
962
|
+
},
|
963
|
+
}),
|
964
|
+
),
|
965
|
+
q &&
|
966
|
+
n.a.createElement(
|
967
|
+
'div',
|
968
|
+
{ className: '__dumi-default-previewer-source-wrapper' },
|
969
|
+
!g &&
|
970
|
+
n.a.createElement(
|
971
|
+
r['b'],
|
972
|
+
{
|
973
|
+
className: '__dumi-default-previewer-source-tab',
|
974
|
+
prefixCls: '__dumi-default-tabs',
|
975
|
+
moreIcon: '\xb7\xb7\xb7',
|
976
|
+
defaultActiveKey: I,
|
977
|
+
onChange: W,
|
978
|
+
},
|
979
|
+
Object.keys(b.sources).map(function (e) {
|
980
|
+
return n.a.createElement(r['a'], {
|
981
|
+
tab:
|
982
|
+
'_' === e ? 'index.'.concat(p(e, b.sources[e])) : e,
|
983
|
+
key: e,
|
984
|
+
});
|
985
|
+
}),
|
986
|
+
),
|
987
|
+
n.a.createElement(
|
988
|
+
'div',
|
989
|
+
{ className: '__dumi-default-previewer-source' },
|
990
|
+
n.a.createElement(m['a'], { code: H, lang: P, showCopy: !1 }),
|
991
|
+
),
|
992
|
+
),
|
993
|
+
)
|
994
|
+
);
|
995
|
+
};
|
996
|
+
t['default'] = f;
|
997
|
+
},
|
998
|
+
},
|
999
|
+
]);
|