ant-design/a99d4e5b-async.be73b831.js

1 line
16 KiB
JavaScript
Raw Permalink Normal View History

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["a99d4e5b"],{a99d4e5b:function(a,e,n){"use strict";n.d(e,"__esModule",{value:!0}),n.d(e,"texts",{enumerable:!0,get:function(){return d;}}),n("a7cd8e4c");let d=[{value:"Ant Design 5.x \u652F\u6301",paraId:0,tocIndex:0},{value:"\u6700\u8FD1 2 \u4E2A\u7248\u672C\u7684\u73B0\u4EE3\u6D4F\u89C8\u5668",paraId:0,tocIndex:0},{value:"\u3002\u9ED8\u8BA4\u60C5\u51B5\u4E0B\uFF0C\u6211\u4EEC\u4F7F\u7528\u4E86\u4E00\u4E9B\u73B0\u4EE3 CSS \u7279\u6027\u6765\u63D0\u9AD8\u6837\u5F0F\u7684\u53EF\u7EF4\u62A4\u6027\u548C\u53EF\u6269\u5C55\u6027\uFF0C\u8FD9\u4E9B\u7279\u6027\u5728\u65E7\u7248\u6D4F\u89C8\u5668\u4E2D\u53EF\u80FD\u4E0D\u88AB\u652F\u6301\uFF0C\u597D\u5728\u6211\u4EEC\u53EF\u4EE5\u901A\u8FC7\u4E00\u4E9B\u964D\u7EA7\u517C\u5BB9\u65B9\u6848\u6765\u89E3\u51B3\u3002",paraId:0,tocIndex:0},{value:"\u7279\u6027",paraId:1,tocIndex:0},{value:"antd \u7248\u672C",paraId:1,tocIndex:0},{value:"\u517C\u5BB9\u6027",paraId:1,tocIndex:0},{value:"\u6700\u4F4E Chrome \u7248\u672C",paraId:1,tocIndex:0},{value:"\u964D\u7EA7\u517C\u5BB9\u65B9\u6848",paraId:1,tocIndex:0},{value:":where \u9009\u62E9\u5668",paraId:1,tocIndex:0},{value:">=5.0.0",paraId:1,tocIndex:0},{value:"caniuse",paraId:1,tocIndex:0},{value:"Chrome 88",paraId:1,tocIndex:0},{value:'<StyleProvider hashPriority="high">',paraId:1,tocIndex:0},{value:"CSS \u903B\u8F91\u5C5E\u6027",paraId:1,tocIndex:0},{value:">=5.0.0",paraId:1,tocIndex:0},{value:"caniuse",paraId:1,tocIndex:0},{value:"Chrome 89",paraId:1,tocIndex:0},{value:"<StyleProvider transformers={[legacyLogicalPropertiesTransformer]}>",paraId:1,tocIndex:0},{value:"\u5982\u679C\u4F60\u9700\u8981\u517C\u5BB9\u65E7\u7248\u6D4F\u89C8\u5668\uFF0C\u8BF7\u6839\u636E\u5B9E\u9645\u9700\u6C42\u4F7F\u7528 ",paraId:2,tocIndex:0},{value:"StyleProvider",paraId:2,tocIndex:0},{value:" \u964D\u7EA7\u5904\u7406\u3002",paraId:2,tocIndex:0},{value:":where",paraId:3},{value:"\u652F\u6301\u7248\u672C\uFF1A",paraId:4,tocIndex:1},{value:">=5.0.0",paraId:4,tocIndex:1},{value:"MDN \u6587\u6863\uFF1A",paraId:4,tocIndex:1},{value:":where",paraId:4,tocIndex:1},{value:"\u6D4F\u89C8\u5668\u517C\u5BB9\u6027\uFF1A",paraId:4,tocIndex:1},{value:"caniuse",paraId:4,tocIndex:1},{value:"Chrome \u6700\u4F4E\u652F\u6301\u7248\u672C\uFF1A88",paraId:4,tocIndex:1},{value:"\u9ED8\u8BA4\u542F\u7528\uFF1A\u662F",paraId:4,tocIndex:1},{value:"Ant Design \u7684 CSS-in-JS \u9ED8\u8BA4\u901A\u8FC7 ",paraId:5,tocIndex:1},{value:":where",paraId:5,tocIndex:1},{value:" \u9009\u62E9\u5668\u964D\u4F4E CSS Selector \u4F18\u5148\u7EA7\uFF0C\u4EE5\u51CF\u5C11\u7528\u6237\u5347\u7EA7\u65F6\u989D\u5916\u8C03\u6574\u81EA\u5B9A\u4E49\u6837\u5F0F\u7684\u6210\u672C\uFF0C\u4E0D\u8FC7 ",paraId:5,tocIndex:1},{value:":where",paraId:5,tocIndex:1},{value:" \u8BED\u6CD5\u7684",paraId:5,tocIndex:1},{value:"\u517C\u5BB9\u6027",paraId:5,tocIndex:1},{value:"\u5728\u4F4E\u7248\u672C\u6D4F\u89C8\u5668\u6BD4\u8F83\u5DEE\u3002\u5728\u67D0\u4E9B\u573A\u666F\u4E0B\u4F60\u5982\u679C\u9700\u8981\u652F\u6301\u65E7\u7248\u6D4F\u89C8\u5668\uFF0C\u4F60\u53EF\u4EE5\u4F7F\u7528 ",paraId:5,tocIndex:1},{value:"@ant-design/cssinjs",paraId:5,tocIndex:1},{value:" \u53D6\u6D88\u9ED8\u8BA4\u7684\u964D\u6743\u64CD\u4F5C\uFF08\u8BF7\u6CE8\u610F\u7248\u672C\u4FDD\u6301\u4E0E antd \u4E00\u81F4\uFF09\uFF1A",paraId:5,tocIndex:1},{value:"import { StyleProvider } from '@ant-design/cssinjs';\n\n// `hashPriority` \u9ED8\u8BA4\u4E3A `low`\uFF0C\u914D\u7F6E\u4E3A `high` \u540E\uFF0C\n// \u4F1A\u79FB\u9664 `:where` \u9009\u62E9\u5668\u5C01\u88C5\nexport default () => (\n <StyleProvider hashPriority=\"high\">\n <MyApp />\n </StyleProvider>\n);\n",paraId:6,tocIndex:1},{value:"\u5207\u6362\u540E\uFF0C\u6837\u5F0F\u5C06\u4ECE ",paraId:7,tocIndex:1},{value:":where",paraId:7,tocIndex:1},{value:" \u5207\u6362\u4E3A\u7C7B\u9009\u62E9\u5668\uFF1A",paraId:7,tocIndex:1},{value:"-- :where(.css-bAMboO).ant-btn {\n++ .css-bAMboO.ant-btn {\n color: #fff;\n }\n",paraId:8,tocIndex:1},{value:"\u6CE8\u610F\uFF1