ant-design/5fb6e07d-async.7840fbf8.js
2024-11-20 18:30:54 +00:00

1 line
121 KiB
JavaScript

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["5fb6e07d"],{"5fb6e07d":function(e,n,t){"use strict";t.d(n,"__esModule",{value:!0}),t.d(n,"default",{enumerable:!0,get:function(){return m;}});var r=t("777fffbe"),i=t("f19d2b93"),s=r._(t("b622e337")),o=r._(t("67074e5d")),a=r._(t("84b131b4")),l=r._(t("94d90a79")),c=r._(t("97c488ea")),d=r._(t("c96b0d01")),p=t("5b220c3d"),u=t("9c86e52a");function h(){let{texts:e}=(0,u.useRouteMeta)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"markdown",children:[(0,i.jsxs)("h2",{id:"usage",children:[(0,i.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#usage",sourceType:"a",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"Usage"]}),(0,i.jsxs)("p",{children:[e[0].value,(0,i.jsx)(c.default,{href:"https://react.dev/learn/passing-data-deeply-with-context",sourceType:"a",children:e[1].value}),e[2].value]}),(0,i.jsx)(s.default,{lang:"tsx",children:e[3].value}),(0,i.jsxs)("h3",{id:"content-security-policy",children:[(0,i.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#content-security-policy",sourceType:"a",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"Content Security Policy"]}),(0,i.jsxs)("p",{children:[e[4].value,(0,i.jsx)("code",{children:e[5].value}),e[6].value]}),(0,i.jsx)(s.default,{lang:"tsx",children:e[7].value}),(0,i.jsxs)("h2",{id:"examples",children:[(0,i.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#examples",sourceType:"a",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"Examples"]})]}),(0,i.jsx)(a.default,{items:[{demo:{id:"config-provider-demo-locale"},previewerProps:{title:"Locale",filename:"components/config-provider/demo/locale.tsx",pkgDependencyList:{"@ant-design/compatible":"^5.1.3","@ant-design/happy-work-theme":"^1.0.0","@ant-design/tools":"^18.0.2","@antfu/eslint-config":"^3.8.0","@antv/g6":"^4.8.24","@biomejs/biome":"^1.9.4","@codecov/webpack-plugin":"^1.2.1","@codesandbox/sandpack-react":"^2.19.9","@dnd-kit/core":"^6.1.0","@dnd-kit/modifiers":"^7.0.0","@dnd-kit/sortable":"^8.0.0","@dnd-kit/utilities":"^3.2.2","@emotion/css":"^11.13.4","@emotion/react":"^11.13.3","@emotion/server":"^11.11.0","@eslint-react/eslint-plugin":"^1.15.0","@ianvs/prettier-plugin-sort-imports":"^4.3.1","@inquirer/prompts":"^7.0.0","@madccc/duplicate-package-checker-webpack-plugin":"^1.0.0","@microflash/rehype-figure":"^2.1.1","@npmcli/run-script":"^9.0.1","@octokit/rest":"^21.0.2","@qixian.cs/github-contributors-list":"^2.0.2","@size-limit/file":"^11.1.6","@stackblitz/sdk":"^1.11.0","@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.6.2","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/adm-zip":"^0.5.5","@types/ali-oss":"^6.16.11","@types/cli-progress":"^3.11.6","@types/fs-extra":"^11.0.4","@types/gtag.js":"^0.0.20","@types/http-server":"^0.12.4","@types/isomorphic-fetch":"^0.0.39","@types/jest":"^29.5.13","@types/jest-axe":"^3.5.9","@types/jest-environment-puppeteer":"^5.0.6","@types/jest-image-snapshot":"^6.4.0","@types/jquery":"^3.5.31","@types/jsdom":"^21.1.7","@types/lodash":"^4.17.12","@types/minimist":"^1.2.5","@types/node":"^22.7.7","@types/nprogress":"^0.2.3","@types/pixelmatch":"^5.2.6","@types/pngjs":"^6.0.5","@types/prismjs":"^1.26.4","@types/progress":"^2.0.7","@types/qs":"^6.9.16","@types/react":"^18.3.11","@types/react-copy-to-clipboard":"^5.0.7","@types/react-dom":"^18.3.1","@types/react-highlight-words":"^0.20.0","@types/react-resizable":"^3.0.8","@types/semver":"^7.5.8","@types/spinnies":"^0.5.3","@types/tar":"^6.1.13","@types/throttle-debounce":"^5.0.2","@types/warning":"^3.0.3","adm-zip":"^0.5.16","ali-oss":"^6.21.0","antd-img-crop":"^4.23.0","antd-style":"^3.7.0","antd-token-previewer":"^2.0.8",axios:"^1.7.7",chalk:"^4.1.2",cheerio:"^1.0.0","circular-dependency-plugin":"^5.2.2","cli-progress":"^3.12.0","cross-env":"^7.0.3","cross-fetch":"^4.0.0",dekko:"^0.2.1",dotenv:"^16.4.5",dumi:"~2.4.13","dumi-plugin-color-chunk":"^1.1.2",eslint:"^9.13.0","eslint-plugin-compat":"^6.0.1","eslint-plugin-jest":"^28.8.3","eslint-plugin-jsx-a11y":"^6.10.0","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-react-refresh":"^0.4.13","fast-glob":"^3.3.2","fetch-jsonp":"^1.3.0","fs-extra":"^11.2.0","gh-pages":"^6.2.0",glob:"^11.0.0",html2sketch:"^1.0.2","http-server":"^14.1.1",husky:"^9.1.6","identity-obj-proxy":"^3.0.0",immer:"^10.1.1","is-ci":"^3.0.1","isomorphic-fetch":"^3.0.0",jest:"^29.7.0","jest-axe":"^9.0.0","jest-canvas-mock":"^2.5.2","jest-environment-jsdom":"^29.7.0","jest-environment-node":"^29.7.0","jest-image-snapshot":"^6.4.0","jest-puppeteer":"^10.1.2",jquery:"^3.7.1",jsdom:"^25.0.1","jsonml-to-react-element":"^1.1.11","jsonml.js":"^0.1.0","lint-staged":"^15.2.10",lodash:"^4.17.21","lunar-typescript":"^1.7.5","lz-string":"^1.5.0",minimist:"^1.2.8",mockdate:"^3.0.5","node-fetch":"^3.3.2","node-notifier":"^10.0.1",nprogress:"^0.2.0",open:"^10.1.0",ora:"^8.1.0","p-all":"^5.0.0",pixelmatch:"^6.0.0",pngjs:"^7.0.0",prettier:"^3.3.3","pretty-format":"^29.7.0",prismjs:"^1.29.0",puppeteer:"^23.6.0",qs:"^6.13.0","rc-footer":"^0.6.8","rc-tween-one":"^3.0.6","rc-virtual-list":"^3.15.0",react:"^18.3.1","react-copy-to-clipboard":"^5.1.0","react-countup":"^6.5.3","react-dom":"^18.3.1","react-draggable":"^4.4.6","react-fast-marquee":"^1.6.5","react-highlight-words":"^0.20.0","react-infinite-scroll-component":"^6.1.0","react-intersection-observer":"^9.13.1","react-resizable":"^3.0.5","react-router-dom":"^6.27.0","react-sticky-box":"^2.0.5","regenerator-runtime":"^0.14.1","rehype-stringify":"^10.0.1",remark:"^15.0.1","remark-cli":"^12.0.1","remark-gfm":"^4.0.0","remark-lint":"^10.0.0","remark-lint-no-undefined-references":"^5.0.0","remark-preset-lint-recommended":"^7.0.0","remark-rehype":"^11.1.1",rimraf:"^6.0.1",runes2:"^1.1.4",semver:"^7.6.3",sharp:"^0.33.5","simple-git":"^3.27.0","size-limit":"^11.1.6",spinnies:"^0.5.1",sylvanas:"^0.6.1",tar:"^7.4.3","tar-fs":"^3.0.6",terser:"^5.36.0",tsx:"4.11.2",typedoc:"^0.26.10",typescript:"~5.6.3","vanilla-jsoneditor":"^2.0.0","vanilla-tilt":"^1.8.1",webpack:"^5.95.0","webpack-bundle-analyzer":"^4.10.2","xhr-mock":"^2.5.1","@ant-design/colors":"^7.1.0","@ant-design/cssinjs":"^1.21.1","@ant-design/cssinjs-utils":"^1.1.1","@ant-design/icons":"^5.5.1","@ant-design/react-slick":"~1.1.2","@babel/runtime":"^7.25.7","@ctrl/tinycolor":"^3.6.1","@rc-component/color-picker":"~2.0.1","@rc-component/mutate-observer":"^1.1.0","@rc-component/qrcode":"~1.0.0","@rc-component/tour":"~1.15.1","@rc-component/trigger":"^2.2.5",classnames:"^2.5.1","copy-to-clipboard":"^3.3.3",dayjs:"^1.11.11","rc-cascader":"~3.30.0","rc-checkbox":"~3.3.0","rc-collapse":"~3.9.0","rc-dialog":"~9.6.0","rc-drawer":"~7.2.0","rc-dropdown":"~4.2.0","rc-field-form":"~2.5.1","rc-image":"~7.11.0","rc-input":"~1.6.3","rc-input-number":"~9.3.0","rc-mentions":"~2.17.0","rc-menu":"~9.16.0","rc-motion":"^2.9.3","rc-notification":"~5.6.2","rc-pagination":"~4.3.0","rc-picker":"~4.8.1","rc-progress":"~4.0.0","rc-rate":"~2.13.0","rc-resize-observer":"^1.4.0","rc-segmented":"~2.5.0","rc-select":"~14.16.3","rc-slider":"~11.1.7","rc-steps":"~6.0.1","rc-switch":"~4.1.0","rc-table":"~7.48.1","rc-tabs":"~15.4.0","rc-textarea":"~1.8.2","rc-tooltip":"~6.2.1","rc-tree":"~5.10.1","rc-tree-select":"~5.24.4","rc-upload":"~4.8.1","rc-util":"^5.43.0","scroll-into-view-if-needed":"^3.1.0","throttle-debounce":"^5.0.2"},jsx:"import React, { useState } from 'react';\nimport { EllipsisOutlined } from '@ant-design/icons';\nimport {\n Button,\n Calendar,\n ConfigProvider,\n DatePicker,\n Divider,\n Form,\n Image,\n Input,\n InputNumber,\n Modal,\n Pagination,\n Popconfirm,\n QRCode,\n Radio,\n Select,\n Space,\n Table,\n theme,\n TimePicker,\n Tour,\n Transfer,\n Upload,\n} from 'antd';\nimport enUS from 'antd/locale/en_US';\nimport zhCN from 'antd/locale/zh_CN';\nimport dayjs from 'dayjs';\nimport 'dayjs/locale/zh-cn';\ndayjs.locale('en');\nconst { Option } = Select;\nconst { RangePicker } = DatePicker;\nconst columns = [\n {\n title: 'Name',\n dataIndex: 'name',\n filters: [\n {\n text: 'filter1',\n value: 'filter1',\n },\n ],\n },\n {\n title: 'Age',\n dataIndex: 'age',\n },\n];\nconst Page = () => {\n const { token } = theme.useToken();\n const [open, setOpen] = useState(false);\n const [tourOpen, setTourOpen] = useState(false);\n const tourRefs = React.useRef([]);\n const showModal = () => {\n setOpen(true);\n };\n const hideModal = () => {\n setOpen(false);\n };\n const info = () => {\n Modal.info({\n title: 'some info',\n content: 'some info',\n });\n };\n const confirm = () => {\n Modal.confirm({\n title: 'some info',\n content: 'some info',\n });\n };\n const steps = [\n {\n title: 'Upload File',\n description: 'Put your files here.',\n target: () => tourRefs.current[0],\n },\n {\n title: 'Save',\n description: 'Save your changes.',\n target: () => tourRefs.current[1],\n },\n {\n title: 'Other Actions',\n description: 'Click to see other actions.',\n target: () => tourRefs.current[2],\n },\n ];\n const fileList = [\n {\n uid: '-1',\n name: 'image.png',\n status: 'done',\n url: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',\n },\n {\n uid: '-2',\n percent: 50,\n name: 'image.png',\n status: 'uploading',\n url: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',\n },\n {\n uid: '-3',\n name: 'image.png',\n status: 'error',\n },\n ];\n return (\n <Space\n direction=\"vertical\"\n size={[0, 16]}\n style={{\n width: '100%',\n paddingTop: 16,\n borderTop: `1px solid ${token.colorBorder}`,\n }}\n >\n <Pagination defaultCurrent={1} total={50} showSizeChanger />\n <Space wrap>\n <Select\n showSearch\n style={{\n width: 200,\n }}\n >\n <Option value=\"jack\">jack</Option>\n <Option value=\"lucy\">lucy</Option>\n </Select>\n <DatePicker />\n <TimePicker />\n <RangePicker />\n </Space>\n <Space wrap>\n <Button type=\"primary\" onClick={showModal}>\n Show Modal\n </Button>\n <Button onClick={info}>Show info</Button>\n <Button onClick={confirm}>Show confirm</Button>\n <Popconfirm title=\"Question?\">\n <a href=\"#\">Click to confirm</a>\n </Popconfirm>\n </Space>\n <Transfer dataSource={[]} showSearch targetKeys={[]} />\n <div\n style={{\n width: 320,\n border: `1px solid ${token.colorBorder}`,\n borderRadius: 8,\n }}\n >\n <Calendar fullscreen={false} value={dayjs()} />\n </div>\n <Form\n name=\"basic\"\n autoComplete=\"off\"\n labelCol={{\n sm: {\n span: 4,\n },\n }}\n wrapperCol={{\n span: 6,\n }}\n >\n <Form.Item\n label=\"Username\"\n name=\"username\"\n rules={[\n {\n required: true,\n },\n ]}\n >\n <Input width={200} />\n </Form.Item>\n <Form.Item\n label=\"Age\"\n name=\"age\"\n rules={[\n {\n type: 'number',\n min: 0,\n max: 99,\n },\n ]}\n initialValue={100}\n >\n <InputNumber width={200} />\n </Form.Item>\n <Form.Item\n wrapperCol={{\n offset: 2,\n span: 6,\n }}\n >\n <Button type=\"primary\" htmlType=\"submit\">\n Submit\n </Button>\n </Form.Item>\n </Form>\n <Table dataSource={[]} columns={columns} />\n <Modal title=\"Locale Modal\" open={open} onCancel={hideModal}>\n <p>Locale Modal</p>\n </Modal>\n <Space wrap size={80}>\n <QRCode\n value=\"https://ant.design/\"\n status=\"expired\"\n onRefresh={() => console.log('refresh')}\n />\n <Image\n width={160}\n src=\"https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png\"\n />\n </Space>\n <Upload listType=\"picture-card\" fileList={fileList} />\n <Divider orientation=\"left\">Tour</Divider>\n <Button type=\"primary\" onClick={() => setTourOpen(true)}>\n Begin Tour\n </Button>\n <Space>\n <Button ref={(node) => node && tourRefs.current.splice(0, 0, node)}> Upload</Button>\n <Button ref={(node) => node && tourRefs.current.splice(1, 0, node)} type=\"primary\">\n Save\n </Button>\n <Button\n ref={(node) => node && tourRefs.current.splice(2, 0, node)}\n icon={<EllipsisOutlined />}\n />\n </Space>\n <Tour open={tourOpen} steps={steps} onClose={() => setTourOpen(false)} />\n </Space>\n );\n};\nconst App = () => {\n const [locale, setLocal] = useState(enUS);\n const changeLocale = (e) => {\n const localeValue = e.target.value;\n setLocal(localeValue);\n if (!localeValue) {\n dayjs.locale('en');\n } else {\n dayjs.locale('zh-cn');\n }\n };\n return (\n <>\n <div\n style={{\n marginBottom: 16,\n }}\n >\n <span\n style={{\n marginInlineEnd: 16,\n }}\n >\n Change locale of components:\n </span>\n <Radio.Group value={locale} onChange={changeLocale}>\n <Radio.Button key=\"en\" value={enUS}>\n English\n </Radio.Button>\n <Radio.Button key=\"cn\" value={zhCN}>\n \u4E2D\u6587\n </Radio.Button>\n </Radio.Group>\n </div>\n <ConfigProvider locale={locale}>\n <Page />\n </ConfigProvider>\n </>\n );\n};\nexport default App;\n",description:"<p>Components which need localization support are listed here, you can toggle the language in the demo.</p>"}},{demo:{id:"config-provider-demo-direction"},previewerProps:{title:"Direction",filename:"components/config-provider/demo/direction.tsx",pkgDependencyList:{"@ant-design/compatible":"^5.1.3","@ant-design/happy-work-theme":"^1.0.0","@ant-design/tools":"^18.0.2","@antfu/eslint-config":"^3.8.0","@antv/g6":"^4.8.24","@biomejs/biome":"^1.9.4","@codecov/webpack-plugin":"^1.2.1","@codesandbox/sandpack-react":"^2.19.9","@dnd-kit/core":"^6.1.0","@dnd-kit/modifiers":"^7.0.0","@dnd-kit/sortable":"^8.0.0","@dnd-kit/utilities":"^3.2.2","@emotion/css":"^11.13.4","@emotion/react":"^11.13.3","@emotion/server":"^11.11.0","@eslint-react/eslint-plugin":"^1.15.0","@ianvs/prettier-plugin-sort-imports":"^4.3.1","@inquirer/prompts":"^7.0.0","@madccc/duplicate-package-checker-webpack-plugin":"^1.0.0","@microflash/rehype-figure":"^2.1.1","@npmcli/run-script":"^9.0.1","@octokit/rest":"^21.0.2","@qixian.cs/github-contributors-list":"^2.0.2","@size-limit/file":"^11.1.6","@stackblitz/sdk":"^1.11.0","@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.6.2","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/adm-zip":"^0.5.5","@types/ali-oss":"^6.16.11","@types/cli-progress":"^3.11.6","@types/fs-extra":"^11.0.4","@types/gtag.js":"^0.0.20","@types/http-server":"^0.12.4","@types/isomorphic-fetch":"^0.0.39","@types/jest":"^29.5.13","@types/jest-axe":"^3.5.9","@types/jest-environment-puppeteer":"^5.0.6","@types/jest-image-snapshot":"^6.4.0","@types/jquery":"^3.5.31","@types/jsdom":"^21.1.7","@types/lodash":"^4.17.12","@types/minimist":"^1.2.5","@types/node":"^22.7.7","@types/nprogress":"^0.2.3","@types/pixelmatch":"^5.2.6","@types/pngjs":"^6.0.5","@types/prismjs":"^1.26.4","@types/progress":"^2.0.7","@types/qs":"^6.9.16","@types/react":"^18.3.11","@types/react-copy-to-clipboard":"^5.0.7","@types/react-dom":"^18.3.1","@types/react-highlight-words":"^0.20.0","@types/react-resizable":"^3.0.8","@types/semver":"^7.5.8","@types/spinnies":"^0.5.3","@types/tar":"^6.1.13","@types/throttle-debounce":"^5.0.2","@types/warning":"^3.0.3","adm-zip":"^0.5.16","ali-oss":"^6.21.0","antd-img-crop":"^4.23.0","antd-style":"^3.7.0","antd-token-previewer":"^2.0.8",axios:"^1.7.7",chalk:"^4.1.2",cheerio:"^1.0.0","circular-dependency-plugin":"^5.2.2","cli-progress":"^3.12.0","cross-env":"^7.0.3","cross-fetch":"^4.0.0",dekko:"^0.2.1",dotenv:"^16.4.5",dumi:"~2.4.13","dumi-plugin-color-chunk":"^1.1.2",eslint:"^9.13.0","eslint-plugin-compat":"^6.0.1","eslint-plugin-jest":"^28.8.3","eslint-plugin-jsx-a11y":"^6.10.0","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-react-refresh":"^0.4.13","fast-glob":"^3.3.2","fetch-jsonp":"^1.3.0","fs-extra":"^11.2.0","gh-pages":"^6.2.0",glob:"^11.0.0",html2sketch:"^1.0.2","http-server":"^14.1.1",husky:"^9.1.6","identity-obj-proxy":"^3.0.0",immer:"^10.1.1","is-ci":"^3.0.1","isomorphic-fetch":"^3.0.0",jest:"^29.7.0","jest-axe":"^9.0.0","jest-canvas-mock":"^2.5.2","jest-environment-jsdom":"^29.7.0","jest-environment-node":"^29.7.0","jest-image-snapshot":"^6.4.0","jest-puppeteer":"^10.1.2",jquery:"^3.7.1",jsdom:"^25.0.1","jsonml-to-react-element":"^1.1.11","jsonml.js":"^0.1.0","lint-staged":"^15.2.10",lodash:"^4.17.21","lunar-typescript":"^1.7.5","lz-string":"^1.5.0",minimist:"^1.2.8",mockdate:"^3.0.5","node-fetch":"^3.3.2","node-notifier":"^10.0.1",nprogress:"^0.2.0",open:"^10.1.0",ora:"^8.1.0","p-all":"^5.0.0",pixelmatch:"^6.0.0",pngjs:"^7.0.0",prettier:"^3.3.3","pretty-format":"^29.7.0",prismjs:"^1.29.0",puppeteer:"^23.6.0",qs:"^6.13.0","rc-footer":"^0.6.8","rc-tween-one":"^3.0.6","rc-virtual-list":"^3.15.0",react:"^18.3.1","react-copy-to-clipboard":"^5.1.0","react-countup":"^6.5.3","react-dom":"^18.3.1","react-draggable":"^4.4.6","react-fast-marquee":"^1.6.5","react-highlight-words":"^0.20.0","react-infinite-scroll-component":"^6.1.0","react-intersection-observer":"^9.13.1","react-resizable":"^3.0.5","react-router-dom":"^6.27.0","react-sticky-box":"^2.0.5","regenerator-runtime":"^0.14.1","rehype-stringify":"^10.0.1",remark:"^15.0.1","remark-cli":"^12.0.1","remark-gfm":"^4.0.0","remark-lint":"^10.0.0","remark-lint-no-undefined-references":"^5.0.0","remark-preset-lint-recommended":"^7.0.0","remark-rehype":"^11.1.1",rimraf:"^6.0.1",runes2:"^1.1.4",semver:"^7.6.3",sharp:"^0.33.5","simple-git":"^3.27.0","size-limit":"^11.1.6",spinnies:"^0.5.1",sylvanas:"^0.6.1",tar:"^7.4.3","tar-fs":"^3.0.6",terser:"^5.36.0",tsx:"4.11.2",typedoc:"^0.26.10",typescript:"~5.6.3","vanilla-jsoneditor":"^2.0.0","vanilla-tilt":"^1.8.1",webpack:"^5.95.0","webpack-bundle-analyzer":"^4.10.2","xhr-mock":"^2.5.1","@ant-design/colors":"^7.1.0","@ant-design/cssinjs":"^1.21.1","@ant-design/cssinjs-utils":"^1.1.1","@ant-design/icons":"^5.5.1","@ant-design/react-slick":"~1.1.2","@babel/runtime":"^7.25.7","@ctrl/tinycolor":"^3.6.1","@rc-component/color-picker":"~2.0.1","@rc-component/mutate-observer":"^1.1.0","@rc-component/qrcode":"~1.0.0","@rc-component/tour":"~1.15.1","@rc-component/trigger":"^2.2.5",classnames:"^2.5.1","copy-to-clipboard":"^3.3.3",dayjs:"^1.11.11","rc-cascader":"~3.30.0","rc-checkbox":"~3.3.0","rc-collapse":"~3.9.0","rc-dialog":"~9.6.0","rc-drawer":"~7.2.0","rc-dropdown":"~4.2.0","rc-field-form":"~2.5.1","rc-image":"~7.11.0","rc-input":"~1.6.3","rc-input-number":"~9.3.0","rc-mentions":"~2.17.0","rc-menu":"~9.16.0","rc-motion":"^2.9.3","rc-notification":"~5.6.2","rc-pagination":"~4.3.0","rc-picker":"~4.8.1","rc-progress":"~4.0.0","rc-rate":"~2.13.0","rc-resize-observer":"^1.4.0","rc-segmented":"~2.5.0","rc-select":"~14.16.3","rc-slider":"~11.1.7","rc-steps":"~6.0.1","rc-switch":"~4.1.0","rc-table":"~7.48.1","rc-tabs":"~15.4.0","rc-textarea":"~1.8.2","rc-tooltip":"~6.2.1","rc-tree":"~5.10.1","rc-tree-select":"~5.24.4","rc-upload":"~4.8.1","rc-util":"^5.43.0","scroll-into-view-if-needed":"^3.1.0","throttle-debounce":"^5.0.2"},jsx:'import React, { useState } from \'react\';\nimport {\n DownloadOutlined,\n LeftOutlined,\n MinusOutlined,\n PlusOutlined,\n RightOutlined,\n SearchOutlined as SearchIcon,\n SmileOutlined,\n} from \'@ant-design/icons\';\nimport {\n Badge,\n Button,\n Cascader,\n Col,\n ConfigProvider,\n Divider,\n Input,\n InputNumber,\n Modal,\n Pagination,\n Radio,\n Rate,\n Row,\n Select,\n Space,\n Steps,\n Switch,\n Tree,\n TreeSelect,\n} from \'antd\';\nconst InputGroup = Input.Group;\nconst ButtonGroup = Button.Group;\nconst { Option } = Select;\nconst { TreeNode } = Tree;\nconst { Search } = Input;\nconst cascaderOptions = [\n {\n value: \'tehran\',\n label: \'\u062A\u0647\u0631\u0627\u0646\',\n children: [\n {\n value: \'tehran-c\',\n label: \'\u062A\u0647\u0631\u0627\u0646\',\n children: [\n {\n value: \'saadat-abad\',\n label: \'\u0633\u0639\u0627\u062F\u062A \u0622\u06CC\u0627\u062F\',\n },\n ],\n },\n ],\n },\n {\n value: \'ardabil\',\n label: \'\u0627\u0631\u062F\u0628\u06CC\u0644\',\n children: [\n {\n value: \'ardabil-c\',\n label: \'\u0627\u0631\u062F\u0628\u06CC\u0644\',\n children: [\n {\n value: \'primadar\',\n label: \'\u067E\u06CC\u0631\u0645\u0627\u062F\u0631\',\n },\n ],\n },\n ],\n },\n {\n value: \'gilan\',\n label: \'\u06AF\u06CC\u0644\u0627\u0646\',\n children: [\n {\n value: \'rasht\',\n label: \'\u0631\u0634\u062A\',\n children: [\n {\n value: \'district-3\',\n label: \'\u0645\u0646\u0637\u0642\u0647 \u06F3\',\n },\n ],\n },\n ],\n },\n];\nconst Page = ({ placement }) => {\n const [currentStep, setCurrentStep] = useState(0);\n const [modalOpen, setModalOpen] = useState(false);\n const [badgeCount, setBadgeCount] = useState(5);\n const [showBadge, setShowBadge] = useState(true);\n const selectBefore = (\n <Select\n defaultValue="Http://"\n style={{\n width: 90,\n }}\n >\n <Option value="Http://">Http://</Option>\n <Option value="Https://">Https://</Option>\n </Select>\n );\n const selectAfter = (\n <Select\n defaultValue=".com"\n style={{\n width: 80,\n }}\n >\n <Option value=".com">.com</Option>\n <Option value=".jp">.jp</Option>\n <Option value=".cn">.cn</Option>\n <Option value=".org">.org</Option>\n </Select>\n );\n\n // ==== Cascader ====\n const cascaderFilter = (inputValue, path) =>\n path.some((option) => option.label.toLowerCase().includes(inputValue.toLowerCase()));\n const onCascaderChange = (value) => {\n console.log(value);\n };\n // ==== End Cascader ====\n\n // ==== Modal ====\n const showModal = () => {\n setModalOpen(true);\n };\n const handleOk = (e) => {\n console.log(e);\n setModalOpen(false);\n };\n const handleCancel = (e) => {\n console.log(e);\n setModalOpen(false);\n };\n\n // ==== End Modal ====\n const onStepsChange = (newCurrentStep) => {\n console.log(\'onChange:\', newCurrentStep);\n setCurrentStep(newCurrentStep);\n };\n\n // ==== Badge ====\n const increaseBadge = () => {\n setBadgeCount(badgeCount + 1);\n };\n const declineBadge = () => {\n setBadgeCount((prev) => (prev - 1 < 0 ? 0 : prev - 1));\n };\n const onChangeBadge = (checked) => {\n setShowBadge(checked);\n };\n // ==== End Badge ====\n\n return (\n <div className="direction-components">\n <Row>\n <Col span={24}>\n <Divider orientation="left">Cascader example</Divider>\n <Cascader\n suffixIcon={<SearchIcon />}\n options={cascaderOptions}\n onChange={onCascaderChange}\n placeholder="\u06CC\u06A9 \u0645\u0648\u0631\u062F \u0627\u0646\u062A\u062E\u0627\u0628 \u06A9\u0646\u06CC\u062F"\n placement={placement}\n />\n &nbsp;&nbsp;&nbsp;&nbsp;With search:&nbsp;&nbsp;\n <Cascader\n suffixIcon={<SmileOutlined />}\n options={cascaderOptions}\n onChange={onCascaderChange}\n placeholder="Select an item"\n placement={placement}\n showSearch={{\n filter: cascaderFilter,\n }}\n />\n </Col>\n </Row>\n <br />\n <Row>\n <Col span={12}>\n <Divider orientation="left">Switch example</Divider>\n &nbsp;&nbsp;\n <Switch defaultChecked />\n &nbsp;&nbsp;\n <Switch loading defaultChecked />\n &nbsp;&nbsp;\n <Switch size="small" loading />\n </Col>\n <Col span={12}>\n <Divider orientation="left">Radio Group example</Divider>\n <Radio.Group defaultValue="c" buttonStyle="solid">\n <Radio.Button value="a">\u062A\u0647\u0631\u0627\u0646</Radio.Button>\n <Radio.Button value="b" disabled>\n \u0627\u0635\u0641\u0647\u0627\u0646\n </Radio.Button>\n <Radio.Button value="c">\u0641\u0627\u0631\u0633</Radio.Button>\n <Radio.Button value="d">\u062E\u0648\u0632\u0633\u062A\u0627\u0646</Radio.Button>\n </Radio.Group>\n </Col>\n </Row>\n <br />\n <Row>\n <Col span={12}>\n <Divider orientation="left">Button example</Divider>\n <div className="button-demo">\n <Button type="primary" icon={<DownloadOutlined />} />\n <Button type="primary" shape="circle" icon={<DownloadOutlined />} />\n <Button type="primary" shape="round" icon={<DownloadOutlined />} />\n <Button type="primary" shape="round" icon={<DownloadOutlined />}>\n Download\n </Button>\n <Button type="primary" icon={<DownloadOutlined />}>\n Download\n </Button>\n <br />\n <Button.Group>\n <Button type="primary">\n <LeftOutlined />\n Backward\n </Button>\n <Button type="primary">\n Forward\n <RightOutlined />\n </Button>\n </Button.Group>\n <Button type="primary" loading>\n Loading\n </Button>\n <Button type="primary" size="small" loading>\n Loading\n </Button>\n </div>\n </Col>\n <Col span={12}>\n <Divider orientation="left">Tree example</Divider>\n <Tree\n showLine\n checkable\n defaultExpandedKeys={[\'0-0-0\', \'0-0-1\']}\n defaultSelectedKeys={[\'0-0-0\', \'0-0-1\']}\n defaultCheckedKeys={[\'0-0-0\', \'0-0-1\']}\n >\n <TreeNode title="parent 1" key="0-0">\n <TreeNode title="parent 1-0" key="0-0-0" disabled>\n <TreeNode title="leaf" key="0-0-0-0" disableCheckbox />\n <TreeNode title="leaf" key="0-0-0-1" />\n </TreeNode>\n <TreeNode title="parent 1-1" key="0-0-1">\n <TreeNode\n title={\n <span\n style={{\n color: \'#1677ff\',\n }}\n >\n sss\n </span>\n }\n key="0-0-1-0"\n />\n </TreeNode>\n </TreeNode>\n </Tree>\n </Col>\n </Row>\n <br />\n <Row>\n <Col span={24}>\n <Divider orientation="left">Input (Input Group) example</Divider>\n <InputGroup size="large">\n <Row gutter={8}>\n <Col span={5}>\n <Input defaultValue="0571" />\n </Col>\n <Col span={8}>\n <Input defaultValue="26888888" />\n </Col>\n </Row>\n </InputGroup>\n <br />\n <InputGroup compact>\n <Input\n style={{\n width: \'20%\',\n }}\n defaultValue="0571"\n />\n <Input\n style={{\n width: \'30%\',\n }}\n defaultValue="26888888"\n />\n </InputGroup>\n <br />\n <InputGroup compact>\n <Select defaultValue="Option1">\n <Option value="Option1">Option1</Option>\n <Option value="Option2">Option2</Option>\n </Select>\n <Input\n style={{\n width: \'50%\',\n }}\n defaultValue="input content"\n />\n <InputNumber />\n </InputGroup>\n <br />\n <Search placeholder="input search text" enterButton="Search" size="large" />\n <br />\n <br />\n <div\n style={{\n marginBottom: 16,\n }}\n >\n <Input addonBefore={selectBefore} addonAfter={selectAfter} defaultValue="mysite" />\n </div>\n <br />\n <Row>\n <Col span={12}>\n <Divider orientation="left">Select example</Divider>\n <Space wrap>\n <Select\n mode="multiple"\n defaultValue="\u0645\u0648\u0631\u0686\u0647"\n style={{\n width: 120,\n }}\n >\n <Option value="jack">Jack</Option>\n <Option value="\u0645\u0648\u0631\u0686\u0647">\u0645\u0648\u0631\u0686\u0647</Option>\n <Option value="disabled" disabled>\n Disabled\n </Option>\n <Option value="Yiminghe">yiminghe</Option>\n </Select>\n <Select\n defaultValue="\u0645\u0648\u0631\u0686\u0647"\n style={{\n width: 120,\n }}\n disabled\n >\n <Option value="\u0645\u0648\u0631\u0686\u0647">\u0645\u0648\u0631\u0686\u0647</Option>\n </Select>\n <Select\n defaultValue="\u0645\u0648\u0631\u0686\u0647"\n style={{\n width: 120,\n }}\n loading\n >\n <Option value="\u0645\u0648\u0631\u0686\u0647">\u0645\u0648\u0631\u0686\u0647</Option>\n </Select>\n <Select\n showSearch\n style={{\n width: 200,\n }}\n placeholder="Select a person"\n >\n <Option value="jack">Jack</Option>\n <Option value="\u0633\u0639\u06CC\u062F">\u0633\u0639\u06CC\u062F</Option>\n <Option value="tom">Tom</Option>\n </Select>\n </Space>\n </Col>\n <Col span={12}>\n <Divider orientation="left">TreeSelect example</Divider>\n <TreeSelect\n showSearch\n style={{\n width: \'100%\',\n }}\n dropdownStyle={{\n maxHeight: 400,\n overflow: \'auto\',\n }}\n placeholder="Please select"\n allowClear\n treeDefaultExpandAll\n >\n <TreeNode title="parent 1" key="0-1">\n <TreeNode title="parent 1-0" key="0-1-1">\n <TreeNode title="my leaf" key="random" />\n <TreeNode title="your leaf" key="random1" />\n </TreeNode>\n <TreeNode title="parent 1-1" key="random2">\n <TreeNode\n title={\n <b\n style={{\n color: \'#08c\',\n }}\n >\n sss\n </b>\n }\n key="random3"\n />\n </TreeNode>\n </TreeNode>\n </TreeSelect>\n </Col>\n </Row>\n <br />\n <Row>\n <Col span={24}>\n <Divider orientation="left">Modal example</Divider>\n <Button type="primary" onClick={showModal}>\n Open Modal\n </Button>\n <Modal title="\u067E\u0646\u0686\u0631\u0647 \u0633\u0627\u062F\u0647" open={modalOpen} onOk={handleOk} onCancel={handleCancel}>\n <p>\u0646\u06AF\u0627\u0634\u062A\u0647\u200C\u0647\u0627\u06CC \u062E\u0648\u062F \u0631\u0627 \u0627\u06CC\u0646\u062C\u0627 \u0642\u0631\u0627\u0631\u062F\u0647\u06CC\u062F</p>\n <p>\u0646\u06AF\u0627\u0634\u062A\u0647\u200C\u0647\u0627\u06CC \u062E\u0648\u062F \u0631\u0627 \u0627\u06CC\u0646\u062C\u0627 \u0642\u0631\u0627\u0631\u062F\u0647\u06CC\u062F</p>\n <p>\u0646\u06AF\u0627\u0634\u062A\u0647\u200C\u0647\u0627\u06CC \u062E\u0648\u062F \u0631\u0627 \u0627\u06CC\u0646\u062C\u0627 \u0642\u0631\u0627\u0631\u062F\u0647\u06CC\u062F</p>\n </Modal>\n </Col>\n </Row>\n <br />\n <Row>\n <Col span={24}>\n <Divider orientation="left">Steps example</Divider>\n <Steps\n progressDot\n current={currentStep}\n items={[\n {\n title: \'Finished\',\n description: \'This is a description.\',\n },\n {\n title: \'In Progress\',\n description: \'This is a description.\',\n },\n {\n title: \'Waiting\',\n description: \'This is a description.\',\n },\n ]}\n />\n <br />\n <Steps\n current={currentStep}\n onChange={onStepsChange}\n items={[\n {\n title: \'Step 1\',\n description: \'This is a description.\',\n },\n {\n title: \'Step 2\',\n description: \'This is a description.\',\n },\n {\n title: \'Step 3\',\n description: \'This is a description.\',\n },\n ]}\n />\n </Col>\n </Row>\n <br />\n <Row>\n <Col span={12}>\n <Divider orientation="left">Rate example</Divider>\n <Rate defaultValue={2.5} />\n <br />\n <strong>* Note:</strong> Half star not implemented in RTL direction, it will be\n supported after <a href="https://github.com/react-component/rate">rc-rate</a>{\' \'}\n implement rtl support.\n </Col>\n <Col span={12}>\n <Divider orientation="left">Badge example</Divider>\n <Badge count={badgeCount}>\n <a href="#" className="head-example" />\n </Badge>\n <ButtonGroup>\n <Button onClick={declineBadge}>\n <MinusOutlined />\n </Button>\n <Button onClick={increaseBadge}>\n <PlusOutlined />\n </Button>\n </ButtonGroup>\n <div\n style={{\n marginTop: 12,\n }}\n >\n <Badge dot={showBadge}>\n <a href="#" className="head-example" />\n </Badge>\n <Switch onChange={onChangeBadge} checked={showBadge} />\n </div>\n </Col>\n </Row>\n </Col>\n </Row>\n <br />\n <br />\n <Row>\n <Col span={24}>\n <Divider orientation="left">Pagination example</Divider>\n <Pagination showSizeChanger defaultCurrent={3} total={500} />\n </Col>\n </Row>\n <br />\n <Row>\n <Col span={24}>\n <Divider orientation="left">Grid System example</Divider>\n <div className="grid-demo">\n <div className="code-box-demo">\n <p>\n <strong>* Note:</strong> Every calculation in RTL grid system is from right side\n (offset, push, etc.)\n </p>\n <Row>\n <Col span={8}>col-8</Col>\n <Col span={8} offset={8}>\n col-8\n </Col>\n </Row>\n <Row>\n <Col span={6} offset={6}>\n col-6 col-offset-6\n </Col>\n <Col span={6} offset={6}>\n col-6 col-offset-6\n </Col>\n </Row>\n <Row>\n <Col span={12} offset={6}>\n col-12 col-offset-6\n </Col>\n </Row>\n <Row>\n <Col span={18} push={6}>\n col-18 col-push-6\n </Col>\n <Col span={6} pull={18}>\n col-6 col-pull-18\n </Col>\n </Row>\n </div>\n </div>\n </Col>\n </Row>\n </div>\n );\n};\nconst App = () => {\n const [direction, setDirection] = useState(\'ltr\');\n const [placement, setPlacement] = useState(\'bottomLeft\');\n const changeDirection = (e) => {\n const directionValue = e.target.value;\n setDirection(directionValue);\n setPlacement(directionValue === \'rtl\' ? \'bottomRight\' : \'bottomLeft\');\n };\n return (\n <>\n <div\n style={{\n marginBottom: 16,\n }}\n >\n <span\n style={{\n marginInlineEnd: 16,\n }}\n >\n Change direction of components:\n </span>\n <Radio.Group defaultValue="ltr" onChange={changeDirection}>\n <Radio.Button key="ltr" value="ltr">\n LTR\n </Radio.Button>\n <Radio.Button key="rtl" value="rtl">\n RTL\n </Radio.Button>\n </Radio.Group>\n </div>\n <ConfigProvider direction={direction}>\n <Page placement={placement} />\n </ConfigProvider>\n </>\n );\n};\nexport default App;\n',description:"<p>Components which support rtl direction are listed here, you can toggle the direction in the demo.</p>",style:"\n.button-demo .ant-btn,\n.button-demo .ant-btn-group {\n margin-inline-end: 8px;\n margin-bottom: 12px;\n}\n.button-demo .ant-btn-group > .ant-btn,\n.button-demo .ant-btn-group > span > .ant-btn {\n margin-inline-end: 0;\n margin-inline-start: 0;\n}\n\n.head-example {\n display: inline-block;\n width: 42px;\n height: 42px;\n vertical-align: middle;\n background: #eee;\n border-radius: 4px;\n}\n\n.ant-badge:not(.ant-badge-not-a-wrapper) {\n margin-inline-end: 20px;\n}\n\n.ant-badge-rtl:not(.ant-badge-not-a-wrapper) {\n margin-inline-end: 0;\n margin-inline-start: 20px;\n}\n```\n"}},{demo:{id:"config-provider-demo-size"},previewerProps:{title:"Component size",filename:"components/config-provider/demo/size.tsx",pkgDependencyList:{"@ant-design/compatible":"^5.1.3","@ant-design/happy-work-theme":"^1.0.0","@ant-design/tools":"^18.0.2","@antfu/eslint-config":"^3.8.0","@antv/g6":"^4.8.24","@biomejs/biome":"^1.9.4","@codecov/webpack-plugin":"^1.2.1","@codesandbox/sandpack-react":"^2.19.9","@dnd-kit/core":"^6.1.0","@dnd-kit/modifiers":"^7.0.0","@dnd-kit/sortable":"^8.0.0","@dnd-kit/utilities":"^3.2.2","@emotion/css":"^11.13.4","@emotion/react":"^11.13.3","@emotion/server":"^11.11.0","@eslint-react/eslint-plugin":"^1.15.0","@ianvs/prettier-plugin-sort-imports":"^4.3.1","@inquirer/prompts":"^7.0.0","@madccc/duplicate-package-checker-webpack-plugin":"^1.0.0","@microflash/rehype-figure":"^2.1.1","@npmcli/run-script":"^9.0.1","@octokit/rest":"^21.0.2","@qixian.cs/github-contributors-list":"^2.0.2","@size-limit/file":"^11.1.6","@stackblitz/sdk":"^1.11.0","@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.6.2","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/adm-zip":"^0.5.5","@types/ali-oss":"^6.16.11","@types/cli-progress":"^3.11.6","@types/fs-extra":"^11.0.4","@types/gtag.js":"^0.0.20","@types/http-server":"^0.12.4","@types/isomorphic-fetch":"^0.0.39","@types/jest":"^29.5.13","@types/jest-axe":"^3.5.9","@types/jest-environment-puppeteer":"^5.0.6","@types/jest-image-snapshot":"^6.4.0","@types/jquery":"^3.5.31","@types/jsdom":"^21.1.7","@types/lodash":"^4.17.12","@types/minimist":"^1.2.5","@types/node":"^22.7.7","@types/nprogress":"^0.2.3","@types/pixelmatch":"^5.2.6","@types/pngjs":"^6.0.5","@types/prismjs":"^1.26.4","@types/progress":"^2.0.7","@types/qs":"^6.9.16","@types/react":"^18.3.11","@types/react-copy-to-clipboard":"^5.0.7","@types/react-dom":"^18.3.1","@types/react-highlight-words":"^0.20.0","@types/react-resizable":"^3.0.8","@types/semver":"^7.5.8","@types/spinnies":"^0.5.3","@types/tar":"^6.1.13","@types/throttle-debounce":"^5.0.2","@types/warning":"^3.0.3","adm-zip":"^0.5.16","ali-oss":"^6.21.0","antd-img-crop":"^4.23.0","antd-style":"^3.7.0","antd-token-previewer":"^2.0.8",axios:"^1.7.7",chalk:"^4.1.2",cheerio:"^1.0.0","circular-dependency-plugin":"^5.2.2","cli-progress":"^3.12.0","cross-env":"^7.0.3","cross-fetch":"^4.0.0",dekko:"^0.2.1",dotenv:"^16.4.5",dumi:"~2.4.13","dumi-plugin-color-chunk":"^1.1.2",eslint:"^9.13.0","eslint-plugin-compat":"^6.0.1","eslint-plugin-jest":"^28.8.3","eslint-plugin-jsx-a11y":"^6.10.0","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-react-refresh":"^0.4.13","fast-glob":"^3.3.2","fetch-jsonp":"^1.3.0","fs-extra":"^11.2.0","gh-pages":"^6.2.0",glob:"^11.0.0",html2sketch:"^1.0.2","http-server":"^14.1.1",husky:"^9.1.6","identity-obj-proxy":"^3.0.0",immer:"^10.1.1","is-ci":"^3.0.1","isomorphic-fetch":"^3.0.0",jest:"^29.7.0","jest-axe":"^9.0.0","jest-canvas-mock":"^2.5.2","jest-environment-jsdom":"^29.7.0","jest-environment-node":"^29.7.0","jest-image-snapshot":"^6.4.0","jest-puppeteer":"^10.1.2",jquery:"^3.7.1",jsdom:"^25.0.1","jsonml-to-react-element":"^1.1.11","jsonml.js":"^0.1.0","lint-staged":"^15.2.10",lodash:"^4.17.21","lunar-typescript":"^1.7.5","lz-string":"^1.5.0",minimist:"^1.2.8",mockdate:"^3.0.5","node-fetch":"^3.3.2","node-notifier":"^10.0.1",nprogress:"^0.2.0",open:"^10.1.0",ora:"^8.1.0","p-all":"^5.0.0",pixelmatch:"^6.0.0",pngjs:"^7.0.0",prettier:"^3.3.3","pretty-format":"^29.7.0",prismjs:"^1.29.0",puppeteer:"^23.6.0",qs:"^6.13.0","rc-footer":"^0.6.8","rc-tween-one":"^3.0.6","rc-virtual-list":"^3.15.0",react:"^18.3.1","react-copy-to-clipboard":"^5.1.0","react-countup":"^6.5.3","react-dom":"^18.3.1","react-draggable":"^4.4.6","react-fast-marquee":"^1.6.5","react-highlight-words":"^0.20.0","react-infinite-scroll-component":"^6.1.0","react-intersection-observer":"^9.13.1","react-resizable":"^3.0.5","react-router-dom":"^6.27.0","react-sticky-box":"^2.0.5","regenerator-runtime":"^0.14.1","rehype-stringify":"^10.0.1",remark:"^15.0.1","remark-cli":"^12.0.1","remark-gfm":"^4.0.0","remark-lint":"^10.0.0","remark-lint-no-undefined-references":"^5.0.0","remark-preset-lint-recommended":"^7.0.0","remark-rehype":"^11.1.1",rimraf:"^6.0.1",runes2:"^1.1.4",semver:"^7.6.3",sharp:"^0.33.5","simple-git":"^3.27.0","size-limit":"^11.1.6",spinnies:"^0.5.1",sylvanas:"^0.6.1",tar:"^7.4.3","tar-fs":"^3.0.6",terser:"^5.36.0",tsx:"4.11.2",typedoc:"^0.26.10",typescript:"~5.6.3","vanilla-jsoneditor":"^2.0.0","vanilla-tilt":"^1.8.1",webpack:"^5.95.0","webpack-bundle-analyzer":"^4.10.2","xhr-mock":"^2.5.1","@ant-design/colors":"^7.1.0","@ant-design/cssinjs":"^1.21.1","@ant-design/cssinjs-utils":"^1.1.1","@ant-design/icons":"^5.5.1","@ant-design/react-slick":"~1.1.2","@babel/runtime":"^7.25.7","@ctrl/tinycolor":"^3.6.1","@rc-component/color-picker":"~2.0.1","@rc-component/mutate-observer":"^1.1.0","@rc-component/qrcode":"~1.0.0","@rc-component/tour":"~1.15.1","@rc-component/trigger":"^2.2.5",classnames:"^2.5.1","copy-to-clipboard":"^3.3.3",dayjs:"^1.11.11","rc-cascader":"~3.30.0","rc-checkbox":"~3.3.0","rc-collapse":"~3.9.0","rc-dialog":"~9.6.0","rc-drawer":"~7.2.0","rc-dropdown":"~4.2.0","rc-field-form":"~2.5.1","rc-image":"~7.11.0","rc-input":"~1.6.3","rc-input-number":"~9.3.0","rc-mentions":"~2.17.0","rc-menu":"~9.16.0","rc-motion":"^2.9.3","rc-notification":"~5.6.2","rc-pagination":"~4.3.0","rc-picker":"~4.8.1","rc-progress":"~4.0.0","rc-rate":"~2.13.0","rc-resize-observer":"^1.4.0","rc-segmented":"~2.5.0","rc-select":"~14.16.3","rc-slider":"~11.1.7","rc-steps":"~6.0.1","rc-switch":"~4.1.0","rc-table":"~7.48.1","rc-tabs":"~15.4.0","rc-textarea":"~1.8.2","rc-tooltip":"~6.2.1","rc-tree":"~5.10.1","rc-tree-select":"~5.24.4","rc-upload":"~4.8.1","rc-util":"^5.43.0","scroll-into-view-if-needed":"^3.1.0","throttle-debounce":"^5.0.2"},jsx:"import React, { useState } from 'react';\nimport {\n Button,\n Card,\n ConfigProvider,\n DatePicker,\n Divider,\n Input,\n Radio,\n Select,\n Space,\n Table,\n Tabs,\n} from 'antd';\nconst App = () => {\n const [componentSize, setComponentSize] = useState('small');\n return (\n <>\n <Radio.Group\n value={componentSize}\n onChange={(e) => {\n setComponentSize(e.target.value);\n }}\n >\n <Radio.Button value=\"small\">Small</Radio.Button>\n <Radio.Button value=\"middle\">Middle</Radio.Button>\n <Radio.Button value=\"large\">Large</Radio.Button>\n </Radio.Group>\n <Divider />\n <ConfigProvider componentSize={componentSize}>\n <Space\n size={[0, 16]}\n style={{\n width: '100%',\n }}\n direction=\"vertical\"\n >\n <Input />\n <Tabs\n defaultActiveKey=\"1\"\n items={[\n {\n label: 'Tab 1',\n key: '1',\n children: 'Content of Tab Pane 1',\n },\n {\n label: 'Tab 2',\n key: '2',\n children: 'Content of Tab Pane 2',\n },\n {\n label: 'Tab 3',\n key: '3',\n children: 'Content of Tab Pane 3',\n },\n ]}\n />\n <Input.Search allowClear />\n <Input.TextArea allowClear />\n <Select\n defaultValue=\"demo\"\n options={[\n {\n value: 'demo',\n },\n ]}\n />\n <DatePicker />\n <DatePicker.RangePicker />\n <Button>Button</Button>\n <Card title=\"Card\">\n <Table\n columns={[\n {\n title: 'Name',\n dataIndex: 'name',\n },\n {\n title: 'Age',\n dataIndex: 'age',\n },\n ]}\n dataSource={[\n {\n key: '1',\n name: 'John Brown',\n age: 32,\n },\n {\n key: '2',\n name: 'Jim Green',\n age: 42,\n },\n {\n key: '3',\n name: 'Joe Black',\n age: 32,\n },\n ]}\n />\n </Card>\n </Space>\n </ConfigProvider>\n </>\n );\n};\nexport default App;\n",description:"<p>Config component default size.</p>"}},{demo:{id:"config-provider-demo-theme"},previewerProps:{title:"Theme",filename:"components/config-provider/demo/theme.tsx",pkgDependencyList:{"@ant-design/compatible":"^5.1.3","@ant-design/happy-work-theme":"^1.0.0","@ant-design/tools":"^18.0.2","@antfu/eslint-config":"^3.8.0","@antv/g6":"^4.8.24","@biomejs/biome":"^1.9.4","@codecov/webpack-plugin":"^1.2.1","@codesandbox/sandpack-react":"^2.19.9","@dnd-kit/core":"^6.1.0","@dnd-kit/modifiers":"^7.0.0","@dnd-kit/sortable":"^8.0.0","@dnd-kit/utilities":"^3.2.2","@emotion/css":"^11.13.4","@emotion/react":"^11.13.3","@emotion/server":"^11.11.0","@eslint-react/eslint-plugin":"^1.15.0","@ianvs/prettier-plugin-sort-imports":"^4.3.1","@inquirer/prompts":"^7.0.0","@madccc/duplicate-package-checker-webpack-plugin":"^1.0.0","@microflash/rehype-figure":"^2.1.1","@npmcli/run-script":"^9.0.1","@octokit/rest":"^21.0.2","@qixian.cs/github-contributors-list":"^2.0.2","@size-limit/file":"^11.1.6","@stackblitz/sdk":"^1.11.0","@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.6.2","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/adm-zip":"^0.5.5","@types/ali-oss":"^6.16.11","@types/cli-progress":"^3.11.6","@types/fs-extra":"^11.0.4","@types/gtag.js":"^0.0.20","@types/http-server":"^0.12.4","@types/isomorphic-fetch":"^0.0.39","@types/jest":"^29.5.13","@types/jest-axe":"^3.5.9","@types/jest-environment-puppeteer":"^5.0.6","@types/jest-image-snapshot":"^6.4.0","@types/jquery":"^3.5.31","@types/jsdom":"^21.1.7","@types/lodash":"^4.17.12","@types/minimist":"^1.2.5","@types/node":"^22.7.7","@types/nprogress":"^0.2.3","@types/pixelmatch":"^5.2.6","@types/pngjs":"^6.0.5","@types/prismjs":"^1.26.4","@types/progress":"^2.0.7","@types/qs":"^6.9.16","@types/react":"^18.3.11","@types/react-copy-to-clipboard":"^5.0.7","@types/react-dom":"^18.3.1","@types/react-highlight-words":"^0.20.0","@types/react-resizable":"^3.0.8","@types/semver":"^7.5.8","@types/spinnies":"^0.5.3","@types/tar":"^6.1.13","@types/throttle-debounce":"^5.0.2","@types/warning":"^3.0.3","adm-zip":"^0.5.16","ali-oss":"^6.21.0","antd-img-crop":"^4.23.0","antd-style":"^3.7.0","antd-token-previewer":"^2.0.8",axios:"^1.7.7",chalk:"^4.1.2",cheerio:"^1.0.0","circular-dependency-plugin":"^5.2.2","cli-progress":"^3.12.0","cross-env":"^7.0.3","cross-fetch":"^4.0.0",dekko:"^0.2.1",dotenv:"^16.4.5",dumi:"~2.4.13","dumi-plugin-color-chunk":"^1.1.2",eslint:"^9.13.0","eslint-plugin-compat":"^6.0.1","eslint-plugin-jest":"^28.8.3","eslint-plugin-jsx-a11y":"^6.10.0","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-react-refresh":"^0.4.13","fast-glob":"^3.3.2","fetch-jsonp":"^1.3.0","fs-extra":"^11.2.0","gh-pages":"^6.2.0",glob:"^11.0.0",html2sketch:"^1.0.2","http-server":"^14.1.1",husky:"^9.1.6","identity-obj-proxy":"^3.0.0",immer:"^10.1.1","is-ci":"^3.0.1","isomorphic-fetch":"^3.0.0",jest:"^29.7.0","jest-axe":"^9.0.0","jest-canvas-mock":"^2.5.2","jest-environment-jsdom":"^29.7.0","jest-environment-node":"^29.7.0","jest-image-snapshot":"^6.4.0","jest-puppeteer":"^10.1.2",jquery:"^3.7.1",jsdom:"^25.0.1","jsonml-to-react-element":"^1.1.11","jsonml.js":"^0.1.0","lint-staged":"^15.2.10",lodash:"^4.17.21","lunar-typescript":"^1.7.5","lz-string":"^1.5.0",minimist:"^1.2.8",mockdate:"^3.0.5","node-fetch":"^3.3.2","node-notifier":"^10.0.1",nprogress:"^0.2.0",open:"^10.1.0",ora:"^8.1.0","p-all":"^5.0.0",pixelmatch:"^6.0.0",pngjs:"^7.0.0",prettier:"^3.3.3","pretty-format":"^29.7.0",prismjs:"^1.29.0",puppeteer:"^23.6.0",qs:"^6.13.0","rc-footer":"^0.6.8","rc-tween-one":"^3.0.6","rc-virtual-list":"^3.15.0",react:"^18.3.1","react-copy-to-clipboard":"^5.1.0","react-countup":"^6.5.3","react-dom":"^18.3.1","react-draggable":"^4.4.6","react-fast-marquee":"^1.6.5","react-highlight-words":"^0.20.0","react-infinite-scroll-component":"^6.1.0","react-intersection-observer":"^9.13.1","react-resizable":"^3.0.5","react-router-dom":"^6.27.0","react-sticky-box":"^2.0.5","regenerator-runtime":"^0.14.1","rehype-stringify":"^10.0.1",remark:"^15.0.1","remark-cli":"^12.0.1","remark-gfm":"^4.0.0","remark-lint":"^10.0.0","remark-lint-no-undefined-references":"^5.0.0","remark-preset-lint-recommended":"^7.0.0","remark-rehype":"^11.1.1",rimraf:"^6.0.1",runes2:"^1.1.4",semver:"^7.6.3",sharp:"^0.33.5","simple-git":"^3.27.0","size-limit":"^11.1.6",spinnies:"^0.5.1",sylvanas:"^0.6.1",tar:"^7.4.3","tar-fs":"^3.0.6",terser:"^5.36.0",tsx:"4.11.2",typedoc:"^0.26.10",typescript:"~5.6.3","vanilla-jsoneditor":"^2.0.0","vanilla-tilt":"^1.8.1",webpack:"^5.95.0","webpack-bundle-analyzer":"^4.10.2","xhr-mock":"^2.5.1","@ant-design/colors":"^7.1.0","@ant-design/cssinjs":"^1.21.1","@ant-design/cssinjs-utils":"^1.1.1","@ant-design/icons":"^5.5.1","@ant-design/react-slick":"~1.1.2","@babel/runtime":"^7.25.7","@ctrl/tinycolor":"^3.6.1","@rc-component/color-picker":"~2.0.1","@rc-component/mutate-observer":"^1.1.0","@rc-component/qrcode":"~1.0.0","@rc-component/tour":"~1.15.1","@rc-component/trigger":"^2.2.5",classnames:"^2.5.1","copy-to-clipboard":"^3.3.3",dayjs:"^1.11.11","rc-cascader":"~3.30.0","rc-checkbox":"~3.3.0","rc-collapse":"~3.9.0","rc-dialog":"~9.6.0","rc-drawer":"~7.2.0","rc-dropdown":"~4.2.0","rc-field-form":"~2.5.1","rc-image":"~7.11.0","rc-input":"~1.6.3","rc-input-number":"~9.3.0","rc-mentions":"~2.17.0","rc-menu":"~9.16.0","rc-motion":"^2.9.3","rc-notification":"~5.6.2","rc-pagination":"~4.3.0","rc-picker":"~4.8.1","rc-progress":"~4.0.0","rc-rate":"~2.13.0","rc-resize-observer":"^1.4.0","rc-segmented":"~2.5.0","rc-select":"~14.16.3","rc-slider":"~11.1.7","rc-steps":"~6.0.1","rc-switch":"~4.1.0","rc-table":"~7.48.1","rc-tabs":"~15.4.0","rc-textarea":"~1.8.2","rc-tooltip":"~6.2.1","rc-tree":"~5.10.1","rc-tree-select":"~5.24.4","rc-upload":"~4.8.1","rc-util":"^5.43.0","scroll-into-view-if-needed":"^3.1.0","throttle-debounce":"^5.0.2"},jsx:'import React from \'react\';\nimport {\n Button,\n ColorPicker,\n ConfigProvider,\n Divider,\n Form,\n Input,\n InputNumber,\n Space,\n Switch,\n} from \'antd\';\nconst defaultData = {\n borderRadius: 6,\n colorPrimary: \'#1677ff\',\n Button: {\n colorPrimary: \'#00B96B\',\n },\n};\nexport default () => {\n const [form] = Form.useForm();\n const [data, setData] = React.useState(defaultData);\n return (\n <div>\n <ConfigProvider\n theme={{\n token: {\n colorPrimary: data.colorPrimary,\n borderRadius: data.borderRadius,\n },\n components: {\n Button: {\n colorPrimary: data.Button?.colorPrimary,\n algorithm: data.Button?.algorithm,\n },\n },\n }}\n >\n <Space>\n <Input />\n <Button type="primary">Button</Button>\n </Space>\n </ConfigProvider>\n <Divider />\n <Form\n form={form}\n onValuesChange={(_, allValues) => {\n setData({\n ...allValues,\n });\n }}\n name="theme"\n initialValues={defaultData}\n labelCol={{\n span: 4,\n }}\n wrapperCol={{\n span: 20,\n }}\n >\n <Form.Item\n name="colorPrimary"\n label="Primary Color"\n trigger="onChangeComplete"\n getValueFromEvent={(color) => color.toHexString()}\n >\n <ColorPicker />\n </Form.Item>\n <Form.Item name="borderRadius" label="Border Radius">\n <InputNumber />\n </Form.Item>\n <Form.Item label="Button">\n <Form.Item name={[\'Button\', \'algorithm\']} valuePropName="checked" label="algorithm">\n <Switch />\n </Form.Item>\n <Form.Item\n name={[\'Button\', \'colorPrimary\']}\n label="Primary Color"\n trigger="onChangeComplete"\n getValueFromEvent={(color) => color.toHexString()}\n >\n <ColorPicker />\n </Form.Item>\n </Form.Item>\n <Form.Item\n name="submit"\n wrapperCol={{\n offset: 4,\n span: 20,\n }}\n >\n <Button type="primary">Submit</Button>\n </Form.Item>\n </Form>\n </div>\n );\n};\n',description:"<p>Modify theme by <code>theme</code> prop.</p>"}},{demo:{id:"config-provider-demo-wave"},previewerProps:{title:"Custom Wave",filename:"components/config-provider/demo/wave.tsx",pkgDependencyList:{"@ant-design/compatible":"^5.1.3","@ant-design/happy-work-theme":"^1.0.0","@ant-design/tools":"^18.0.2","@antfu/eslint-config":"^3.8.0","@antv/g6":"^4.8.24","@biomejs/biome":"^1.9.4","@codecov/webpack-plugin":"^1.2.1","@codesandbox/sandpack-react":"^2.19.9","@dnd-kit/core":"^6.1.0","@dnd-kit/modifiers":"^7.0.0","@dnd-kit/sortable":"^8.0.0","@dnd-kit/utilities":"^3.2.2","@emotion/css":"^11.13.4","@emotion/react":"^11.13.3","@emotion/server":"^11.11.0","@eslint-react/eslint-plugin":"^1.15.0","@ianvs/prettier-plugin-sort-imports":"^4.3.1","@inquirer/prompts":"^7.0.0","@madccc/duplicate-package-checker-webpack-plugin":"^1.0.0","@microflash/rehype-figure":"^2.1.1","@npmcli/run-script":"^9.0.1","@octokit/rest":"^21.0.2","@qixian.cs/github-contributors-list":"^2.0.2","@size-limit/file":"^11.1.6","@stackblitz/sdk":"^1.11.0","@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.6.2","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/adm-zip":"^0.5.5","@types/ali-oss":"^6.16.11","@types/cli-progress":"^3.11.6","@types/fs-extra":"^11.0.4","@types/gtag.js":"^0.0.20","@types/http-server":"^0.12.4","@types/isomorphic-fetch":"^0.0.39","@types/jest":"^29.5.13","@types/jest-axe":"^3.5.9","@types/jest-environment-puppeteer":"^5.0.6","@types/jest-image-snapshot":"^6.4.0","@types/jquery":"^3.5.31","@types/jsdom":"^21.1.7","@types/lodash":"^4.17.12","@types/minimist":"^1.2.5","@types/node":"^22.7.7","@types/nprogress":"^0.2.3","@types/pixelmatch":"^5.2.6","@types/pngjs":"^6.0.5","@types/prismjs":"^1.26.4","@types/progress":"^2.0.7","@types/qs":"^6.9.16","@types/react":"^18.3.11","@types/react-copy-to-clipboard":"^5.0.7","@types/react-dom":"^18.3.1","@types/react-highlight-words":"^0.20.0","@types/react-resizable":"^3.0.8","@types/semver":"^7.5.8","@types/spinnies":"^0.5.3","@types/tar":"^6.1.13","@types/throttle-debounce":"^5.0.2","@types/warning":"^3.0.3","adm-zip":"^0.5.16","ali-oss":"^6.21.0","antd-img-crop":"^4.23.0","antd-style":"^3.7.0","antd-token-previewer":"^2.0.8",axios:"^1.7.7",chalk:"^4.1.2",cheerio:"^1.0.0","circular-dependency-plugin":"^5.2.2","cli-progress":"^3.12.0","cross-env":"^7.0.3","cross-fetch":"^4.0.0",dekko:"^0.2.1",dotenv:"^16.4.5",dumi:"~2.4.13","dumi-plugin-color-chunk":"^1.1.2",eslint:"^9.13.0","eslint-plugin-compat":"^6.0.1","eslint-plugin-jest":"^28.8.3","eslint-plugin-jsx-a11y":"^6.10.0","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-react-refresh":"^0.4.13","fast-glob":"^3.3.2","fetch-jsonp":"^1.3.0","fs-extra":"^11.2.0","gh-pages":"^6.2.0",glob:"^11.0.0",html2sketch:"^1.0.2","http-server":"^14.1.1",husky:"^9.1.6","identity-obj-proxy":"^3.0.0",immer:"^10.1.1","is-ci":"^3.0.1","isomorphic-fetch":"^3.0.0",jest:"^29.7.0","jest-axe":"^9.0.0","jest-canvas-mock":"^2.5.2","jest-environment-jsdom":"^29.7.0","jest-environment-node":"^29.7.0","jest-image-snapshot":"^6.4.0","jest-puppeteer":"^10.1.2",jquery:"^3.7.1",jsdom:"^25.0.1","jsonml-to-react-element":"^1.1.11","jsonml.js":"^0.1.0","lint-staged":"^15.2.10",lodash:"^4.17.21","lunar-typescript":"^1.7.5","lz-string":"^1.5.0",minimist:"^1.2.8",mockdate:"^3.0.5","node-fetch":"^3.3.2","node-notifier":"^10.0.1",nprogress:"^0.2.0",open:"^10.1.0",ora:"^8.1.0","p-all":"^5.0.0",pixelmatch:"^6.0.0",pngjs:"^7.0.0",prettier:"^3.3.3","pretty-format":"^29.7.0",prismjs:"^1.29.0",puppeteer:"^23.6.0",qs:"^6.13.0","rc-footer":"^0.6.8","rc-tween-one":"^3.0.6","rc-virtual-list":"^3.15.0",react:"^18.3.1","react-copy-to-clipboard":"^5.1.0","react-countup":"^6.5.3","react-dom":"^18.3.1","react-draggable":"^4.4.6","react-fast-marquee":"^1.6.5","react-highlight-words":"^0.20.0","react-infinite-scroll-component":"^6.1.0","react-intersection-observer":"^9.13.1","react-resizable":"^3.0.5","react-router-dom":"^6.27.0","react-sticky-box":"^2.0.5","regenerator-runtime":"^0.14.1","rehype-stringify":"^10.0.1",remark:"^15.0.1","remark-cli":"^12.0.1","remark-gfm":"^4.0.0","remark-lint":"^10.0.0","remark-lint-no-undefined-references":"^5.0.0","remark-preset-lint-recommended":"^7.0.0","remark-rehype":"^11.1.1",rimraf:"^6.0.1",runes2:"^1.1.4",semver:"^7.6.3",sharp:"^0.33.5","simple-git":"^3.27.0","size-limit":"^11.1.6",spinnies:"^0.5.1",sylvanas:"^0.6.1",tar:"^7.4.3","tar-fs":"^3.0.6",terser:"^5.36.0",tsx:"4.11.2",typedoc:"^0.26.10",typescript:"~5.6.3","vanilla-jsoneditor":"^2.0.0","vanilla-tilt":"^1.8.1",webpack:"^5.95.0","webpack-bundle-analyzer":"^4.10.2","xhr-mock":"^2.5.1","@ant-design/colors":"^7.1.0","@ant-design/cssinjs":"^1.21.1","@ant-design/cssinjs-utils":"^1.1.1","@ant-design/icons":"^5.5.1","@ant-design/react-slick":"~1.1.2","@babel/runtime":"^7.25.7","@ctrl/tinycolor":"^3.6.1","@rc-component/color-picker":"~2.0.1","@rc-component/mutate-observer":"^1.1.0","@rc-component/qrcode":"~1.0.0","@rc-component/tour":"~1.15.1","@rc-component/trigger":"^2.2.5",classnames:"^2.5.1","copy-to-clipboard":"^3.3.3",dayjs:"^1.11.11","rc-cascader":"~3.30.0","rc-checkbox":"~3.3.0","rc-collapse":"~3.9.0","rc-dialog":"~9.6.0","rc-drawer":"~7.2.0","rc-dropdown":"~4.2.0","rc-field-form":"~2.5.1","rc-image":"~7.11.0","rc-input":"~1.6.3","rc-input-number":"~9.3.0","rc-mentions":"~2.17.0","rc-menu":"~9.16.0","rc-motion":"^2.9.3","rc-notification":"~5.6.2","rc-pagination":"~4.3.0","rc-picker":"~4.8.1","rc-progress":"~4.0.0","rc-rate":"~2.13.0","rc-resize-observer":"^1.4.0","rc-segmented":"~2.5.0","rc-select":"~14.16.3","rc-slider":"~11.1.7","rc-steps":"~6.0.1","rc-switch":"~4.1.0","rc-table":"~7.48.1","rc-tabs":"~15.4.0","rc-textarea":"~1.8.2","rc-tooltip":"~6.2.1","rc-tree":"~5.10.1","rc-tree-select":"~5.24.4","rc-upload":"~4.8.1","rc-util":"^5.43.0","scroll-into-view-if-needed":"^3.1.0","throttle-debounce":"^5.0.2"},jsx:"import React from 'react';\nimport { HappyProvider } from '@ant-design/happy-work-theme';\nimport { Button, ConfigProvider, Space } from 'antd';\n// Prepare effect holder\nconst createHolder = (node) => {\n const { borderWidth } = getComputedStyle(node);\n const borderWidthNum = parseInt(borderWidth, 10);\n const div = document.createElement('div');\n div.style.position = 'absolute';\n div.style.inset = `-${borderWidthNum}px`;\n div.style.borderRadius = 'inherit';\n div.style.background = 'transparent';\n div.style.zIndex = '999';\n div.style.pointerEvents = 'none';\n div.style.overflow = 'hidden';\n node.appendChild(div);\n return div;\n};\nconst createDot = (holder, color, left, top, size = 0) => {\n const dot = document.createElement('div');\n dot.style.position = 'absolute';\n dot.style.left = `${left}px`;\n dot.style.top = `${top}px`;\n dot.style.width = `${size}px`;\n dot.style.height = `${size}px`;\n dot.style.borderRadius = '50%';\n dot.style.background = color;\n dot.style.transform = 'translate(-50%, -50%)';\n dot.style.transition = 'all 1s ease-out';\n holder.appendChild(dot);\n return dot;\n};\n\n// Inset Effect\nconst showInsetEffect = (node, { event, component }) => {\n if (component !== 'Button') {\n return;\n }\n const holder = createHolder(node);\n const rect = holder.getBoundingClientRect();\n const left = event.clientX - rect.left;\n const top = event.clientY - rect.top;\n const dot = createDot(holder, 'rgba(255, 255, 255, 0.65)', left, top);\n\n // Motion\n requestAnimationFrame(() => {\n dot.ontransitionend = () => {\n holder.remove();\n };\n dot.style.width = '200px';\n dot.style.height = '200px';\n dot.style.opacity = '0';\n });\n};\n\n// Shake Effect\nconst showShakeEffect = (node, { component }) => {\n if (component !== 'Button') {\n return;\n }\n const seq = [0, -15, 15, -5, 5, 0];\n const itv = 10;\n let steps = 0;\n function loop() {\n cancelAnimationFrame(node.effectTimeout);\n node.effectTimeout = requestAnimationFrame(() => {\n const currentStep = Math.floor(steps / itv);\n const current = seq[currentStep];\n const next = seq[currentStep + 1];\n if (!next) {\n node.style.transform = '';\n node.style.transition = '';\n return;\n }\n\n // Trans from current to next by itv\n const angle = current + ((next - current) / itv) * (steps % itv);\n node.style.transform = `rotate(${angle}deg)`;\n node.style.transition = 'none';\n steps += 1;\n loop();\n });\n }\n loop();\n};\n\n// Component\nconst Wrapper = ({ name, ...wave }) => (\n <ConfigProvider wave={wave}>\n <Button type=\"primary\">{name}</Button>\n </ConfigProvider>\n);\nconst App = () => (\n <Space\n style={{\n padding: 24,\n }}\n size=\"large\"\n >\n <Wrapper name=\"Disabled\" disabled />\n <Wrapper name=\"Default\" />\n <Wrapper name=\"Inset\" showEffect={showInsetEffect} />\n <Wrapper name=\"Shake\" showEffect={showShakeEffect} />\n <HappyProvider>\n <Button type=\"primary\">Happy Work</Button>\n </HappyProvider>\n </Space>\n);\nexport default App;\n",description:'<p>Wave effect brings dynamic. Use <code>component</code> to determine which component use it. You can also use HappyProvider from <a href="https://github.com/ant-design/happy-work-theme"><code>@ant-design/happy-work-theme</code></a> to implement dynamic wave effect.</p>'}},{demo:{id:"config-provider-demo-holderrender"},previewerProps:{title:"Static function",filename:"components/config-provider/demo/holderRender.tsx",pkgDependencyList:{"@ant-design/compatible":"^5.1.3","@ant-design/happy-work-theme":"^1.0.0","@ant-design/tools":"^18.0.2","@antfu/eslint-config":"^3.8.0","@antv/g6":"^4.8.24","@biomejs/biome":"^1.9.4","@codecov/webpack-plugin":"^1.2.1","@codesandbox/sandpack-react":"^2.19.9","@dnd-kit/core":"^6.1.0","@dnd-kit/modifiers":"^7.0.0","@dnd-kit/sortable":"^8.0.0","@dnd-kit/utilities":"^3.2.2","@emotion/css":"^11.13.4","@emotion/react":"^11.13.3","@emotion/server":"^11.11.0","@eslint-react/eslint-plugin":"^1.15.0","@ianvs/prettier-plugin-sort-imports":"^4.3.1","@inquirer/prompts":"^7.0.0","@madccc/duplicate-package-checker-webpack-plugin":"^1.0.0","@microflash/rehype-figure":"^2.1.1","@npmcli/run-script":"^9.0.1","@octokit/rest":"^21.0.2","@qixian.cs/github-contributors-list":"^2.0.2","@size-limit/file":"^11.1.6","@stackblitz/sdk":"^1.11.0","@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.6.2","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/adm-zip":"^0.5.5","@types/ali-oss":"^6.16.11","@types/cli-progress":"^3.11.6","@types/fs-extra":"^11.0.4","@types/gtag.js":"^0.0.20","@types/http-server":"^0.12.4","@types/isomorphic-fetch":"^0.0.39","@types/jest":"^29.5.13","@types/jest-axe":"^3.5.9","@types/jest-environment-puppeteer":"^5.0.6","@types/jest-image-snapshot":"^6.4.0","@types/jquery":"^3.5.31","@types/jsdom":"^21.1.7","@types/lodash":"^4.17.12","@types/minimist":"^1.2.5","@types/node":"^22.7.7","@types/nprogress":"^0.2.3","@types/pixelmatch":"^5.2.6","@types/pngjs":"^6.0.5","@types/prismjs":"^1.26.4","@types/progress":"^2.0.7","@types/qs":"^6.9.16","@types/react":"^18.3.11","@types/react-copy-to-clipboard":"^5.0.7","@types/react-dom":"^18.3.1","@types/react-highlight-words":"^0.20.0","@types/react-resizable":"^3.0.8","@types/semver":"^7.5.8","@types/spinnies":"^0.5.3","@types/tar":"^6.1.13","@types/throttle-debounce":"^5.0.2","@types/warning":"^3.0.3","adm-zip":"^0.5.16","ali-oss":"^6.21.0","antd-img-crop":"^4.23.0","antd-style":"^3.7.0","antd-token-previewer":"^2.0.8",axios:"^1.7.7",chalk:"^4.1.2",cheerio:"^1.0.0","circular-dependency-plugin":"^5.2.2","cli-progress":"^3.12.0","cross-env":"^7.0.3","cross-fetch":"^4.0.0",dekko:"^0.2.1",dotenv:"^16.4.5",dumi:"~2.4.13","dumi-plugin-color-chunk":"^1.1.2",eslint:"^9.13.0","eslint-plugin-compat":"^6.0.1","eslint-plugin-jest":"^28.8.3","eslint-plugin-jsx-a11y":"^6.10.0","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-react-refresh":"^0.4.13","fast-glob":"^3.3.2","fetch-jsonp":"^1.3.0","fs-extra":"^11.2.0","gh-pages":"^6.2.0",glob:"^11.0.0",html2sketch:"^1.0.2","http-server":"^14.1.1",husky:"^9.1.6","identity-obj-proxy":"^3.0.0",immer:"^10.1.1","is-ci":"^3.0.1","isomorphic-fetch":"^3.0.0",jest:"^29.7.0","jest-axe":"^9.0.0","jest-canvas-mock":"^2.5.2","jest-environment-jsdom":"^29.7.0","jest-environment-node":"^29.7.0","jest-image-snapshot":"^6.4.0","jest-puppeteer":"^10.1.2",jquery:"^3.7.1",jsdom:"^25.0.1","jsonml-to-react-element":"^1.1.11","jsonml.js":"^0.1.0","lint-staged":"^15.2.10",lodash:"^4.17.21","lunar-typescript":"^1.7.5","lz-string":"^1.5.0",minimist:"^1.2.8",mockdate:"^3.0.5","node-fetch":"^3.3.2","node-notifier":"^10.0.1",nprogress:"^0.2.0",open:"^10.1.0",ora:"^8.1.0","p-all":"^5.0.0",pixelmatch:"^6.0.0",pngjs:"^7.0.0",prettier:"^3.3.3","pretty-format":"^29.7.0",prismjs:"^1.29.0",puppeteer:"^23.6.0",qs:"^6.13.0","rc-footer":"^0.6.8","rc-tween-one":"^3.0.6","rc-virtual-list":"^3.15.0",react:"^18.3.1","react-copy-to-clipboard":"^5.1.0","react-countup":"^6.5.3","react-dom":"^18.3.1","react-draggable":"^4.4.6","react-fast-marquee":"^1.6.5","react-highlight-words":"^0.20.0","react-infinite-scroll-component":"^6.1.0","react-intersection-observer":"^9.13.1","react-resizable":"^3.0.5","react-router-dom":"^6.27.0","react-sticky-box":"^2.0.5","regenerator-runtime":"^0.14.1","rehype-stringify":"^10.0.1",remark:"^15.0.1","remark-cli":"^12.0.1","remark-gfm":"^4.0.0","remark-lint":"^10.0.0","remark-lint-no-undefined-references":"^5.0.0","remark-preset-lint-recommended":"^7.0.0","remark-rehype":"^11.1.1",rimraf:"^6.0.1",runes2:"^1.1.4",semver:"^7.6.3",sharp:"^0.33.5","simple-git":"^3.27.0","size-limit":"^11.1.6",spinnies:"^0.5.1",sylvanas:"^0.6.1",tar:"^7.4.3","tar-fs":"^3.0.6",terser:"^5.36.0",tsx:"4.11.2",typedoc:"^0.26.10",typescript:"~5.6.3","vanilla-jsoneditor":"^2.0.0","vanilla-tilt":"^1.8.1",webpack:"^5.95.0","webpack-bundle-analyzer":"^4.10.2","xhr-mock":"^2.5.1","@ant-design/colors":"^7.1.0","@ant-design/cssinjs":"^1.21.1","@ant-design/cssinjs-utils":"^1.1.1","@ant-design/icons":"^5.5.1","@ant-design/react-slick":"~1.1.2","@babel/runtime":"^7.25.7","@ctrl/tinycolor":"^3.6.1","@rc-component/color-picker":"~2.0.1","@rc-component/mutate-observer":"^1.1.0","@rc-component/qrcode":"~1.0.0","@rc-component/tour":"~1.15.1","@rc-component/trigger":"^2.2.5",classnames:"^2.5.1","copy-to-clipboard":"^3.3.3",dayjs:"^1.11.11","rc-cascader":"~3.30.0","rc-checkbox":"~3.3.0","rc-collapse":"~3.9.0","rc-dialog":"~9.6.0","rc-drawer":"~7.2.0","rc-dropdown":"~4.2.0","rc-field-form":"~2.5.1","rc-image":"~7.11.0","rc-input":"~1.6.3","rc-input-number":"~9.3.0","rc-mentions":"~2.17.0","rc-menu":"~9.16.0","rc-motion":"^2.9.3","rc-notification":"~5.6.2","rc-pagination":"~4.3.0","rc-picker":"~4.8.1","rc-progress":"~4.0.0","rc-rate":"~2.13.0","rc-resize-observer":"^1.4.0","rc-segmented":"~2.5.0","rc-select":"~14.16.3","rc-slider":"~11.1.7","rc-steps":"~6.0.1","rc-switch":"~4.1.0","rc-table":"~7.48.1","rc-tabs":"~15.4.0","rc-textarea":"~1.8.2","rc-tooltip":"~6.2.1","rc-tree":"~5.10.1","rc-tree-select":"~5.24.4","rc-upload":"~4.8.1","rc-util":"^5.43.0","scroll-into-view-if-needed":"^3.1.0","throttle-debounce":"^5.0.2"},jsx:"import React, { useContext, useLayoutEffect } from 'react';\nimport { StyleProvider } from '@ant-design/cssinjs';\nimport { ExclamationCircleFilled } from '@ant-design/icons';\nimport { App, Button, ConfigProvider, message, Modal, notification, Space } from 'antd';\nconst Demo = () => {\n const { locale, theme } = useContext(ConfigProvider.ConfigContext);\n useLayoutEffect(() => {\n ConfigProvider.config({\n holderRender: (children) => (\n <StyleProvider hashPriority=\"high\">\n <ConfigProvider prefixCls=\"static\" iconPrefixCls=\"icon\" locale={locale} theme={theme}>\n <App\n message={{\n maxCount: 1,\n }}\n notification={{\n maxCount: 1,\n }}\n >\n {children}\n </App>\n </ConfigProvider>\n </StyleProvider>\n ),\n });\n }, [locale, theme]);\n return (\n <div>\n <Space>\n <Button\n type=\"primary\"\n onClick={() => {\n message.info('This is a normal message');\n }}\n >\n message\n </Button>\n <Button\n type=\"primary\"\n onClick={() => {\n notification.open({\n message: 'Notification Title',\n description:\n 'This is the content of the notification. This is the content of the notification. This is the content of the notification.',\n });\n }}\n >\n notification\n </Button>\n <Button\n type=\"primary\"\n onClick={() => {\n Modal.confirm({\n title: 'Do you want to delete these items?',\n icon: <ExclamationCircleFilled />,\n content: 'Some descriptions',\n });\n }}\n >\n Modal\n </Button>\n </Space>\n </div>\n );\n};\nexport default Demo;\n",description:"<p>Use <code>holderRender</code> to set the <code>Provider</code> for the static methods <code>message</code> \u3001<code>modal</code> \u3001<code>notification</code>.</p>"}},{demo:{id:"config-provider-demo-prefixcls"},previewerProps:{debug:!0,title:"prefixCls",filename:"components/config-provider/demo/prefixCls.tsx",pkgDependencyList:{"@ant-design/compatible":"^5.1.3","@ant-design/happy-work-theme":"^1.0.0","@ant-design/tools":"^18.0.2","@antfu/eslint-config":"^3.8.0","@antv/g6":"^4.8.24","@biomejs/biome":"^1.9.4","@codecov/webpack-plugin":"^1.2.1","@codesandbox/sandpack-react":"^2.19.9","@dnd-kit/core":"^6.1.0","@dnd-kit/modifiers":"^7.0.0","@dnd-kit/sortable":"^8.0.0","@dnd-kit/utilities":"^3.2.2","@emotion/css":"^11.13.4","@emotion/react":"^11.13.3","@emotion/server":"^11.11.0","@eslint-react/eslint-plugin":"^1.15.0","@ianvs/prettier-plugin-sort-imports":"^4.3.1","@inquirer/prompts":"^7.0.0","@madccc/duplicate-package-checker-webpack-plugin":"^1.0.0","@microflash/rehype-figure":"^2.1.1","@npmcli/run-script":"^9.0.1","@octokit/rest":"^21.0.2","@qixian.cs/github-contributors-list":"^2.0.2","@size-limit/file":"^11.1.6","@stackblitz/sdk":"^1.11.0","@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.6.2","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/adm-zip":"^0.5.5","@types/ali-oss":"^6.16.11","@types/cli-progress":"^3.11.6","@types/fs-extra":"^11.0.4","@types/gtag.js":"^0.0.20","@types/http-server":"^0.12.4","@types/isomorphic-fetch":"^0.0.39","@types/jest":"^29.5.13","@types/jest-axe":"^3.5.9","@types/jest-environment-puppeteer":"^5.0.6","@types/jest-image-snapshot":"^6.4.0","@types/jquery":"^3.5.31","@types/jsdom":"^21.1.7","@types/lodash":"^4.17.12","@types/minimist":"^1.2.5","@types/node":"^22.7.7","@types/nprogress":"^0.2.3","@types/pixelmatch":"^5.2.6","@types/pngjs":"^6.0.5","@types/prismjs":"^1.26.4","@types/progress":"^2.0.7","@types/qs":"^6.9.16","@types/react":"^18.3.11","@types/react-copy-to-clipboard":"^5.0.7","@types/react-dom":"^18.3.1","@types/react-highlight-words":"^0.20.0","@types/react-resizable":"^3.0.8","@types/semver":"^7.5.8","@types/spinnies":"^0.5.3","@types/tar":"^6.1.13","@types/throttle-debounce":"^5.0.2","@types/warning":"^3.0.3","adm-zip":"^0.5.16","ali-oss":"^6.21.0","antd-img-crop":"^4.23.0","antd-style":"^3.7.0","antd-token-previewer":"^2.0.8",axios:"^1.7.7",chalk:"^4.1.2",cheerio:"^1.0.0","circular-dependency-plugin":"^5.2.2","cli-progress":"^3.12.0","cross-env":"^7.0.3","cross-fetch":"^4.0.0",dekko:"^0.2.1",dotenv:"^16.4.5",dumi:"~2.4.13","dumi-plugin-color-chunk":"^1.1.2",eslint:"^9.13.0","eslint-plugin-compat":"^6.0.1","eslint-plugin-jest":"^28.8.3","eslint-plugin-jsx-a11y":"^6.10.0","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-react-refresh":"^0.4.13","fast-glob":"^3.3.2","fetch-jsonp":"^1.3.0","fs-extra":"^11.2.0","gh-pages":"^6.2.0",glob:"^11.0.0",html2sketch:"^1.0.2","http-server":"^14.1.1",husky:"^9.1.6","identity-obj-proxy":"^3.0.0",immer:"^10.1.1","is-ci":"^3.0.1","isomorphic-fetch":"^3.0.0",jest:"^29.7.0","jest-axe":"^9.0.0","jest-canvas-mock":"^2.5.2","jest-environment-jsdom":"^29.7.0","jest-environment-node":"^29.7.0","jest-image-snapshot":"^6.4.0","jest-puppeteer":"^10.1.2",jquery:"^3.7.1",jsdom:"^25.0.1","jsonml-to-react-element":"^1.1.11","jsonml.js":"^0.1.0","lint-staged":"^15.2.10",lodash:"^4.17.21","lunar-typescript":"^1.7.5","lz-string":"^1.5.0",minimist:"^1.2.8",mockdate:"^3.0.5","node-fetch":"^3.3.2","node-notifier":"^10.0.1",nprogress:"^0.2.0",open:"^10.1.0",ora:"^8.1.0","p-all":"^5.0.0",pixelmatch:"^6.0.0",pngjs:"^7.0.0",prettier:"^3.3.3","pretty-format":"^29.7.0",prismjs:"^1.29.0",puppeteer:"^23.6.0",qs:"^6.13.0","rc-footer":"^0.6.8","rc-tween-one":"^3.0.6","rc-virtual-list":"^3.15.0",react:"^18.3.1","react-copy-to-clipboard":"^5.1.0","react-countup":"^6.5.3","react-dom":"^18.3.1","react-draggable":"^4.4.6","react-fast-marquee":"^1.6.5","react-highlight-words":"^0.20.0","react-infinite-scroll-component":"^6.1.0","react-intersection-observer":"^9.13.1","react-resizable":"^3.0.5","react-router-dom":"^6.27.0","react-sticky-box":"^2.0.5","regenerator-runtime":"^0.14.1","rehype-stringify":"^10.0.1",remark:"^15.0.1","remark-cli":"^12.0.1","remark-gfm":"^4.0.0","remark-lint":"^10.0.0","remark-lint-no-undefined-references":"^5.0.0","remark-preset-lint-recommended":"^7.0.0","remark-rehype":"^11.1.1",rimraf:"^6.0.1",runes2:"^1.1.4",semver:"^7.6.3",sharp:"^0.33.5","simple-git":"^3.27.0","size-limit":"^11.1.6",spinnies:"^0.5.1",sylvanas:"^0.6.1",tar:"^7.4.3","tar-fs":"^3.0.6",terser:"^5.36.0",tsx:"4.11.2",typedoc:"^0.26.10",typescript:"~5.6.3","vanilla-jsoneditor":"^2.0.0","vanilla-tilt":"^1.8.1",webpack:"^5.95.0","webpack-bundle-analyzer":"^4.10.2","xhr-mock":"^2.5.1","@ant-design/colors":"^7.1.0","@ant-design/cssinjs":"^1.21.1","@ant-design/cssinjs-utils":"^1.1.1","@ant-design/icons":"^5.5.1","@ant-design/react-slick":"~1.1.2","@babel/runtime":"^7.25.7","@ctrl/tinycolor":"^3.6.1","@rc-component/color-picker":"~2.0.1","@rc-component/mutate-observer":"^1.1.0","@rc-component/qrcode":"~1.0.0","@rc-component/tour":"~1.15.1","@rc-component/trigger":"^2.2.5",classnames:"^2.5.1","copy-to-clipboard":"^3.3.3",dayjs:"^1.11.11","rc-cascader":"~3.30.0","rc-checkbox":"~3.3.0","rc-collapse":"~3.9.0","rc-dialog":"~9.6.0","rc-drawer":"~7.2.0","rc-dropdown":"~4.2.0","rc-field-form":"~2.5.1","rc-image":"~7.11.0","rc-input":"~1.6.3","rc-input-number":"~9.3.0","rc-mentions":"~2.17.0","rc-menu":"~9.16.0","rc-motion":"^2.9.3","rc-notification":"~5.6.2","rc-pagination":"~4.3.0","rc-picker":"~4.8.1","rc-progress":"~4.0.0","rc-rate":"~2.13.0","rc-resize-observer":"^1.4.0","rc-segmented":"~2.5.0","rc-select":"~14.16.3","rc-slider":"~11.1.7","rc-steps":"~6.0.1","rc-switch":"~4.1.0","rc-table":"~7.48.1","rc-tabs":"~15.4.0","rc-textarea":"~1.8.2","rc-tooltip":"~6.2.1","rc-tree":"~5.10.1","rc-tree-select":"~5.24.4","rc-upload":"~4.8.1","rc-util":"^5.43.0","scroll-into-view-if-needed":"^3.1.0","throttle-debounce":"^5.0.2"},jsx:"import React, { useState } from 'react';\nimport { SmileOutlined } from '@ant-design/icons';\nimport { Button, Checkbox, ConfigProvider, Radio, Select } from 'antd';\n\n// Ant Design site use `es` module for view\n// but do not replace related lib `lib` with `es`\n// which do not show correct in site.\n// We may need do convert in site also.\nconst App = () => {\n const [prefixCls, setPrefixCls] = useState('light');\n return (\n <>\n <Button\n style={{\n marginBottom: 12,\n }}\n type=\"primary\"\n onClick={() => setPrefixCls(prefixCls === 'light' ? 'dark' : 'light')}\n >\n toggle prefixCls\n </Button>\n <br />\n <ConfigProvider prefixCls={prefixCls} iconPrefixCls=\"bamboo\">\n <SmileOutlined />\n <Select\n style={{\n width: 120,\n }}\n />\n <Radio>test</Radio>\n <Checkbox>test</Checkbox>\n </ConfigProvider>\n </>\n );\n};\nexport default App;\n",description:"<p>Config component and icon prefixCls.</p>"}},{demo:{id:"config-provider-demo-useconfig"},previewerProps:{debug:!0,title:"useConfig",filename:"components/config-provider/demo/useConfig.tsx",pkgDependencyList:{"@ant-design/compatible":"^5.1.3","@ant-design/happy-work-theme":"^1.0.0","@ant-design/tools":"^18.0.2","@antfu/eslint-config":"^3.8.0","@antv/g6":"^4.8.24","@biomejs/biome":"^1.9.4","@codecov/webpack-plugin":"^1.2.1","@codesandbox/sandpack-react":"^2.19.9","@dnd-kit/core":"^6.1.0","@dnd-kit/modifiers":"^7.0.0","@dnd-kit/sortable":"^8.0.0","@dnd-kit/utilities":"^3.2.2","@emotion/css":"^11.13.4","@emotion/react":"^11.13.3","@emotion/server":"^11.11.0","@eslint-react/eslint-plugin":"^1.15.0","@ianvs/prettier-plugin-sort-imports":"^4.3.1","@inquirer/prompts":"^7.0.0","@madccc/duplicate-package-checker-webpack-plugin":"^1.0.0","@microflash/rehype-figure":"^2.1.1","@npmcli/run-script":"^9.0.1","@octokit/rest":"^21.0.2","@qixian.cs/github-contributors-list":"^2.0.2","@size-limit/file":"^11.1.6","@stackblitz/sdk":"^1.11.0","@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.6.2","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/adm-zip":"^0.5.5","@types/ali-oss":"^6.16.11","@types/cli-progress":"^3.11.6","@types/fs-extra":"^11.0.4","@types/gtag.js":"^0.0.20","@types/http-server":"^0.12.4","@types/isomorphic-fetch":"^0.0.39","@types/jest":"^29.5.13","@types/jest-axe":"^3.5.9","@types/jest-environment-puppeteer":"^5.0.6","@types/jest-image-snapshot":"^6.4.0","@types/jquery":"^3.5.31","@types/jsdom":"^21.1.7","@types/lodash":"^4.17.12","@types/minimist":"^1.2.5","@types/node":"^22.7.7","@types/nprogress":"^0.2.3","@types/pixelmatch":"^5.2.6","@types/pngjs":"^6.0.5","@types/prismjs":"^1.26.4","@types/progress":"^2.0.7","@types/qs":"^6.9.16","@types/react":"^18.3.11","@types/react-copy-to-clipboard":"^5.0.7","@types/react-dom":"^18.3.1","@types/react-highlight-words":"^0.20.0","@types/react-resizable":"^3.0.8","@types/semver":"^7.5.8","@types/spinnies":"^0.5.3","@types/tar":"^6.1.13","@types/throttle-debounce":"^5.0.2","@types/warning":"^3.0.3","adm-zip":"^0.5.16","ali-oss":"^6.21.0","antd-img-crop":"^4.23.0","antd-style":"^3.7.0","antd-token-previewer":"^2.0.8",axios:"^1.7.7",chalk:"^4.1.2",cheerio:"^1.0.0","circular-dependency-plugin":"^5.2.2","cli-progress":"^3.12.0","cross-env":"^7.0.3","cross-fetch":"^4.0.0",dekko:"^0.2.1",dotenv:"^16.4.5",dumi:"~2.4.13","dumi-plugin-color-chunk":"^1.1.2",eslint:"^9.13.0","eslint-plugin-compat":"^6.0.1","eslint-plugin-jest":"^28.8.3","eslint-plugin-jsx-a11y":"^6.10.0","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-react-refresh":"^0.4.13","fast-glob":"^3.3.2","fetch-jsonp":"^1.3.0","fs-extra":"^11.2.0","gh-pages":"^6.2.0",glob:"^11.0.0",html2sketch:"^1.0.2","http-server":"^14.1.1",husky:"^9.1.6","identity-obj-proxy":"^3.0.0",immer:"^10.1.1","is-ci":"^3.0.1","isomorphic-fetch":"^3.0.0",jest:"^29.7.0","jest-axe":"^9.0.0","jest-canvas-mock":"^2.5.2","jest-environment-jsdom":"^29.7.0","jest-environment-node":"^29.7.0","jest-image-snapshot":"^6.4.0","jest-puppeteer":"^10.1.2",jquery:"^3.7.1",jsdom:"^25.0.1","jsonml-to-react-element":"^1.1.11","jsonml.js":"^0.1.0","lint-staged":"^15.2.10",lodash:"^4.17.21","lunar-typescript":"^1.7.5","lz-string":"^1.5.0",minimist:"^1.2.8",mockdate:"^3.0.5","node-fetch":"^3.3.2","node-notifier":"^10.0.1",nprogress:"^0.2.0",open:"^10.1.0",ora:"^8.1.0","p-all":"^5.0.0",pixelmatch:"^6.0.0",pngjs:"^7.0.0",prettier:"^3.3.3","pretty-format":"^29.7.0",prismjs:"^1.29.0",puppeteer:"^23.6.0",qs:"^6.13.0","rc-footer":"^0.6.8","rc-tween-one":"^3.0.6","rc-virtual-list":"^3.15.0",react:"^18.3.1","react-copy-to-clipboard":"^5.1.0","react-countup":"^6.5.3","react-dom":"^18.3.1","react-draggable":"^4.4.6","react-fast-marquee":"^1.6.5","react-highlight-words":"^0.20.0","react-infinite-scroll-component":"^6.1.0","react-intersection-observer":"^9.13.1","react-resizable":"^3.0.5","react-router-dom":"^6.27.0","react-sticky-box":"^2.0.5","regenerator-runtime":"^0.14.1","rehype-stringify":"^10.0.1",remark:"^15.0.1","remark-cli":"^12.0.1","remark-gfm":"^4.0.0","remark-lint":"^10.0.0","remark-lint-no-undefined-references":"^5.0.0","remark-preset-lint-recommended":"^7.0.0","remark-rehype":"^11.1.1",rimraf:"^6.0.1",runes2:"^1.1.4",semver:"^7.6.3",sharp:"^0.33.5","simple-git":"^3.27.0","size-limit":"^11.1.6",spinnies:"^0.5.1",sylvanas:"^0.6.1",tar:"^7.4.3","tar-fs":"^3.0.6",terser:"^5.36.0",tsx:"4.11.2",typedoc:"^0.26.10",typescript:"~5.6.3","vanilla-jsoneditor":"^2.0.0","vanilla-tilt":"^1.8.1",webpack:"^5.95.0","webpack-bundle-analyzer":"^4.10.2","xhr-mock":"^2.5.1","@ant-design/colors":"^7.1.0","@ant-design/cssinjs":"^1.21.1","@ant-design/cssinjs-utils":"^1.1.1","@ant-design/icons":"^5.5.1","@ant-design/react-slick":"~1.1.2","@babel/runtime":"^7.25.7","@ctrl/tinycolor":"^3.6.1","@rc-component/color-picker":"~2.0.1","@rc-component/mutate-observer":"^1.1.0","@rc-component/qrcode":"~1.0.0","@rc-component/tour":"~1.15.1","@rc-component/trigger":"^2.2.5",classnames:"^2.5.1","copy-to-clipboard":"^3.3.3",dayjs:"^1.11.11","rc-cascader":"~3.30.0","rc-checkbox":"~3.3.0","rc-collapse":"~3.9.0","rc-dialog":"~9.6.0","rc-drawer":"~7.2.0","rc-dropdown":"~4.2.0","rc-field-form":"~2.5.1","rc-image":"~7.11.0","rc-input":"~1.6.3","rc-input-number":"~9.3.0","rc-mentions":"~2.17.0","rc-menu":"~9.16.0","rc-motion":"^2.9.3","rc-notification":"~5.6.2","rc-pagination":"~4.3.0","rc-picker":"~4.8.1","rc-progress":"~4.0.0","rc-rate":"~2.13.0","rc-resize-observer":"^1.4.0","rc-segmented":"~2.5.0","rc-select":"~14.16.3","rc-slider":"~11.1.7","rc-steps":"~6.0.1","rc-switch":"~4.1.0","rc-table":"~7.48.1","rc-tabs":"~15.4.0","rc-textarea":"~1.8.2","rc-tooltip":"~6.2.1","rc-tree":"~5.10.1","rc-tree-select":"~5.24.4","rc-upload":"~4.8.1","rc-util":"^5.43.0","scroll-into-view-if-needed":"^3.1.0","throttle-debounce":"^5.0.2"},jsx:'import React, { useState } from \'react\';\nimport { Checkbox, ConfigProvider, Divider, Form, Input, Radio, Space } from \'antd\';\nconst ConfigDisplay = () => {\n const { componentDisabled, componentSize } = ConfigProvider.useConfig();\n return (\n <>\n <Form.Item label="componentSize value">\n <Input value={componentSize} />\n </Form.Item>\n <Form.Item label="componentDisabled value">\n <Input value={String(componentDisabled)} disabled={componentDisabled} />\n </Form.Item>\n </>\n );\n};\nconst App = () => {\n const [componentSize, setComponentSize] = useState(\'small\');\n const [disabled, setDisabled] = useState(true);\n return (\n <div>\n <Space>\n <Radio.Group\n value={componentSize}\n onChange={(e) => {\n setComponentSize(e.target.value);\n }}\n >\n <Radio.Button value="small">Small</Radio.Button>\n <Radio.Button value="middle">Middle</Radio.Button>\n <Radio.Button value="large">Large</Radio.Button>\n </Radio.Group>\n <Checkbox checked={disabled} onChange={(e) => setDisabled(e.target.checked)}>\n Form disabled\n </Checkbox>\n </Space>\n <Divider />\n <ConfigProvider componentSize={componentSize}>\n <div className="example">\n <Form disabled={disabled}>\n <ConfigDisplay />\n </Form>\n </div>\n </ConfigProvider>\n </div>\n );\n};\nexport default App;\n',description:"<p>Get the value of the parent <code>Provider</code>. Such as <code>DisabledContextProvider</code>, <code>SizeContextProvider</code>.</p>"}},{demo:{id:"config-provider-demo-warning"},previewerProps:{debug:!0,title:"warning",filename:"components/config-provider/demo/warning.tsx",pkgDependencyList:{"@ant-design/compatible":"^5.1.3","@ant-design/happy-work-theme":"^1.0.0","@ant-design/tools":"^18.0.2","@antfu/eslint-config":"^3.8.0","@antv/g6":"^4.8.24","@biomejs/biome":"^1.9.4","@codecov/webpack-plugin":"^1.2.1","@codesandbox/sandpack-react":"^2.19.9","@dnd-kit/core":"^6.1.0","@dnd-kit/modifiers":"^7.0.0","@dnd-kit/sortable":"^8.0.0","@dnd-kit/utilities":"^3.2.2","@emotion/css":"^11.13.4","@emotion/react":"^11.13.3","@emotion/server":"^11.11.0","@eslint-react/eslint-plugin":"^1.15.0","@ianvs/prettier-plugin-sort-imports":"^4.3.1","@inquirer/prompts":"^7.0.0","@madccc/duplicate-package-checker-webpack-plugin":"^1.0.0","@microflash/rehype-figure":"^2.1.1","@npmcli/run-script":"^9.0.1","@octokit/rest":"^21.0.2","@qixian.cs/github-contributors-list":"^2.0.2","@size-limit/file":"^11.1.6","@stackblitz/sdk":"^1.11.0","@testing-library/dom":"^10.4.0","@testing-library/jest-dom":"^6.6.2","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@types/adm-zip":"^0.5.5","@types/ali-oss":"^6.16.11","@types/cli-progress":"^3.11.6","@types/fs-extra":"^11.0.4","@types/gtag.js":"^0.0.20","@types/http-server":"^0.12.4","@types/isomorphic-fetch":"^0.0.39","@types/jest":"^29.5.13","@types/jest-axe":"^3.5.9","@types/jest-environment-puppeteer":"^5.0.6","@types/jest-image-snapshot":"^6.4.0","@types/jquery":"^3.5.31","@types/jsdom":"^21.1.7","@types/lodash":"^4.17.12","@types/minimist":"^1.2.5","@types/node":"^22.7.7","@types/nprogress":"^0.2.3","@types/pixelmatch":"^5.2.6","@types/pngjs":"^6.0.5","@types/prismjs":"^1.26.4","@types/progress":"^2.0.7","@types/qs":"^6.9.16","@types/react":"^18.3.11","@types/react-copy-to-clipboard":"^5.0.7","@types/react-dom":"^18.3.1","@types/react-highlight-words":"^0.20.0","@types/react-resizable":"^3.0.8","@types/semver":"^7.5.8","@types/spinnies":"^0.5.3","@types/tar":"^6.1.13","@types/throttle-debounce":"^5.0.2","@types/warning":"^3.0.3","adm-zip":"^0.5.16","ali-oss":"^6.21.0","antd-img-crop":"^4.23.0","antd-style":"^3.7.0","antd-token-previewer":"^2.0.8",axios:"^1.7.7",chalk:"^4.1.2",cheerio:"^1.0.0","circular-dependency-plugin":"^5.2.2","cli-progress":"^3.12.0","cross-env":"^7.0.3","cross-fetch":"^4.0.0",dekko:"^0.2.1",dotenv:"^16.4.5",dumi:"~2.4.13","dumi-plugin-color-chunk":"^1.1.2",eslint:"^9.13.0","eslint-plugin-compat":"^6.0.1","eslint-plugin-jest":"^28.8.3","eslint-plugin-jsx-a11y":"^6.10.0","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-react-refresh":"^0.4.13","fast-glob":"^3.3.2","fetch-jsonp":"^1.3.0","fs-extra":"^11.2.0","gh-pages":"^6.2.0",glob:"^11.0.0",html2sketch:"^1.0.2","http-server":"^14.1.1",husky:"^9.1.6","identity-obj-proxy":"^3.0.0",immer:"^10.1.1","is-ci":"^3.0.1","isomorphic-fetch":"^3.0.0",jest:"^29.7.0","jest-axe":"^9.0.0","jest-canvas-mock":"^2.5.2","jest-environment-jsdom":"^29.7.0","jest-environment-node":"^29.7.0","jest-image-snapshot":"^6.4.0","jest-puppeteer":"^10.1.2",jquery:"^3.7.1",jsdom:"^25.0.1","jsonml-to-react-element":"^1.1.11","jsonml.js":"^0.1.0","lint-staged":"^15.2.10",lodash:"^4.17.21","lunar-typescript":"^1.7.5","lz-string":"^1.5.0",minimist:"^1.2.8",mockdate:"^3.0.5","node-fetch":"^3.3.2","node-notifier":"^10.0.1",nprogress:"^0.2.0",open:"^10.1.0",ora:"^8.1.0","p-all":"^5.0.0",pixelmatch:"^6.0.0",pngjs:"^7.0.0",prettier:"^3.3.3","pretty-format":"^29.7.0",prismjs:"^1.29.0",puppeteer:"^23.6.0",qs:"^6.13.0","rc-footer":"^0.6.8","rc-tween-one":"^3.0.6","rc-virtual-list":"^3.15.0",react:"^18.3.1","react-copy-to-clipboard":"^5.1.0","react-countup":"^6.5.3","react-dom":"^18.3.1","react-draggable":"^4.4.6","react-fast-marquee":"^1.6.5","react-highlight-words":"^0.20.0","react-infinite-scroll-component":"^6.1.0","react-intersection-observer":"^9.13.1","react-resizable":"^3.0.5","react-router-dom":"^6.27.0","react-sticky-box":"^2.0.5","regenerator-runtime":"^0.14.1","rehype-stringify":"^10.0.1",remark:"^15.0.1","remark-cli":"^12.0.1","remark-gfm":"^4.0.0","remark-lint":"^10.0.0","remark-lint-no-undefined-references":"^5.0.0","remark-preset-lint-recommended":"^7.0.0","remark-rehype":"^11.1.1",rimraf:"^6.0.1",runes2:"^1.1.4",semver:"^7.6.3",sharp:"^0.33.5","simple-git":"^3.27.0","size-limit":"^11.1.6",spinnies:"^0.5.1",sylvanas:"^0.6.1",tar:"^7.4.3","tar-fs":"^3.0.6",terser:"^5.36.0",tsx:"4.11.2",typedoc:"^0.26.10",typescript:"~5.6.3","vanilla-jsoneditor":"^2.0.0","vanilla-tilt":"^1.8.1",webpack:"^5.95.0","webpack-bundle-analyzer":"^4.10.2","xhr-mock":"^2.5.1","@ant-design/colors":"^7.1.0","@ant-design/cssinjs":"^1.21.1","@ant-design/cssinjs-utils":"^1.1.1","@ant-design/icons":"^5.5.1","@ant-design/react-slick":"~1.1.2","@babel/runtime":"^7.25.7","@ctrl/tinycolor":"^3.6.1","@rc-component/color-picker":"~2.0.1","@rc-component/mutate-observer":"^1.1.0","@rc-component/qrcode":"~1.0.0","@rc-component/tour":"~1.15.1","@rc-component/trigger":"^2.2.5",classnames:"^2.5.1","copy-to-clipboard":"^3.3.3",dayjs:"^1.11.11","rc-cascader":"~3.30.0","rc-checkbox":"~3.3.0","rc-collapse":"~3.9.0","rc-dialog":"~9.6.0","rc-drawer":"~7.2.0","rc-dropdown":"~4.2.0","rc-field-form":"~2.5.1","rc-image":"~7.11.0","rc-input":"~1.6.3","rc-input-number":"~9.3.0","rc-mentions":"~2.17.0","rc-menu":"~9.16.0","rc-motion":"^2.9.3","rc-notification":"~5.6.2","rc-pagination":"~4.3.0","rc-picker":"~4.8.1","rc-progress":"~4.0.0","rc-rate":"~2.13.0","rc-resize-observer":"^1.4.0","rc-segmented":"~2.5.0","rc-select":"~14.16.3","rc-slider":"~11.1.7","rc-steps":"~6.0.1","rc-switch":"~4.1.0","rc-table":"~7.48.1","rc-tabs":"~15.4.0","rc-textarea":"~1.8.2","rc-tooltip":"~6.2.1","rc-tree":"~5.10.1","rc-tree-select":"~5.24.4","rc-upload":"~4.8.1","rc-util":"^5.43.0","scroll-into-view-if-needed":"^3.1.0","throttle-debounce":"^5.0.2"},jsx:"import React from 'react';\nimport { Alert, ConfigProvider, Input, Typography } from 'antd';\nconst App = () => (\n <>\n <Typography.Title level={4}>Open single page to check the console</Typography.Title>\n <ConfigProvider\n warning={{\n strict: false,\n }}\n >\n <Alert closeText=\"deprecated\" />\n <Input.Group />\n </ConfigProvider>\n </>\n);\nexport default App;\n",description:"<p>Adjust warning strategy.</p>"}}]}),(0,i.jsxs)("div",{className:"markdown",children:[(0,i.jsxs)("h2",{id:"api",children:[(0,i.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#api",sourceType:"a",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,i.jsxs)(o.default,{className:"component-api-table",children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[8].value}),(0,i.jsx)("th",{children:e[9].value}),(0,i.jsx)("th",{children:e[10].value}),(0,i.jsx)("th",{children:e[11].value}),(0,i.jsx)("th",{children:e[12].value})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[13].value}),(0,i.jsxs)("td",{children:[e[14].value,(0,i.jsx)("code",{children:e[15].value})]}),(0,i.jsx)("td",{children:e[16].value}),(0,i.jsx)("td",{children:e[17].value}),(0,i.jsx)("td",{children:e[18].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[19].value}),(0,i.jsx)("td",{children:e[20].value}),(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:e[21].value}),e[22].value,(0,i.jsx)("code",{children:e[23].value}),e[24].value,(0,i.jsx)("code",{children:e[25].value})]}),(0,i.jsx)("td",{children:e[26].value}),(0,i.jsx)("td",{})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[27].value}),(0,i.jsxs)("td",{children:[e[28].value,(0,i.jsx)(c.default,{href:"https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP",sourceType:"a",children:e[29].value}),e[30].value]}),(0,i.jsx)("td",{children:e[31].value}),(0,i.jsx)("td",{children:e[32].value}),(0,i.jsx)("td",{})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[33].value}),(0,i.jsxs)("td",{children:[e[34].value,(0,i.jsx)(c.default,{to:"#config-provider-demo-direction",sourceType:"Link",children:e[35].value})]}),(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:e[36].value}),e[37].value,(0,i.jsx)("code",{children:e[38].value})]}),(0,i.jsx)("td",{children:(0,i.jsx)("code",{children:e[39].value})}),(0,i.jsx)("td",{})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[40].value}),(0,i.jsxs)("td",{children:[e[41].value,(0,i.jsx)("code",{children:e[42].value}),e[43].value,(0,i.jsx)("code",{children:e[44].value})]}),(0,i.jsx)("td",{children:e[45].value}),(0,i.jsx)("td",{children:e[46].value}),(0,i.jsx)("td",{})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[47].value}),(0,i.jsx)("td",{children:e[48].value}),(0,i.jsx)("td",{children:e[49].value}),(0,i.jsx)("td",{children:e[50].value}),(0,i.jsx)("td",{children:e[51].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[52].value}),(0,i.jsx)("td",{children:e[53].value}),(0,i.jsx)("td",{children:e[54].value}),(0,i.jsx)("td",{children:(0,i.jsx)("code",{children:e[55].value})}),(0,i.jsx)("td",{children:e[56].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[57].value}),(0,i.jsxs)("td",{children:[e[58].value,(0,i.jsx)(c.default,{href:"http://unpkg.com/antd/locale/",sourceType:"a",children:e[59].value})]}),(0,i.jsx)("td",{children:e[60].value}),(0,i.jsx)("td",{children:e[61].value}),(0,i.jsx)("td",{})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[62].value}),(0,i.jsxs)("td",{children:[e[63].value,(0,i.jsx)("code",{children:e[64].value}),e[65].value,(0,i.jsx)("code",{children:e[66].value}),e[67].value]}),(0,i.jsx)("td",{children:e[68].value}),(0,i.jsx)("td",{children:e[69].value}),(0,i.jsx)("td",{children:e[70].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[71].value}),(0,i.jsx)("td",{children:e[72].value}),(0,i.jsxs)("td",{children:[e[73].value,(0,i.jsx)(l.default,{previewURL:"https://user-images.githubusercontent.com/5378891/230344474-5b9f7e09-0a5d-49e8-bae8-7d2abed6c837.png",previewurl:"https://user-images.githubusercontent.com/5378891/230344474-5b9f7e09-0a5d-49e8-bae8-7d2abed6c837.png"})]}),(0,i.jsx)("td",{children:e[74].value}),(0,i.jsx)("td",{children:e[75].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[76].value}),(0,i.jsx)("td",{children:e[77].value}),(0,i.jsx)("td",{children:e[78].value}),(0,i.jsx)("td",{children:(0,i.jsx)("code",{children:e[79].value})}),(0,i.jsx)("td",{})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[80].value}),(0,i.jsxs)("td",{children:[e[81].value,(0,i.jsx)(c.default,{to:"/components/empty/",sourceType:"Link",children:e[82].value})]}),(0,i.jsx)("td",{children:e[83].value}),(0,i.jsx)("td",{children:e[84].value}),(0,i.jsx)("td",{})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[85].value}),(0,i.jsxs)("td",{children:[e[86].value,(0,i.jsx)(c.default,{to:"/docs/react/customize-theme",sourceType:"Link",children:e[87].value})]}),(0,i.jsx)("td",{children:(0,i.jsx)(c.default,{to:"/docs/react/customize-theme#theme",sourceType:"Link",children:e[88].value})}),(0,i.jsx)("td",{children:e[89].value}),(0,i.jsx)("td",{children:e[90].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[91].value}),(0,i.jsx)("td",{children:e[92].value}),(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:e[93].value}),e[94].value,(0,i.jsx)("code",{children:e[95].value}),e[96].value,(0,i.jsx)("code",{children:e[97].value})]}),(0,i.jsx)("td",{children:e[98].value}),(0,i.jsx)("td",{children:e[99].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[100].value}),(0,i.jsxs)("td",{children:[e[101].value,(0,i.jsx)("code",{children:e[102].value})]}),(0,i.jsx)("td",{children:e[103].value}),(0,i.jsx)("td",{children:e[104].value}),(0,i.jsx)("td",{children:e[105].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[106].value}),(0,i.jsxs)("td",{children:[e[107].value,(0,i.jsx)("code",{children:e[108].value}),e[109].value,(0,i.jsx)("code",{children:e[110].value}),e[111].value]}),(0,i.jsx)("td",{children:e[112].value}),(0,i.jsx)("td",{children:e[113].value}),(0,i.jsx)("td",{children:e[114].value})]})]})]}),(0,i.jsxs)("h3",{id:"configproviderconfig",children:[(0,i.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#configproviderconfig",sourceType:"a",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"ConfigProvider.config()"]}),(0,i.jsxs)("p",{children:[e[115].value,(0,i.jsx)("code",{children:e[116].value}),e[117].value,(0,i.jsx)("code",{children:e[118].value}),e[119].value,(0,i.jsx)("code",{children:e[120].value}),e[121].value]}),(0,i.jsx)(s.default,{lang:"tsx",children:e[122].value}),(0,i.jsxs)("h3",{id:"configprovideruseconfig-530",children:[(0,i.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#configprovideruseconfig-530",sourceType:"a",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"ConfigProvider.useConfig() ",(0,i.jsx)("code",{children:e[123].value})]}),(0,i.jsxs)("p",{children:[e[124].value,(0,i.jsx)("code",{children:e[125].value}),e[126].value,(0,i.jsx)("code",{children:e[127].value}),e[128].value,(0,i.jsx)("code",{children:e[129].value}),e[130].value,(0,i.jsx)("code",{children:e[131].value}),e[132].value]}),(0,i.jsx)(s.default,{lang:"jsx",children:e[133].value}),(0,i.jsxs)(o.default,{className:"component-api-table",children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[134].value}),(0,i.jsx)("th",{children:e[135].value}),(0,i.jsx)("th",{children:e[136].value}),(0,i.jsx)("th",{children:e[137].value}),(0,i.jsx)("th",{children:e[138].value})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[139].value}),(0,i.jsx)("td",{children:e[140].value}),(0,i.jsx)("td",{children:e[141].value}),(0,i.jsx)("td",{children:e[142].value}),(0,i.jsx)("td",{children:e[143].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[144].value}),(0,i.jsx)("td",{children:e[145].value}),(0,i.jsxs)("td",{children:[(0,i.jsx)("code",{children:e[146].value}),e[147].value,(0,i.jsx)("code",{children:e[148].value}),e[149].value,(0,i.jsx)("code",{children:e[150].value})]}),(0,i.jsx)("td",{children:e[151].value}),(0,i.jsx)("td",{children:e[152].value})]})]})]}),(0,i.jsxs)("h3",{id:"component-config",children:[(0,i.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#component-config",sourceType:"a",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"Component Config"]}),(0,i.jsxs)(o.default,{className:"component-api-table",children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:e[153].value}),(0,i.jsx)("th",{children:e[154].value}),(0,i.jsx)("th",{children:e[155].value}),(0,i.jsx)("th",{children:e[156].value}),(0,i.jsx)("th",{children:e[157].value})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[158].value}),(0,i.jsx)("td",{children:e[159].value}),(0,i.jsx)("td",{children:e[160].value}),(0,i.jsx)("td",{children:e[161].value}),(0,i.jsx)("td",{children:e[162].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[163].value}),(0,i.jsx)("td",{children:e[164].value}),(0,i.jsx)("td",{children:e[165].value}),(0,i.jsx)("td",{children:e[166].value}),(0,i.jsx)("td",{children:e[167].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[168].value}),(0,i.jsx)("td",{children:e[169].value}),(0,i.jsx)("td",{children:e[170].value}),(0,i.jsx)("td",{children:e[171].value}),(0,i.jsx)("td",{children:e[172].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[173].value}),(0,i.jsx)("td",{children:e[174].value}),(0,i.jsxs)("td",{children:[e[175].value,(0,i.jsx)(c.default,{to:"/components/badge#api",sourceType:"Link",children:e[176].value}),e[177].value,(0,i.jsx)(c.default,{to:"/components/badge#api",sourceType:"Link",children:e[178].value}),e[179].value]}),(0,i.jsx)("td",{children:e[180].value}),(0,i.jsx)("td",{children:e[181].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[182].value}),(0,i.jsx)("td",{children:e[183].value}),(0,i.jsx)("td",{children:e[184].value}),(0,i.jsx)("td",{children:e[185].value}),(0,i.jsx)("td",{children:e[186].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[187].value}),(0,i.jsx)("td",{children:e[188].value}),(0,i.jsxs)("td",{children:[e[189].value,(0,i.jsx)(c.default,{to:"/components/button#api",sourceType:"Link",children:e[190].value}),e[191].value,(0,i.jsx)(c.default,{to:"/components/button#api",sourceType:"Link",children:e[192].value}),e[193].value]}),(0,i.jsx)("td",{children:e[194].value}),(0,i.jsx)("td",{children:e[195].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[196].value}),(0,i.jsx)("td",{children:e[197].value}),(0,i.jsxs)("td",{children:[e[198].value,(0,i.jsx)(c.default,{to:"/components/card#api",sourceType:"Link",children:e[199].value}),e[200].value,(0,i.jsx)(c.default,{to:"/components/card#api",sourceType:"Link",children:e[201].value}),e[202].value]}),(0,i.jsx)("td",{children:e[203].value}),(0,i.jsxs)("td",{children:[e[204].value,(0,i.jsx)("code",{children:e[205].value}),e[206].value,(0,i.jsx)("code",{children:e[207].value}),e[208].value]})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[209].value}),(0,i.jsx)("td",{children:e[210].value}),(0,i.jsx)("td",{children:e[211].value}),(0,i.jsx)("td",{children:e[212].value}),(0,i.jsx)("td",{children:e[213].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[214].value}),(0,i.jsx)("td",{children:e[215].value}),(0,i.jsx)("td",{children:e[216].value}),(0,i.jsx)("td",{children:e[217].value}),(0,i.jsx)("td",{children:e[218].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[219].value}),(0,i.jsx)("td",{children:e[220].value}),(0,i.jsx)("td",{children:e[221].value}),(0,i.jsx)("td",{children:e[222].value}),(0,i.jsx)("td",{children:e[223].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[224].value}),(0,i.jsx)("td",{children:e[225].value}),(0,i.jsx)("td",{children:e[226].value}),(0,i.jsx)("td",{children:e[227].value}),(0,i.jsx)("td",{children:e[228].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[229].value}),(0,i.jsx)("td",{children:e[230].value}),(0,i.jsx)("td",{children:e[231].value}),(0,i.jsx)("td",{children:e[232].value}),(0,i.jsx)("td",{children:e[233].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[234].value}),(0,i.jsx)("td",{children:e[235].value}),(0,i.jsx)("td",{children:e[236].value}),(0,i.jsx)("td",{children:e[237].value}),(0,i.jsx)("td",{children:e[238].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[239].value}),(0,i.jsx)("td",{children:e[240].value}),(0,i.jsx)("td",{children:e[241].value}),(0,i.jsx)("td",{children:e[242].value}),(0,i.jsx)("td",{children:e[243].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[244].value}),(0,i.jsx)("td",{children:e[245].value}),(0,i.jsx)("td",{children:e[246].value}),(0,i.jsx)("td",{children:e[247].value}),(0,i.jsx)("td",{children:e[248].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[249].value}),(0,i.jsx)("td",{children:e[250].value}),(0,i.jsx)("td",{children:e[251].value}),(0,i.jsx)("td",{children:e[252].value}),(0,i.jsx)("td",{children:e[253].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[254].value}),(0,i.jsx)("td",{children:e[255].value}),(0,i.jsx)("td",{children:e[256].value}),(0,i.jsx)("td",{children:e[257].value}),(0,i.jsx)("td",{children:e[258].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[259].value}),(0,i.jsx)("td",{children:e[260].value}),(0,i.jsxs)("td",{children:[e[261].value,(0,i.jsx)(c.default,{to:"/components/drawer#api",sourceType:"Link",children:e[262].value}),e[263].value,(0,i.jsx)(c.default,{to:"/components/drawer#api",sourceType:"Link",children:e[264].value}),e[265].value]}),(0,i.jsx)("td",{children:e[266].value}),(0,i.jsxs)("td",{children:[e[267].value,(0,i.jsx)("code",{children:e[268].value}),e[269].value,(0,i.jsx)("code",{children:e[270].value}),e[271].value,(0,i.jsx)("code",{children:e[272].value}),e[273].value]})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[274].value}),(0,i.jsx)("td",{children:e[275].value}),(0,i.jsx)("td",{children:e[276].value}),(0,i.jsx)("td",{children:e[277].value}),(0,i.jsx)("td",{children:e[278].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[279].value}),(0,i.jsx)("td",{children:e[280].value}),(0,i.jsx)("td",{children:e[281].value}),(0,i.jsx)("td",{children:e[282].value}),(0,i.jsx)("td",{children:e[283].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[284].value}),(0,i.jsx)("td",{children:e[285].value}),(0,i.jsx)("td",{children:e[286].value}),(0,i.jsx)("td",{children:e[287].value}),(0,i.jsx)("td",{children:e[288].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[289].value}),(0,i.jsx)("td",{children:e[290].value}),(0,i.jsx)("td",{children:e[291].value}),(0,i.jsx)("td",{children:e[292].value}),(0,i.jsx)("td",{children:e[293].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[294].value}),(0,i.jsx)("td",{children:e[295].value}),(0,i.jsxs)("td",{children:[e[296].value,(0,i.jsx)(c.default,{to:"/components/form/#validatemessages",sourceType:"Link",children:e[297].value}),e[298].value,(0,i.jsx)("code",{children:e[299].value}),e[300].value,(0,i.jsx)(c.default,{href:"https://github.com/stipsan/scroll-into-view-if-needed/tree/ece40bd9143f48caf4b99503425ecb16b0ad8249#options",sourceType:"a",children:e[301].value}),e[302].value]}),(0,i.jsx)("td",{children:e[303].value}),(0,i.jsx)("td",{children:e[304].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[305].value}),(0,i.jsx)("td",{children:e[306].value}),(0,i.jsx)("td",{children:e[307].value}),(0,i.jsx)("td",{children:e[308].value}),(0,i.jsx)("td",{children:e[309].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[310].value}),(0,i.jsx)("td",{children:e[311].value}),(0,i.jsx)("td",{children:e[312].value}),(0,i.jsx)("td",{children:e[313].value}),(0,i.jsx)("td",{children:e[314].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[315].value}),(0,i.jsx)("td",{children:e[316].value}),(0,i.jsx)("td",{children:e[317].value}),(0,i.jsx)("td",{children:e[318].value}),(0,i.jsx)("td",{children:e[319].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[320].value}),(0,i.jsx)("td",{children:e[321].value}),(0,i.jsx)("td",{children:e[322].value}),(0,i.jsx)("td",{children:e[323].value}),(0,i.jsx)("td",{children:e[324].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[325].value}),(0,i.jsx)("td",{children:e[326].value}),(0,i.jsxs)("td",{children:[e[327].value,(0,i.jsx)(c.default,{to:"/components/list#listitem",sourceType:"Link",children:e[328].value}),e[329].value,(0,i.jsx)(c.default,{to:"/components/list#listitem",sourceType:"Link",children:e[330].value}),e[331].value]}),(0,i.jsx)("td",{children:e[332].value}),(0,i.jsx)("td",{children:e[333].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[334].value}),(0,i.jsx)("td",{children:e[335].value}),(0,i.jsx)("td",{children:e[336].value}),(0,i.jsx)("td",{children:e[337].value}),(0,i.jsx)("td",{children:e[338].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[339].value}),(0,i.jsx)("td",{children:e[340].value}),(0,i.jsx)("td",{children:e[341].value}),(0,i.jsx)("td",{children:e[342].value}),(0,i.jsx)("td",{children:e[343].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[344].value}),(0,i.jsx)("td",{children:e[345].value}),(0,i.jsx)("td",{children:e[346].value}),(0,i.jsx)("td",{children:e[347].value}),(0,i.jsx)("td",{children:e[348].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[349].value}),(0,i.jsx)("td",{children:e[350].value}),(0,i.jsxs)("td",{children:[e[351].value,(0,i.jsx)(c.default,{to:"/components/modal#api",sourceType:"Link",children:e[352].value}),e[353].value,(0,i.jsx)(c.default,{to:"/components/modal#api",sourceType:"Link",children:e[354].value}),e[355].value]}),(0,i.jsx)("td",{children:e[356].value}),(0,i.jsxs)("td",{children:[e[357].value,(0,i.jsx)("code",{children:e[358].value}),e[359].value,(0,i.jsx)("code",{children:e[360].value}),e[361].value,(0,i.jsx)("code",{children:e[362].value}),e[363].value]})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[364].value}),(0,i.jsx)("td",{children:e[365].value}),(0,i.jsx)("td",{children:e[366].value}),(0,i.jsx)("td",{children:e[367].value}),(0,i.jsxs)("td",{children:[e[368].value,(0,i.jsx)("code",{children:e[369].value}),e[370].value]})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[371].value}),(0,i.jsx)("td",{children:e[372].value}),(0,i.jsx)("td",{children:e[373].value}),(0,i.jsx)("td",{children:e[374].value}),(0,i.jsx)("td",{children:e[375].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[376].value}),(0,i.jsx)("td",{children:e[377].value}),(0,i.jsx)("td",{children:e[378].value}),(0,i.jsx)("td",{children:e[379].value}),(0,i.jsx)("td",{children:e[380].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[381].value}),(0,i.jsx)("td",{children:e[382].value}),(0,i.jsx)("td",{children:e[383].value}),(0,i.jsx)("td",{children:e[384].value}),(0,i.jsx)("td",{children:e[385].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[386].value}),(0,i.jsx)("td",{children:e[387].value}),(0,i.jsx)("td",{children:e[388].value}),(0,i.jsx)("td",{children:e[389].value}),(0,i.jsx)("td",{children:e[390].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[391].value}),(0,i.jsx)("td",{children:e[392].value}),(0,i.jsx)("td",{children:e[393].value}),(0,i.jsx)("td",{children:e[394].value}),(0,i.jsx)("td",{children:e[395].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[396].value}),(0,i.jsx)("td",{children:e[397].value}),(0,i.jsx)("td",{children:e[398].value}),(0,i.jsx)("td",{children:e[399].value}),(0,i.jsx)("td",{children:e[400].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[401].value}),(0,i.jsx)("td",{children:e[402].value}),(0,i.jsx)("td",{children:e[403].value}),(0,i.jsx)("td",{children:e[404].value}),(0,i.jsx)("td",{children:e[405].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[406].value}),(0,i.jsx)("td",{children:e[407].value}),(0,i.jsx)("td",{children:e[408].value}),(0,i.jsx)("td",{children:e[409].value}),(0,i.jsx)("td",{children:e[410].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[411].value}),(0,i.jsx)("td",{children:e[412].value}),(0,i.jsx)("td",{children:e[413].value}),(0,i.jsx)("td",{children:e[414].value}),(0,i.jsx)("td",{children:e[415].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[416].value}),(0,i.jsx)("td",{children:e[417].value}),(0,i.jsx)("td",{children:e[418].value}),(0,i.jsx)("td",{children:e[419].value}),(0,i.jsx)("td",{children:e[420].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[421].value}),(0,i.jsxs)("td",{children:[e[422].value,(0,i.jsx)(c.default,{to:"/components/space",sourceType:"Link",children:e[423].value})]}),(0,i.jsxs)("td",{children:[e[424].value,(0,i.jsx)("code",{children:e[425].value}),e[426].value,(0,i.jsx)("code",{children:e[427].value}),e[428].value,(0,i.jsx)("code",{children:e[429].value}),e[430].value,(0,i.jsx)("code",{children:e[431].value}),e[432].value,(0,i.jsx)(c.default,{to:"/components/space#api",sourceType:"Link",children:e[433].value}),e[434].value,(0,i.jsx)(c.default,{to:"/components/space#api",sourceType:"Link",children:e[435].value}),e[436].value]}),(0,i.jsx)("td",{children:e[437].value}),(0,i.jsx)("td",{children:e[438].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[439].value}),(0,i.jsx)("td",{children:e[440].value}),(0,i.jsx)("td",{children:e[441].value}),(0,i.jsx)("td",{children:e[442].value}),(0,i.jsx)("td",{children:e[443].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[444].value}),(0,i.jsx)("td",{children:e[445].value}),(0,i.jsx)("td",{children:e[446].value}),(0,i.jsx)("td",{children:e[447].value}),(0,i.jsx)("td",{children:e[448].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[449].value}),(0,i.jsx)("td",{children:e[450].value}),(0,i.jsx)("td",{children:e[451].value}),(0,i.jsx)("td",{children:e[452].value}),(0,i.jsx)("td",{children:e[453].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[454].value}),(0,i.jsx)("td",{children:e[455].value}),(0,i.jsx)("td",{children:e[456].value}),(0,i.jsx)("td",{children:e[457].value}),(0,i.jsx)("td",{children:e[458].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[459].value}),(0,i.jsx)("td",{children:e[460].value}),(0,i.jsx)("td",{children:e[461].value}),(0,i.jsx)("td",{children:e[462].value}),(0,i.jsx)("td",{children:e[463].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[464].value}),(0,i.jsx)("td",{children:e[465].value}),(0,i.jsxs)("td",{children:[e[466].value,(0,i.jsx)("code",{children:e[467].value}),e[468].value,(0,i.jsx)("code",{children:e[469].value}),e[470].value,(0,i.jsx)("code",{children:e[471].value}),e[472].value]}),(0,i.jsx)("td",{children:e[473].value}),(0,i.jsxs)("td",{children:[e[474].value,(0,i.jsx)("code",{children:e[475].value}),e[476].value,(0,i.jsx)("code",{children:e[477].value}),e[478].value,(0,i.jsx)("code",{children:e[479].value}),e[480].value]})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[481].value}),(0,i.jsx)("td",{children:e[482].value}),(0,i.jsx)("td",{children:e[483].value}),(0,i.jsx)("td",{children:e[484].value}),(0,i.jsx)("td",{children:e[485].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[486].value}),(0,i.jsx)("td",{children:e[487].value}),(0,i.jsx)("td",{children:e[488].value}),(0,i.jsx)("td",{children:e[489].value}),(0,i.jsx)("td",{children:e[490].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[491].value}),(0,i.jsx)("td",{children:e[492].value}),(0,i.jsx)("td",{children:e[493].value}),(0,i.jsx)("td",{children:e[494].value}),(0,i.jsx)("td",{children:e[495].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[496].value}),(0,i.jsx)("td",{children:e[497].value}),(0,i.jsx)("td",{children:e[498].value}),(0,i.jsx)("td",{children:e[499].value}),(0,i.jsx)("td",{children:e[500].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[501].value}),(0,i.jsx)("td",{children:e[502].value}),(0,i.jsx)("td",{children:e[503].value}),(0,i.jsx)("td",{children:e[504].value}),(0,i.jsx)("td",{children:e[505].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[506].value}),(0,i.jsx)("td",{children:e[507].value}),(0,i.jsx)("td",{children:e[508].value}),(0,i.jsx)("td",{children:e[509].value}),(0,i.jsx)("td",{children:e[510].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[511].value}),(0,i.jsx)("td",{children:e[512].value}),(0,i.jsx)("td",{children:e[513].value}),(0,i.jsx)("td",{children:e[514].value}),(0,i.jsx)("td",{children:e[515].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[516].value}),(0,i.jsx)("td",{children:e[517].value}),(0,i.jsx)("td",{children:e[518].value}),(0,i.jsx)("td",{children:e[519].value}),(0,i.jsx)("td",{children:e[520].value})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:e[521].value}),(0,i.jsx)("td",{children:e[522].value}),(0,i.jsx)("td",{children:e[523].value}),(0,i.jsx)("td",{children:e[524].value}),(0,i.jsx)("td",{children:e[525].value})]})]})]}),(0,i.jsxs)("h2",{id:"faq",children:[(0,i.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#faq",sourceType:"a",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"FAQ"]}),(0,i.jsxs)("h4",{id:"how-to-contribute-a-new-language",children:[(0,i.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#how-to-contribute-a-new-language",sourceType:"a",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"How to contribute a new language?"]}),(0,i.jsxs)("p",{children:[e[526].value,(0,i.jsx)(c.default,{to:"/docs/react/i18n#adding-newplanguage",sourceType:"Link",children:e[527].value}),e[528].value]}),(0,i.jsxs)("h4",{id:"date-related-components-locale-is-not-working",children:[(0,i.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#date-related-components-locale-is-not-working",sourceType:"a",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"Date-related components locale is not working?"]}),(0,i.jsxs)("p",{children:[e[529].value,(0,i.jsx)(c.default,{to:"/docs/react/faq#date-related-components-locale-is-not-working",sourceType:"Link",children:e[530].value})]}),(0,i.jsxs)("h4",{id:"modal-throw-error-when-setting-getpopupcontainer",children:[(0,i.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#modal-throw-error-when-setting-getpopupcontainer",sourceType:"a",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"Modal throw error when setting ",(0,i.jsx)("code",{children:e[531].value}),"?"]}),(0,i.jsxs)("p",{children:[e[532].value,(0,i.jsx)(c.default,{href:"https://github.com/ant-design/ant-design/issues/19974",sourceType:"a",children:e[533].value})]}),(0,i.jsxs)("p",{children:[e[534].value,(0,i.jsx)("code",{children:e[535].value}),e[536].value,(0,i.jsx)("code",{children:e[537].value}),e[538].value,(0,i.jsx)(c.default,{href:"https://github.com/afc163/feedback-antd/commit/3e4d1ad1bc1a38460dc3bf3c56517f737fe7d44a",sourceType:"a",children:e[539].value}),e[540].value]}),(0,i.jsx)(s.default,{lang:"diff",children:e[541].value}),(0,i.jsxs)("h4",{id:"why-cant-configprovider-props-like-prefixcls-and-theme-affect-reactnode-inside-messageinfo-notificationopen-modalconfirm",children:[(0,i.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#why-cant-configprovider-props-like-prefixcls-and-theme-affect-reactnode-inside-messageinfo-notificationopen-modalconfirm",sourceType:"a",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"Why can't ConfigProvider props (like ",(0,i.jsx)("code",{children:e[542].value})," and ",(0,i.jsx)("code",{children:e[543].value}),") affect ReactNode inside ",(0,i.jsx)("code",{children:e[544].value}),", ",(0,i.jsx)("code",{children:e[545].value}),", ",(0,i.jsx)("code",{children:e[546].value}),"?"]}),(0,i.jsxs)("p",{children:[e[547].value,(0,i.jsx)("code",{children:e[548].value}),e[549].value,(0,i.jsx)("code",{children:e[550].value}),e[551].value,(0,i.jsx)("code",{children:e[552].value}),e[553].value,(0,i.jsx)("code",{children:e[554].value}),e[555].value,(0,i.jsx)("code",{children:e[556].value}),e[557].value]}),(0,i.jsxs)("h4",{id:"locale-is-not-working-with-vite-in-production-mode",children:[(0,i.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#locale-is-not-working-with-vite-in-production-mode",sourceType:"a",children:(0,i.jsx)("span",{className:"icon icon-link"})}),"Locale is not working with Vite in production mode?"]}),(0,i.jsxs)("p",{children:[e[558].value,(0,i.jsx)(c.default,{href:"https://github.com/ant-design/ant-design/issues/39045",sourceType:"a",children:e[559].value})]}),(0,i.jsxs)("p",{children:[e[560].value,(0,i.jsx)("code",{children:e[561].value}),e[562].value,(0,i.jsx)("code",{children:e[563].value}),e[564].value,(0,i.jsx)("code",{children:e[565].value}),e[566].value]}),(0,i.jsxs)("h4",{id:"prefixcls-prioritythe-former-is-covered-by-the-latter",children:[(0,i.jsx)(c.default,{"aria-hidden":"true",tabIndex:"-1",href:"#prefixcls-prioritythe-former-is-covered-by-the-latter",sourceType:"a",children:(0,i.jsx)("span",{className:"icon icon-link"})}),(0,i.jsx)("code",{children:e[567].value})," priority(The former is covered by the latter)"]}),(0,i.jsxs)("ol",{children:[(0,i.jsx)("li",{children:(0,i.jsx)("code",{children:e[568].value})}),(0,i.jsx)("li",{children:(0,i.jsx)("code",{children:e[569].value})}),(0,i.jsx)("li",{children:(0,i.jsx)("code",{children:e[570].value})})]})]})]});}var m=function(){return(0,i.jsx)(u.DumiPage,{children:(0,i.jsx)(p.Suspense,{fallback:(0,i.jsx)(d.default,{}),children:(0,i.jsx)(h,{})})});};}}]);