mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
1 line
8.3 KiB
JavaScript
1 line
8.3 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["0e4ee81d"],{"0e4ee81d":function(e,s,a){"use strict";a.d(s,"__esModule",{value:!0}),a.d(s,"default",{enumerable:!0,get:function(){return u;}});var i=a("777fffbe"),l=a("f19d2b93"),n=i._(a("b622e337")),d=i._(a("97c488ea")),c=i._(a("c96b0d01")),h=a("5b220c3d"),r=a("9c86e52a");function t(){let{texts:e}=(0,r.useRouteMeta)();return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"markdown",children:[(0,l.jsxs)("h2",{id:"pain-of-ant-design-50",children:[(0,l.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#pain-of-ant-design-50",sourceType:"a",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"Pain of Ant Design 5.0"]}),(0,l.jsx)("p",{children:e[0].value}),(0,l.jsx)("p",{children:e[1].value}),(0,l.jsxs)("h3",{id:"css-output-size",children:[(0,l.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#css-output-size",sourceType:"a",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"CSS Output Size"]}),(0,l.jsx)("p",{children:e[2].value}),(0,l.jsxs)("p",{children:[e[3].value,(0,l.jsx)("strong",{children:e[4].value}),e[5].value]}),(0,l.jsxs)("p",{children:[e[6].value,(0,l.jsx)("code",{children:e[7].value}),e[8].value]}),(0,l.jsx)("p",{children:(0,l.jsx)("img",{src:"https://github.com/ant-design/ant-design/assets/27722486/e3a1fbe4-2cba-487b-9e3d-06233dda40b4",alt:"image"})}),(0,l.jsx)("p",{children:e[9].value}),(0,l.jsxs)("ol",{children:[(0,l.jsx)("li",{children:e[10].value}),(0,l.jsx)("li",{children:e[11].value})]}),(0,l.jsx)("p",{children:e[12].value}),(0,l.jsxs)("h3",{id:"theme-switching",children:[(0,l.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#theme-switching",sourceType:"a",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"Theme Switching"]}),(0,l.jsx)("p",{children:e[13].value}),(0,l.jsxs)("ol",{children:[(0,l.jsx)("li",{children:e[14].value}),(0,l.jsx)("li",{children:e[15].value})]}),(0,l.jsx)("p",{children:e[16].value}),(0,l.jsxs)("p",{children:[e[17].value,(0,l.jsx)(d.default,{href:"https://react.dev",sourceType:"a",children:e[18].value}),e[19].value]}),(0,l.jsxs)("ol",{children:[(0,l.jsx)("li",{children:e[20].value}),(0,l.jsx)("li",{children:e[21].value})]}),(0,l.jsxs)("h2",{id:"how-to-break-through",children:[(0,l.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#how-to-break-through",sourceType:"a",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"How to Break Through?"]}),(0,l.jsx)("p",{children:e[22].value}),(0,l.jsx)("p",{children:e[23].value}),(0,l.jsxs)("h2",{id:"ant-design-and-css-variables",children:[(0,l.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#ant-design-and-css-variables",sourceType:"a",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"Ant Design and CSS Variables"]}),(0,l.jsx)("p",{children:e[24].value}),(0,l.jsx)("p",{children:e[25].value}),(0,l.jsx)("p",{children:(0,l.jsx)("img",{src:"https://github.com/ant-design/ant-design/assets/27722486/29ccf0be-3b8e-4ab2-a01d-24dff391ea98",alt:"image"})}),(0,l.jsx)("blockquote",{children:(0,l.jsx)("p",{children:e[26].value})}),(0,l.jsxs)("h3",{id:"mapping-css-variables",children:[(0,l.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#mapping-css-variables",sourceType:"a",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"Mapping CSS Variables"]}),(0,l.jsxs)("p",{children:[e[27].value,(0,l.jsx)(d.default,{href:"https://github.com/ant-design/ant-design/discussions/44654",sourceType:"a",children:e[28].value}),e[29].value]}),(0,l.jsx)("p",{children:(0,l.jsx)("img",{src:"https://github.com/ant-design/ant-design/assets/27722486/ef9eeb23-b231-45f9-b27d-9ea9b21dc098",alt:"image"})}),(0,l.jsx)("p",{children:e[30].value}),(0,l.jsxs)("p",{children:[e[31].value,(0,l.jsx)("code",{children:e[32].value}),e[33].value]}),(0,l.jsx)("p",{children:e[34].value}),(0,l.jsxs)("h3",{id:"css-variables-isolation",children:[(0,l.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#css-variables-isolation",sourceType:"a",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"CSS Variables Isolation"]}),(0,l.jsx)("p",{children:e[35].value}),(0,l.jsx)("p",{children:e[36].value}),(0,l.jsx)("p",{children:(0,l.jsx)("img",{src:"https://github.com/ant-design/ant-design/assets/27722486/7f01d46c-63be-4a81-b576-bfbbfb9a2988",alt:"image"})}),(0,l.jsxs)("p",{children:[e[37].value,(0,l.jsx)("strong",{children:e[38].value}),e[39].value]}),(0,l.jsx)("p",{children:e[40].value}),(0,l.jsx)(n.default,{lang:"tsx",children:e[41].value}),(0,l.jsx)("p",{children:e[42].value}),(0,l.jsxs)("p",{children:[e[43].value,(0,l.jsx)("code",{children:e[44].value}),e[45].value]}),(0,l.jsxs)("p",{children:[e[46].value,(0,l.jsx)("strong",{children:e[47].value}),e[48].value]}),(0,l.jsx)("p",{children:e[49].value}),(0,l.jsx)("p",{children:e[50].value}),(0,l.jsx)("p",{children:e[51].value}),(0,l.jsx)(n.default,{lang:"css",children:e[52].value}),(0,l.jsx)("p",{children:e[53].value}),(0,l.jsx)("p",{children:(0,l.jsx)("img",{src:"https://github.com/ant-design/ant-design/assets/27722486/e4c2a109-34d6-4fe7-a3e4-03ed532775b8",alt:"image"})}),(0,l.jsx)("p",{children:(0,l.jsx)(d.default,{name:"HAyMz",sourceType:"a"})}),(0,l.jsxs)("h3",{id:"css-variables-switching",children:[(0,l.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#css-variables-switching",sourceType:"a",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"CSS Variables Switching"]}),(0,l.jsx)("p",{children:e[54].value}),(0,l.jsx)("p",{children:e[55].value}),(0,l.jsx)(n.default,{lang:"css",children:e[56].value}),(0,l.jsxs)("p",{children:[e[57].value,(0,l.jsx)("code",{children:e[58].value}),e[59].value,(0,l.jsx)("code",{children:e[60].value}),e[61].value]}),(0,l.jsx)("p",{children:e[62].value}),(0,l.jsx)("p",{children:(0,l.jsx)("img",{src:"https://github.com/ant-design/ant-design/assets/27722486/43639237-e286-4a06-85c2-f2e93d82087a",alt:"image"})}),(0,l.jsx)("p",{children:e[63].value}),(0,l.jsx)("p",{children:e[64].value}),(0,l.jsx)("p",{children:(0,l.jsx)("img",{src:"https://github.com/ant-design/ant-design/assets/27722486/c5493235-68af-495c-b5cd-7e1730c38898",alt:"image"})}),(0,l.jsx)("p",{children:e[65].value}),(0,l.jsxs)("h3",{id:"dynamic-themes-with-css-variables",children:[(0,l.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#dynamic-themes-with-css-variables",sourceType:"a",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"Dynamic Themes with CSS Variables"]}),(0,l.jsx)("p",{children:e[66].value}),(0,l.jsx)("p",{children:e[67].value}),(0,l.jsxs)("ol",{children:[(0,l.jsx)("li",{children:e[68].value}),(0,l.jsx)("li",{children:e[69].value})]}),(0,l.jsx)("p",{children:e[70].value}),(0,l.jsxs)("h4",{id:"random-hash",children:[(0,l.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#random-hash",sourceType:"a",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"Random Hash"]}),(0,l.jsx)("p",{children:e[71].value}),(0,l.jsx)("p",{children:(0,l.jsx)("img",{src:"https://github.com/ant-design/ant-design/assets/27722486/c7128e5e-6330-4dd4-939f-312e11f88af3",alt:"image"})}),(0,l.jsx)("p",{children:e[72].value}),(0,l.jsxs)("h4",{id:"custom-hash",children:[(0,l.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#custom-hash",sourceType:"a",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"Custom Hash"]}),(0,l.jsx)("p",{children:e[73].value}),(0,l.jsx)("p",{children:e[74].value}),(0,l.jsx)("p",{children:e[75].value}),(0,l.jsx)("p",{children:(0,l.jsx)("img",{src:"https://github.com/ant-design/ant-design/assets/27722486/257c5811-bd67-48b3-8ea3-29a428d96bc8",alt:"image"})}),(0,l.jsxs)("h3",{id:"farewell-hash",children:[(0,l.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#farewell-hash",sourceType:"a",children:(0,l.jsx)("span",{className:"icon icon-link"})}),"Farewell Hash"]}),(0,l.jsx)("p",{children:e[76].value}),(0,l.jsxs)("ol",{children:[(0,l.jsx)("li",{children:e[77].value}),(0,l.jsx)("li",{children:e[78].value})]}),(0,l.jsx)("p",{children:e[79].value}),(0,l.jsx)("p",{children:e[80].value}),(0,l.jsx)("p",{children:(0,l.jsx)("img",{src:"https://github.com/ant-design/ant-design/assets/27722486/f49c5e57-f17e-4725-b850-43708e9a6235",alt:"image"})}),(0,l.jsx)("p",{children:e[81].value}),(0,l.jsx)("p",{children:e[82].value})]})});}var u=function(){return(0,l.jsx)(r.DumiPage,{children:(0,l.jsx)(h.Suspense,{fallback:(0,l.jsx)(c.default,{}),children:(0,l.jsx)(t,{})})});};}}]); |