diff --git a/.umirc.ts b/.umirc.ts index c7b89298..88ff7af0 100644 --- a/.umirc.ts +++ b/.umirc.ts @@ -9,17 +9,11 @@ export default defineConfig({ 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4', outputPath: '.doc', exportStatic: {}, - scripts: [{ - content: ` - (function () { - var timer = setInterval(function() { - try { - var menuList = document.getElementsByClassName('__dumi-default-menu-list'); - menuList[0].childNodes[0].childNodes[0].innerText = 'rc-field-form'; - clearInterval(timer); - } catch (e) {} - }, 200) - })(); + styles: [ ` - }] + .markdown table { + width: auto !important; + } + `, + ] }); diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..cfbf791e --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,33 @@ +# Changelog + +## 1.17.3 + +`2020.12.17` + +- chore: Fix ts definition. + +## 1.17.2 + +`2020.11.20` + +- fix: onFieldsChange in strict mode. [#228](https://github.com/react-component/field-form/pull/228) + +## 1.17.1 + +`2020.11.20` + +- fix: Declare property fieldContext as optional. [#225](https://github.com/react-component/field-form/pull/225) + +## 1.17.0 + +`2020.11.20` + +- feat: support validate recursive. [#226](https://github.com/react-component/field-form/pull/226) +## 1.16.0 + +`2020.11.19` + +- feat: List support initialValues. [#224](https://github.com/react-component/field-form/pull/224) +- docs: Use dumi. [#220](https://github.com/react-component/field-form/pull/220) + +More see in [releases](https://github.com/react-component/field-form/releases). diff --git a/docs/changelog.md b/docs/changelog.md index cfbf791e..beb2eddc 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,33 +1 @@ -# Changelog - -## 1.17.3 - -`2020.12.17` - -- chore: Fix ts definition. - -## 1.17.2 - -`2020.11.20` - -- fix: onFieldsChange in strict mode. [#228](https://github.com/react-component/field-form/pull/228) - -## 1.17.1 - -`2020.11.20` - -- fix: Declare property fieldContext as optional. [#225](https://github.com/react-component/field-form/pull/225) - -## 1.17.0 - -`2020.11.20` - -- feat: support validate recursive. [#226](https://github.com/react-component/field-form/pull/226) -## 1.16.0 - -`2020.11.19` - -- feat: List support initialValues. [#224](https://github.com/react-component/field-form/pull/224) -- docs: Use dumi. [#220](https://github.com/react-component/field-form/pull/220) - -More see in [releases](https://github.com/react-component/field-form/releases). + diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 00000000..0d2f7f75 --- /dev/null +++ b/docs/index.md @@ -0,0 +1,5 @@ +--- +title: rc-field-form +--- + + diff --git a/package.json b/package.json index 7c0d9e20..3423abfa 100644 --- a/package.json +++ b/package.json @@ -53,21 +53,21 @@ "rc-util": "^5.0.0" }, "devDependencies": { - "@umijs/test": "^3.2.27", - "dumi": "^1.1.0-rc.1", - "father-build": "^1.18.6", - "gh-pages": "^3.1.0", - "prettier": "^2.1.2", "@types/enzyme": "^3.10.5", "@types/jest": "^25.2.1", "@types/lodash": "^4.14.135", "@types/react": "^16.8.19", "@types/react-dom": "^16.8.4", + "@umijs/test": "^3.2.27", + "dumi": "^1.1.0", "enzyme": "^3.1.0", "enzyme-adapter-react-16": "^1.0.2", "enzyme-to-json": "^3.1.4", "father": "^2.13.6", + "father-build": "^1.18.6", + "gh-pages": "^3.1.0", "np": "^5.0.3", + "prettier": "^2.1.2", "react": "^16.14.0", "react-dnd": "^8.0.3", "react-dnd-html5-backend": "^8.0.3",