You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
10 KiB
1 lines
10 KiB
"use strict";(self.webpackChunkantd=self.webpackChunkantd||[]).push([[9969],{252544:function(Z,a,n){n.r(a);var r=n(502143),c=n(968521),m=n(720719),h=n(28840),t=n(759907),g=n(828089),p=n(825673),E=n(902068),P=n(574399),_=n(863942),D=n(316073),T=n(24628),A=n(719260),M=n(956140),f=n(127179),x=n(905388),O=n(40428),I=n(606965),b=n(268696),C=n(587302),u=n(424128),y=n(249706),L=n(795127),R=n(116846),W=n(212039),B=n(73024),o=n(553913),i=n(606641),d=n(667294),e=n(370917);function v(){var s=(0,i.eL)(),l=s.texts;return(0,e.tZ)(i.dY,null,(0,e.tZ)(d.Fragment,null,(0,e.tZ)("div",{className:"markdown"},(0,e.tZ)("p",null,l[0].value,(0,e.tZ)("code",null,l[1].value),l[2].value,(0,e.tZ)("code",null,l[3].value),l[4].value,(0,e.tZ)("code",null,l[5].value),l[6].value,(0,e.tZ)(u.Z,{href:"https://4x.ant.design/docs/react/migration-v4",sourceType:"a"},l[7].value),l[8].value),(0,e.tZ)("h2",{id:"upgrade-preparation"},(0,e.tZ)(u.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#upgrade-preparation",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Upgrade preparation"),(0,e.tZ)("ol",null,(0,e.tZ)("li",null,l[9].value)),(0,e.tZ)("h2",{id:"incompatible-changes-in-v5"},(0,e.tZ)(u.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#incompatible-changes-in-v5",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Incompatible changes in v5"),(0,e.tZ)("h3",{id:"design-specification"},(0,e.tZ)(u.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#design-specification",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Design specification"),(0,e.tZ)("ul",null,(0,e.tZ)("li",null,l[10].value,(0,e.tZ)("code",null,l[11].value),l[12].value,(0,e.tZ)("code",null,l[13].value),l[14].value,(0,e.tZ)("code",null,l[15].value),l[16].value,(0,e.tZ)("code",null,l[17].value),l[18].value,(0,e.tZ)("code",null,l[19].value),l[20].value,(0,e.tZ)("code",null,l[21].value),l[22].value,(0,e.tZ)("code",null,l[23].value),l[24].value),(0,e.tZ)("li",null,l[25].value,(0,e.tZ)(_.Z,{color:"#1890ff"}),l[26].value,(0,e.tZ)(_.Z,{color:"#1677ff"}),l[27].value),(0,e.tZ)("li",null,l[28].value),(0,e.tZ)("li",null,l[29].value)),(0,e.tZ)("h3",{id:"technology-adjustment"},(0,e.tZ)(u.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#technology-adjustment",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Technology adjustment"),(0,e.tZ)("ul",null,(0,e.tZ)("li",null,(0,e.tZ)("p",null,l[30].value,(0,e.tZ)(u.Z,{href:"https://github.com/ant-design/cssinjs",sourceType:"a"},l[31].value),l[32].value),(0,e.tZ)("ul",null,(0,e.tZ)("li",null,l[33].value),(0,e.tZ)("li",null,l[34].value,(0,e.tZ)("code",null,l[35].value),l[36].value,(0,e.tZ)("code",null,l[37].value),l[38].value),(0,e.tZ)("li",null,l[39].value,(0,e.tZ)("code",null,l[40].value),l[41].value,(0,e.tZ)(u.Z,{to:"/components/app",sourceType:"Link"},l[42].value),l[43].value))),(0,e.tZ)("li",null,(0,e.tZ)("p",null,l[44].value)),(0,e.tZ)("li",null,(0,e.tZ)("p",null,l[45].value,(0,e.tZ)("code",null,l[46].value),l[47].value,(0,e.tZ)("code",null,l[48].value),l[49].value,(0,e.tZ)("code",null,l[50].value),l[51].value)),(0,e.tZ)("li",null,(0,e.tZ)("p",null,l[52].value,(0,e.tZ)(u.Z,{to:"/docs/react/use-custom-date-library/",sourceType:"Link"},l[53].value),l[54].value)),(0,e.tZ)("li",null,(0,e.tZ)("p",null,(0,e.tZ)("code",null,l[55].value),l[56].value),(0,e.tZ)(t.Z,{lang:"diff"},l[57].value))),(0,e.tZ)("h3",{id:"compatibility"},(0,e.tZ)(u.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#compatibility",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Compatibility"),(0,e.tZ)("ul",null,(0,e.tZ)("li",null,l[58].value)),(0,e.tZ)("h4",{id:"component-api-adjustment"},(0,e.tZ)(u.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#component-api-adjustment",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Component API adjustment"),(0,e.tZ)("ul",null,(0,e.tZ)("li",null,(0,e.tZ)("p",null,l[59].value,(0,e.tZ)("code",null,l[60].value),l[61].value,(0,e.tZ)("code",null,l[62].value),l[63].value),(0,e.tZ)("ul",null,(0,e.tZ)("li",null,l[64].value),(0,e.tZ)("li",null,l[65].value),(0,e.tZ)("li",null,l[66].value),(0,e.tZ)("li",null,l[67].value),(0,e.tZ)("li",null,l[68].value),(0,e.tZ)("li",null,l[69].value),(0,e.tZ)("li",null,l[70].value)),(0,e.tZ)(t.Z,{lang:"diff"},l[71].value)),(0,e.tZ)("li",null,(0,e.tZ)("p",null,l[72].value,(0,e.tZ)("code",null,l[73].value),l[74].value,(0,e.tZ)("code",null,l[75].value),l[76].value),(0,e.tZ)("ul",null,(0,e.tZ)("li",null,l[77].value,(0,e.tZ)("code",null,l[78].value),l[79].value,(0,e.tZ)("code",null,l[80].value),l[81].value),(0,e.tZ)("li",null,l[82].value,(0,e.tZ)("code",null,l[83].value),l[84].value,(0,e.tZ)("code",null,l[85].value),l[86].value),(0,e.tZ)("li",null,l[87].value,(0,e.tZ)("code",null,l[88].value),l[89].value,(0,e.tZ)("code",null,l[90].value),l[91].value),(0,e.tZ)("li",null,l[92].value,(0,e.tZ)("code",null,l[93].value),l[94].value,(0,e.tZ)("code",null,l[95].value),l[96].value),(0,e.tZ)("li",null,l[97].value,(0,e.tZ)("code",null,l[98].value),l[99].value),(0,e.tZ)("li",null,l[100].value,(0,e.tZ)("code",null,l[101].value),l[102].value,(0,e.tZ)("code",null,l[103].value),l[104].value),(0,e.tZ)("li",null,l[105].value,(0,e.tZ)("code",null,l[106].value),l[107].value,(0,e.tZ)("code",null,l[108].value),l[109].value)),(0,e.tZ)(t.Z,{lang:"diff"},l[110].value)),(0,e.tZ)("li",null,(0,e.tZ)("p",null,(0,e.tZ)("code",null,l[111].value),l[112].value,(0,e.tZ)("code",null,l[113].value),l[114].value)),(0,e.tZ)("li",null,(0,e.tZ)("p",null,l[115].value,(0,e.tZ)(u.Z,{href:"https://github.com/ant-design/ant-design/pull/34528",sourceType:"a"},l[116].value))),(0,e.tZ)("li",null,(0,e.tZ)("p",null,l[117].value),(0,e.tZ)("ul",null,(0,e.tZ)("li",null,l[118].value,(0,e.tZ)("code",null,l[119].value),l[120].value,(0,e.tZ)("code",null,l[121].value),l[122].value,(0,e.tZ)("code",null,l[123].value),l[124].value,(0,e.tZ)("code",null,l[125].value),l[126].value,(0,e.tZ)("code",null,l[127].value),l[128].value,(0,e.tZ)("code",null,l[129].value),l[130].value,(0,e.tZ)("code",null,l[131].value),l[132].value),(0,e.tZ)("li",null,(0,e.tZ)("code",null,l[133].value),l[134].value,(0,e.tZ)("code",null,l[135].value),l[136].value))),(0,e.tZ)("li",null,(0,e.tZ)("p",null,l[137].value,(0,e.tZ)("code",null,l[138].value),l[139].value,(0,e.tZ)("code",null,l[140].value),l[141].value,(0,e.tZ)("code",null,l[142].value),l[143].value,(0,e.tZ)("code",null,l[144].value),l[145].value)),(0,e.tZ)("li",null,(0,e.tZ)("p",null,l[146].value,(0,e.tZ)("code",null,l[147].value),l[148].value,(0,e.tZ)("code",null,l[149].value),l[150].value))),(0,e.tZ)("h4",{id:"component-refactoring-and-removal"},(0,e.tZ)(u.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#component-refactoring-and-removal",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Component refactoring and removal"),(0,e.tZ)("ul",null,(0,e.tZ)("li",null,(0,e.tZ)("p",null,l[151].value,(0,e.tZ)("code",null,l[152].value),l[153].value,(0,e.tZ)("code",null,l[154].value),l[155].value,(0,e.tZ)("code",null,l[156].value),l[157].value)),(0,e.tZ)("li",null,(0,e.tZ)("p",null,l[158].value,(0,e.tZ)("code",null,l[159].value),l[160].value)),(0,e.tZ)("li",null,(0,e.tZ)("p",null,l[161].value,(0,e.tZ)("code",null,l[162].value),l[163].value),(0,e.tZ)(t.Z,{lang:"diff"},l[164].value)),(0,e.tZ)("li",null,(0,e.tZ)("p",null,l[165].value,(0,e.tZ)("code",null,l[166].value),l[167].value),(0,e.tZ)(t.Z,{lang:"diff"},l[168].value))),(0,e.tZ)("h2",{id:"start-upgrading"},(0,e.tZ)(u.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#start-upgrading",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Start upgrading"),(0,e.tZ)("p",null,l[169].value),(0,e.tZ)(t.Z,{lang:"bash"},l[170].value),(0,e.tZ)("p",null,l[171].value,(0,e.tZ)("code",null,l[172].value),l[173].value,(0,e.tZ)("code",null,l[174].value),l[175].value,(0,e.tZ)("code",null,l[176].value),l[177].value,(0,e.tZ)("code",null,l[178].value),l[179].value),(0,e.tZ)(t.Z,{lang:"bash"},l[180].value),(0,e.tZ)("p",null,l[181].value,(0,e.tZ)(u.Z,{href:"https://github.com/ant-design/codemod-v5",sourceType:"a"},l[182].value),l[183].value),(0,e.tZ)("p",null,l[184].value),(0,e.tZ)(t.Z,{lang:"shell"},l[185].value),(0,e.tZ)(o.Z,{autoPlay:!0,loop:!0,style:{width:"100%",maxHeight:"600px",objectFit:"contain"}},l[186].value,(0,e.tZ)("source",{src:"https://mdn.alipayobjects.com/huamei_7uahnr/afts/file/A*Sjy5ToW6ow0AAAAAAAAAAAAADrJ8AQ",type:"video/webm"}),l[187].value,(0,e.tZ)("source",{src:"https://mdn.alipayobjects.com/huamei_7uahnr/afts/file/A*hTDYQJ2HFTYAAAAAAAAAAAAADrJ8AQ",type:"video/mp4"})),(0,e.tZ)("blockquote",null,(0,e.tZ)("p",null,l[188].value)),(0,e.tZ)("h3",{id:"less-migration"},(0,e.tZ)(u.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#less-migration",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"less migration"),(0,e.tZ)("p",null,l[189].value),(0,e.tZ)(t.Z,{lang:"js"},l[190].value),(0,e.tZ)("p",null,l[191].value),(0,e.tZ)(t.Z,{lang:"diff"},l[192].value),(0,e.tZ)("h3",{id:"remove-babel-plugin-import"},(0,e.tZ)(u.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#remove-babel-plugin-import",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Remove babel-plugin-import"),(0,e.tZ)("p",null,l[193].value,(0,e.tZ)("code",null,l[194].value),l[195].value,(0,e.tZ)("code",null,l[196].value),l[197].value),(0,e.tZ)(t.Z,{lang:"diff"},l[198].value),(0,e.tZ)("p",null,l[199].value),(0,e.tZ)(t.Z,{lang:"diff"},l[200].value),(0,e.tZ)("h3",{id:"replace-dayjs-locale"},(0,e.tZ)(u.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#replace-dayjs-locale",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Replace Day.js locale"),(0,e.tZ)("p",null,l[201].value),(0,e.tZ)(t.Z,{lang:"diff"},l[202].value),(0,e.tZ)("p",null,l[203].value,(0,e.tZ)("code",null,l[204].value),l[205].value),(0,e.tZ)(t.Z,{lang:"bash"},l[206].value),(0,e.tZ)(t.Z,{lang:"javascript"},l[207].value),(0,e.tZ)("h3",{id:"legacy-browser-support"},(0,e.tZ)(u.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#legacy-browser-support",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Legacy browser support"),(0,e.tZ)("p",null,l[208].value,(0,e.tZ)("code",null,l[209].value),l[210].value,(0,e.tZ)("code",null,l[211].value),l[212].value,(0,e.tZ)("code",null,l[213].value),l[214].value,(0,e.tZ)(u.Z,{to:"/docs/react/customize-theme#compatible-adjustment",sourceType:"Link"},l[215].value),l[216].value),(0,e.tZ)("h2",{id:"encounter-problems"},(0,e.tZ)(u.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#encounter-problems",sourceType:"a"},(0,e.tZ)("span",{className:"icon icon-link"})),"Encounter problems"),(0,e.tZ)("p",null,l[217].value,(0,e.tZ)(u.Z,{href:"https://new-issue.ant.design/",sourceType:"a"},l[218].value),l[219].value))))}a.default=v}}]);
|
|
|