a3500c453b8ca57a64dbbfb8dc28a1cb45b3e71d
25 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
ef74d01b11 |
Package patches updated to get rid of warnings
Summary: `patch-package antd metro metro-runtime rc-tabs` Reviewed By: timur-valiev Differential Revision: D33059716 fbshipit-source-id: c176a0ecbb61f17ddcb73f6162faf8c182b3feaf |
||
|
|
35c482ac92 |
Fix emotion cache output garbage in unit tests
Summary: emotion/cache started generating nonsense warnings about SSR again when running unit tests. This is because atm emotion/cache is 3(!) times in our dep tree, and the wrong one got patched. Tried to dedupe that, but it seems inevitable: - emotion/react requires v. 11.6.0 of it - emotion/css requires v. 11.5.0 because a newer version of that package hasn't been released - console-feed still uses emotion 10. So instead, just added an other patch Reviewed By: passy Differential Revision: D32557413 fbshipit-source-id: 8a61a8065d21123453b3345b25ff87a9865094ed |
||
|
|
2849c6b562 |
Fix emotion patch issue for 11.5
Summary: Fixed the patch of emotion/cache, which should fix failing master builds Reviewed By: lblasa Differential Revision: D32244641 fbshipit-source-id: becde569aa712f36ea63af6ce130aceff5807610 |
||
|
|
e708b2b693 |
Fix links not always opening outside Electron
Summary: Changelog: Fix links not always openening in the Browser As reported in https://fb.workplace.com/groups/flippersupport/permalink/1154240895056567/, in some cases links would open inside Flipper itself, and as a result the user would be stick as he can't navigate away. This happened only when a `Link` was being deconstructed from `Typography` by a module that was loaded before `Link.tsx`, which fixes `Typography.Link` to do that automatically. For example: ``` import {Typograph} from "antd" const {Link} = Typography; ``` Addressed this issue by patching the antd package directly during build, rather than during application start. Reviewed By: passy Differential Revision: D29193899 fbshipit-source-id: b291018406e343c0f7de1d1d899924902159d8c7 |
||
|
|
0212da0ba5 |
Re-applied patch for new version of @emotion/cache
Summary: Current patch was created for the previous version and patch-package shows warning about that on each yarn install. This diff re-applies the patch for the new version by invoking `patch-package emotion/cache` as suggested in the warning. Reviewed By: passy Differential Revision: D28443089 fbshipit-source-id: 277f8cdb1fb675b19685d9e98cdfdae6878b9ebc |
||
|
|
443152aae7 |
Fix antd patch
Summary: Current master is broken, because every click to button treated as two clicks. That leads to weird issues, e.g. enabling / disabling plugins doesn't work because it quickly enables plugin and then disables it back so it looks like nothing happens. Reviewed By: passy Differential Revision: D28364660 fbshipit-source-id: 1ded86c42b6a4a78f3a0f29c942b852f16b4f2d3 |
||
|
|
22974130c8 |
Fix metro patches after updating metro version
Summary: There was a warning in console on `yarn install` saying that patches should be reapplied because "metro" and "metro-runtime" updated, so I called `patch-package metro metro-runtime` to re-apply patches. Reviewed By: passy Differential Revision: D28312817 fbshipit-source-id: 5e8bcee2d75a50099e71ad9c2812c14ee2c7ce9c |
||
|
|
ef242a2b76 |
Bump antd from 4.12.2 to 4.15.4 in /desktop (#2301)
Summary: allow-large-files Bumps [antd](https://github.com/ant-design/ant-design) from 4.12.2 to 4.15.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ant-design/ant-design/releases">antd's releases</a>.</em></p> <blockquote> <h2>4.15.4</h2> <ul> <li>{emoji:1f41e} Fix Menu.Item width issue when <code>collapsedWidth</code> is set. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30357">#30357</a> <a href="https://github.com/Map1en"><code>@Map1en</code></a></li> <li>{emoji:1f41e} Fix Radio check spin style sometime height too long. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30367">#30367</a></li> <li>{emoji:1f41e} Fix Typography.Link open link when trigger <code>editable</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30354">#30354</a> <a href="https://github.com/John60676"><code>@John60676</code></a></li> <li>{emoji:1f41e} InputNumber clean up input will trigger <code>onChange(null)</code> now. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30337">#30337</a></li> <li>{emoji:1f41e} Fix Dropdown.Button broken style when inside Modal <code>footer</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30328">#30328</a> <a href="https://github.com/Map1en"><code>@Map1en</code></a></li> <li>{emoji:1f484} Replace Anchor default background from <code>#FFFFFF</code> to <code>transparent</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30336">#30336</a></li> <li>{emoji:1f310} Add <code>ko_KR</code> and <code>ja_JP</code> TimePicker.RangePicker placeholder. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30285">#30285</a> <a href="https://github.com/ChalkPE"><code>@ChalkPE</code></a></li> <li>TypeScript <ul> <li>� Fix Upload type definition of <code>beforeUpload</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30351">#30351</a> <a href="https://github.com/kerm1it"><code>@kerm1it</code></a></li> </ul> </li> </ul> <hr /> <ul> <li>{emoji:1f41e} 修复 Menu.Item 设置 <code>collapsedWidth</code> 时宽度错误的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30357">#30357</a> <a href="https://github.com/Map1en"><code>@Map1en</code></a></li> <li>{emoji:1f41e} 修复 Radio 选中样式有时高度略长的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30367">#30367</a></li> <li>{emoji:1f41e} 修复 Typography.Link 在 <code>editable</code> 模式下点击编辑会触发链接跳转的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30354">#30354</a> <a href="https://github.com/John60676"><code>@John60676</code></a></li> <li>{emoji:1f41e} InputNumber 现在清空输入框时会触发 <code>onChange(null)</code>。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30337">#30337</a></li> <li>{emoji:1f41e} 修复 Modal <code>footer</code> 里放置 Dropdown.Button 的样式错乱问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30328">#30328</a> <a href="https://github.com/Map1en"><code>@Map1en</code></a></li> <li>{emoji:1f484} 替换 Anchor 默认背景颜色从 <code>#FFFFFF</code> 改至 <code>transparent</code>。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30336">#30336</a></li> <li>{emoji:1f310} 添加 TimePicker.RangePicker <code>ko_KR</code> 和 <code>ja_JP</code> 的 <code>placeholder</code> 国际化。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30285">#30285</a> <a href="https://github.com/ChalkPE"><code>@ChalkPE</code></a></li> <li>TypeScript <ul> <li>� 修复 Upload 组件 <code>beforeUpload</code> 类型声明。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30351">#30351</a> <a href="https://github.com/kerm1it"><code>@kerm1it</code></a></li> </ul> </li> </ul> <h2>4.15.3</h2> <ul> <li>Table <ul> <li>{emoji:1f41e} Fix Table selection column width when bordered is true. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30304">#30304</a></li> <li>{emoji:1f6a8} Add warning when Table <code>current</code> is negative number. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30242">#30242</a> <a href="https://github.com/wadezhan"><code>@wadezhan</code></a></li> </ul> </li> <li>{emoji:1f41e} Fix Button <code>type="link"</code> should not redirect when it is <code>disabled</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30209">#30209</a></li> <li>{emoji:1f41e} Fix Upload appear errors when url of file is <code>null</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30215">#30215</a></li> <li>{emoji:1f41e} Fix padding on a SubMenu inside an ItemGroup. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30218">#30218</a> <a href="https://github.com/sebakerckhof"><code>@sebakerckhof</code></a></li> <li>{emoji:1f41e} Fix Checkbox & Radio align issue in flex box. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30260">#30260</a></li> <li>{emoji:1f41e} Fix Badge broken animation on spin icon. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30275">#30275</a></li> <li>{emoji:1f41e} Fix Input <code>disabled</code> hover style in Form. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30302">#30302</a> <a href="https://github.com/Fog3211"><code>@Fog3211</code></a></li> <li>TypeScript <ul> <li>� Fix Upload type definition of <code>beforeUpload</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30213">#30213</a></li> </ul> </li> </ul> <hr /> <ul> <li>Table <ul> <li>{emoji:1f41e} 修复选择列和边框冲突的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30304">#30304</a></li> <li>{emoji:1f6a8} 当 <code>current</code> 为负数时将在显示控制台警告。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30242">#30242</a> <a href="https://github.com/wadezhan"><code>@wadezhan</code></a></li> </ul> </li> <li>{emoji:1f41e} 修复 Button <code>type="link"</code> 添加 <code>disabled</code> 后仍然可点击跳转的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30209">#30209</a></li> <li>{emoji:1f41e} 修复 Upload 当文件 url 为 <code>null</code> 时渲染出错问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30215">#30215</a></li> <li>{emoji:1f41e} 修复 SubMenu 在 ItemGroup 内时的内边距。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30218">#30218</a> <a href="https://github.com/sebakerckhof"><code>@sebakerckhof</code></a></li> <li>{emoji:1f41e} 修复 Checkbox 和 Radio 在 flex 布局下的对齐问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30260">#30260</a></li> <li>{emoji:1f41e} 修复 Badge 上放置旋转图标的动画问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30275">#30275</a></li> <li>{emoji:1f41e} 修复 Form 错误校验状态下 Input <code>disabled</code> 的 hover 样式。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30302">#30302</a> <a href="https://github.com/Fog3211"><code>@Fog3211</code></a></li> <li>TypeScript <ul> <li>� 修复 Upload 组件 <code>beforeUpload</code> 类型声明。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30213">#30213</a></li> </ul> </li> </ul> <h2>4.15.3-alpha.0</h2> <h2>4.15.2</h2> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md">antd's changelog</a>.</em></p> <blockquote> <h2>4.15.4</h2> <p><code>2021-04-30</code></p> <ul> <li>{emoji:1f41e} Fix Menu.Item width issue when <code>collapsedWidth</code> is set. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30357">#30357</a> <a href="https://github.com/Map1en"><code>@Map1en</code></a></li> <li>{emoji:1f41e} Fix Radio check spin style sometime height too long. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30367">#30367</a></li> <li>{emoji:1f41e} Fix Typography.Link open link when trigger <code>editable</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30354">#30354</a> <a href="https://github.com/John60676"><code>@John60676</code></a></li> <li>{emoji:1f41e} InputNumber clean up input will trigger <code>onChange(null)</code> now. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30337">#30337</a></li> <li>{emoji:1f41e} Fix Dropdown.Button broken style when inside Modal <code>footer</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30328">#30328</a> <a href="https://github.com/Map1en"><code>@Map1en</code></a></li> <li>{emoji:1f484} Replace Anchor default background from <code>#FFFFFF</code> to <code>transparent</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30336">#30336</a></li> <li>{emoji:1f310} Add <code>ko_KR</code> and <code>ja_JP</code> TimePicker.RangePicker placeholder. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30285">#30285</a> <a href="https://github.com/ChalkPE"><code>@ChalkPE</code></a></li> <li>TypeScript <ul> <li>� Fix Upload type definition of <code>beforeUpload</code> and <code>UploadFile</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30351">#30351</a> <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30343">#30343</a> <a href="https://github.com/kerm1it"><code>@kerm1it</code></a></li> </ul> </li> </ul> <h2>4.15.3</h2> <p><code>2021-04-25</code></p> <ul> <li>Table <ul> <li>{emoji:1f41e} Fix Table selection column width when bordered is true. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30304">#30304</a></li> <li>{emoji:1f6a8} Add warning when Table <code>current</code> is negative number. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30242">#30242</a> <a href="https://github.com/wadezhan"><code>@wadezhan</code></a></li> </ul> </li> <li>{emoji:1f41e} Fix Button <code>type="link"</code> should not redirect when it is <code>disabled</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30209">#30209</a></li> <li>{emoji:1f41e} Fix Upload appear errors when url of file is <code>null</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30215">#30215</a></li> <li>{emoji:1f41e} Fix padding on a SubMenu inside an ItemGroup. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30218">#30218</a> <a href="https://github.com/sebakerckhof"><code>@sebakerckhof</code></a></li> <li>{emoji:1f41e} Fix Checkbox & Radio align issue in flex box. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30260">#30260</a></li> <li>{emoji:1f41e} Fix Badge broken animation on spin icon. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30275">#30275</a></li> <li>{emoji:1f41e} Fix Input <code>disabled</code> hover style in Form. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30302">#30302</a> <a href="https://github.com/Fog3211"><code>@Fog3211</code></a></li> <li>TypeScript <ul> <li>� Fix Upload type definition of <code>beforeUpload</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30213">#30213</a> <a href="https://github.com/hello-chinese"><code>@hello-chinese</code></a></li> </ul> </li> </ul> <h2>4.15.2</h2> <p><code>2021-04-19</code></p> <ul> <li>{emoji:1f41e} Fix Tabs <code>centered</code> doesn't work. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30106">#30106</a> <a href="https://github.com/kerm1it"><code>@kerm1it</code></a></li> <li>{emoji:1f484} Fix Button <code>type="link"</code> disabled cursor style missing. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30197">#30197</a></li> <li>{emoji:1f41e} Fix TextArea <code>onChange</code> event return <code>target</code> object is not a HTMLTextArea object. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30124">#30124</a></li> <li>{emoji:1f41e} Files in Upload <code>fileList</code> will always have uid. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30087">#30087</a> <a href="https://github.com/jameslahm"><code>@jameslahm</code></a></li> <li>{emoji:1f484} Fix Badge toggle style when <code>status</code> is <code>warning</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30090">#30090</a> <a href="https://github.com/jameslahm"><code>@jameslahm</code></a></li> <li>{emoji:1f310} Add Image component <code>preview</code> text in zh_HK and zh_TW. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30100">#30100</a> <a href="https://github.com/jameslahm"><code>@jameslahm</code></a></li> <li>{emoji:1f310} add da_DK locale TimePicker.RangePicker. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30128">#30128</a> <a href="https://github.com/themitvp"><code>@themitvp</code></a></li> <li>TypeScript <ul> <li>� Modify LIST_IGNORE field is of string type. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/30188">#30188</a> <a href="https://github.com/hello-chinese"><code>@hello-chinese</code></a></li> </ul> </li> </ul> <h2>4.15.1</h2> <p><code>2021-04-10</code></p> <ul> <li>{emoji:1f41e} Fix Descriptions <code>labelStyle</code> <code>contentStyle</code> unsuccessful when <code>layout="vertical"</code> and <code>bordered={true}</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/29942">#29942</a></li> <li>{emoji:1f41e} Upload won't crash when <code>fileList</code> is a frozen object now. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/29944">#29944</a></li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
0f8a21f431 |
Fix some unit test warnings
Summary: Supress a bunch of ugly emotion warnings, which are completely irrelevant to use as they are about SSR. Also made stacktrac e a bit longer by default. Reviewed By: passy Differential Revision: D28226306 fbshipit-source-id: 9060cf2c349a265ce6b479eea252fdcfc9a6c5f2 |
||
|
|
37a7b16774 |
Introduce Tabs
Summary: Ant'd tabs didn't allow for vertical fill out. Introduced our own tiny wrapper that has `grow` by default. Also made sure the users last selection is remembered. Reviewed By: cekkaewnumchai Differential Revision: D28026345 fbshipit-source-id: 7703bc241cd1427336b7c917bdb5be9f56bba9b9 |
||
|
|
fce723eaca |
Metro and Babel upgraded
Summary: Upgraded Metro to 0.65.2 which contains the fix for regression which blocked us previously (https://github.com/facebook/metro/issues/641). Also upgraded Babel to the latest available versions as anyway most of its packages were upgraded together with Metro. Reviewed By: passy Differential Revision: D26777168 fbshipit-source-id: f325e0ba46a95e15605a7b15a793d714b1027061 |
||
|
|
5c9b06621f |
Re-applied patch for antd 4.12.2
Summary:
I've noticed a warning during Flipper build that the antd patch was created for an earlier version of antd, so I did what was suggested in the warning message to get rid of this warning:
```
Warning: patch-package detected a patch file version mismatch
Don't worry! This is probably fine. The patch was still applied
successfully. Here's the deets:
Patch file created for
antd@4.11.2
applied to
antd@4.12.2
At path
node_modules/antd
This warning is just to give you a heads-up. There is a small chance of
breakage even though the patch was applied successfully. Make sure the package
still behaves like you expect (you wrote tests, right?) and then run
patch-package antd
to update the version in the patch file name and make this warning go away.
```
Reviewed By: fabiomassimo
Differential Revision: D26724100
fbshipit-source-id: 2f548c92f61e5d300d772913baf8b8e4f8fb87ef
|
||
|
|
2f03aca5eb |
Revert D26222885: Upgrade metro to 0.65.0
Differential Revision:
D26222885 (
|
||
|
|
9fe82dd6c7 |
Upgrade metro to 0.65.0
Summary: Upgrade metro to 0.65.0 Reviewed By: passy Differential Revision: D26222885 fbshipit-source-id: bb386ae4bc913d47d9f3431368e45c6319f0d65d |
||
|
|
e09e3c82ee |
Bump antd from 4.9.1 to 4.11.2 in /desktop (#1886)
Summary: allow-large-files Bumps [antd](https://github.com/ant-design/ant-design) from 4.9.1 to 4.11.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ant-design/ant-design/releases">antd's releases</a>.</em></p> <blockquote> <h2>4.11.2</h2> <ul> <li>{emoji:1f41e} Fix rc-trigger BuildInPlacements TypeScript compile error. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/29029">#29029</a> <a href="https://github.com/waiwaiku"><code>waiwaiku</code></a></li> </ul> <hr /> <ul> <li>{emoji:1f41e} 修复 rc-trigger BuildInPlacements TypeScript 编译错误。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/29029">#29029</a> <a href="https://github.com/waiwaiku"><code>waiwaiku</code></a></li> </ul> <h2>4.11.1</h2> <ul> <li>{emoji:1f484} Layout inline sub menu now has grey background. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28842">#28842</a></li> <li>{emoji:1f195} PageHeader supports <code>breadcrumbRender</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28999">#28999</a></li> <li>{emoji:1f195} Typography <code>ellipsis</code> support <code>tooltip</code> to customize tooltip when ellipsis. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28821">#28821</a></li> <li>Image <ul> <li>{emoji:1f195} Image supports <code>preview.maskClassName</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28681">#28681</a></li> <li>{emoji:1f41e} Fix preview image will move after click it. <a href="https://github-redirect.dependabot.com/react-component/image/pull/61">react-component/image#61</a> <a href="https://github.com/simonwong"><code>simonwong</code></a></li> <li>{emoji:1f41e} Fix Image <code>placeholder</code> disappear issue. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/28953">#28953</a></li> <li>{emoji:1f41e} Fix multiple Image.PreviewGroup contain same image. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/28881">#28881</a></li> </ul> </li> <li>ConfigProvider <ul> <li>{emoji:1f195} ConfigProvider supports <code>iconPrefixCls</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28924">#28924</a></li> <li>{emoji:26a1} Optimize ConfigProvider props updating perfermance. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28792">#28792</a> <a href="https://github.com/zxc0328"><code>zxc0328</code></a></li> </ul> </li> <li>{emoji:1f484} Tweak TreeSelect filter highlight color. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28984">#28984</a></li> <li>{emoji:1f484} Fix Select item align style with custom <code>tagRender</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28962">#28962</a></li> <li>Form <ul> <li>{emoji:1f41e} Fix Form.Item can not clear nested <code>noStyle</code> error message. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28918">#28918</a></li> <li>{emoji:1f41e} Form.Item with <code>preserve=false</code> will reset value to <code>initialValues</code> when removed. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28908">#28908</a></li> </ul> </li> <li>{emoji:1f41e} Fix Button click effect style not working in shadow root. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28995">#28995</a> <a href="https://github.com/rinick"><code>rinick</code></a></li> <li>{emoji:1f41e} Fix Table custom filter menu cannot close bug. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28688">#28688</a> <a href="https://github.com/alekye"><code>alekye</code></a></li> <li>Less <ul> <li>{emoji:1f484} Add <code>menu-inline-submenu-bg</code> less variable and rename <code>menu-dark-submenu-bg</code> to <code>menu-dark-inline-submenu-bg</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28842">#28842</a></li> <li>{emoji:1f484} Add less variable <code>drawer-footer-padding-horizontal</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28975">#28975</a> <a href="https://github.com/yuxuan"><code>yuxuan</code></a></li> </ul> </li> <li>RTL <ul> <li>{emoji:1f484} Fix Card actions divider style in RTL. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28915">#28915</a> <a href="https://github.com/Aghosey"><code>Aghosey</code></a></li> </ul> </li> <li>TypeScript <ul> <li>� Expose interfaces and types from default entry of antd. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28963">#28963</a></li> <li>� Improve Input/Skeleton <code>style</code> definition. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28966">#28966</a> <a href="https://github.com/yingpengsha"><code>yingpengsha</code></a></li> </ul> </li> </ul> <hr /> <ul> <li>{emoji:1f484} Layout 内联子表单添加背景颜色以更好的区分层级。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28842">#28842</a></li> <li>{emoji:1f195} PageHeader 支持 <code>breadcrumbRender</code> 属性。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28999">#28999</a></li> <li>{emoji:1f195} Typography <code>ellipsis</code> 属性添加 <code>tooltip</code> 支持以自定义收缩时的提示信息。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28821">#28821</a></li> <li>Image <ul> <li>{emoji:1f195} Image 支持配置 <code>preview.maskClassName</code>。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28681">#28681</a></li> <li>{emoji:1f41e} 修复预览图片会跟随鼠标移动的问题。<a href="https://github-redirect.dependabot.com/react-component/image/pull/61">react-component/image#61</a> <a href="https://github.com/simonwong"><code>simonwong</code></a></li> <li>{emoji:1f41e} 修复 Image <code>placeholder</code> 不显示的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/28953">#28953</a></li> <li>{emoji:1f41e} 修复多个 Image.PreviewGroup 之间图片互串的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/28881">#28881</a></li> </ul> </li> <li>ConfigProvider</li> <li>ConfigProvider <ul> <li>{emoji:1f195} ConfigProvider 支持 <code>iconPrefixCls</code> 修改图标样式前缀。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28924">#28924</a></li> <li>{emoji:26a1} 优化 ConfigProvider 切换属性的性能。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28792">#28792</a> <a href="https://github.com/zxc0328"><code>zxc0328</code></a></li> </ul> </li> <li>{emoji:1f484} 调整 TreeSelect 搜索高亮条目的颜色。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28984">#28984</a></li> <li>{emoji:1f484} 修复 Select 自定义 <code>tagRender</code> 时不对齐的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28962">#28962</a></li> <li>Form <ul> <li>{emoji:1f41e} 修复 Form.Item 无法正确清理嵌套的 <code>noStyle</code> 错误信息问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28918">#28918</a></li> <li>{emoji:1f41e} Form.Item 配置 <code>preserve=false</code> 时,移除该字段将自动重置对应值为 <code>initialValues</code>。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28908">#28908</a></li> </ul> </li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md">antd's changelog</a>.</em></p> <blockquote> <h2>4.11.2</h2> <p><code>2021-01-26</code></p> <ul> <li>{emoji:1f41e} Fix rc-trigger BuildInPlacements TypeScript compile error. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/29029">#29029</a> <a href="https://github.com/waiwaiku"><code>waiwaiku</code></a></li> </ul> <h2>4.11.1</h2> <p><code>2021-01-24</code></p> <ul> <li>{emoji:1f484} Layout inline sub menu now has grey background. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28842">#28842</a></li> <li>{emoji:1f195} PageHeader supports <code>breadcrumbRender</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28999">#28999</a></li> <li>{emoji:1f195} Typography <code>ellipsis</code> support <code>tooltip</code> to customize tooltip when ellipsis. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28821">#28821</a></li> <li>Image <ul> <li>{emoji:1f195} Image supports <code>preview.maskClassName</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28681">#28681</a></li> <li>{emoji:1f41e} Fix preview image will move after click it. <a href="https://github-redirect.dependabot.com/react-component/image/pull/61">react-component/image#61</a> <a href="https://github.com/simonwong"><code>simonwong</code></a></li> <li>{emoji:1f41e} Fix Image <code>placeholder</code> disappear issue. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/28953">#28953</a></li> <li>{emoji:1f41e} Fix multiple Image.PreviewGroup contain same image. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/issues/28881">#28881</a></li> </ul> </li> <li>ConfigProvider <ul> <li>{emoji:1f195} ConfigProvider supports <code>iconPrefixCls</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28924">#28924</a></li> <li>{emoji:26a1} Optimize ConfigProvider props updating perfermance. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28792">#28792</a> <a href="https://github.com/zxc0328"><code>zxc0328</code></a></li> </ul> </li> <li>{emoji:1f484} Tweak TreeSelect filter highlight color. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28984">#28984</a></li> <li>{emoji:1f484} Fix Select item align style with custom <code>tagRender</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28962">#28962</a></li> <li>Form <ul> <li>{emoji:1f41e} Fix Form.Item can not clear nested <code>noStyle</code> error message. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28918">#28918</a></li> <li>{emoji:1f41e} Form.Item with <code>preserve=false</code> will reset value to <code>initialValues</code> when removed. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28908">#28908</a></li> </ul> </li> <li>{emoji:1f41e} Fix Button click effect style not working in shadow root. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28995">#28995</a> <a href="https://github.com/rinick"><code>rinick</code></a></li> <li>{emoji:1f41e} Fix Table custom filter menu cannot close bug. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28688">#28688</a> <a href="https://github.com/alekye"><code>alekye</code></a></li> <li>Less <ul> <li>{emoji:1f484} Add <code>menu-inline-submenu-bg</code> less variable and rename <code>menu-dark-submenu-bg</code> to <code>menu-dark-inline-submenu-bg</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28842">#28842</a></li> <li>{emoji:1f484} Add less variable <code>drawer-footer-padding-horizontal</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28975">#28975</a> <a href="https://github.com/yuxuan"><code>yuxuan</code></a></li> </ul> </li> <li>RTL <ul> <li>{emoji:1f484} Fix Card actions divider style in RTL. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28915">#28915</a> <a href="https://github.com/Aghosey"><code>Aghosey</code></a></li> </ul> </li> <li>TypeScript <ul> <li>� Expose interfaces and types from default entry of antd. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28963">#28963</a></li> <li>� Improve Input/Skeleton <code>style</code> definition. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28966">#28966</a> <a href="https://github.com/yingpengsha"><code>yingpengsha</code></a></li> </ul> </li> </ul> <h2>4.11.0</h2> <p><code>2021-01-24</code></p> <p>It is a wrong release which same as <code>4.10.3</code>, don't use it.</p> <h2>4.10.3</h2> <p><code>2021-01-18</code></p> <ul> <li>{emoji:1f41e} Fix Button not adapting to the <code>btn-border-width</code> when loading. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28886">#28886</a> <a href="https://github.com/jjanssen"><code>jjanssen</code></a></li> <li>Table <ul> <li>{emoji:1f484} Add <code>table-border-color</code> less variable. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28903">#28903</a></li> </ul> </li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
91b501d0ed |
Bump antd from 4.6.6 to 4.9.1 in /desktop (#1734)
Summary: allow-large-files Bumps [antd](https://github.com/ant-design/ant-design) from 4.6.6 to 4.9.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ant-design/ant-design/releases">antd's releases</a>.</em></p> <blockquote> <h2>4.9.1</h2> <ul> <li>TypeScript <ul> <li>� Fix Collapse.Panel <code>collapsible</code> property to optional. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28092">#28092</a> <a href="https://github.com/sammarks">sammarks</a></li> </ul> </li> </ul> <hr /> <ul> <li>TypeScript <ul> <li>� 修复 Collapse.Panel 可折叠属性 <code>collapsible</code> 为可选。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28092">#28092</a> <a href="https://github.com/sammarks">sammarks</a></li> </ul> </li> </ul> <h2>4.9.0</h2> <ul> <li>Modal <ul> <li>{emoji:1f195} Modal support <code>focusTriggerAfterClose</code> to disable auto focus back. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27985">#27985</a> <a href="https://github.com/molokovev">molokovev</a></li> <li>{emoji:1f41e} Fix Modal hooks not trigger <code>onCancel</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28063">#28063</a> <a href="https://github.com/JuniorTour">JuniorTour</a></li> <li>{emoji:1f41e} Fix Modal sometime not popup from the click position. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28037">#28037</a></li> <li>{emoji:1f195} Support <code>closable</code> and <code>closeIcon</code> api for Modal.method. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27909">#27909</a> <a href="https://github.com/MrHeer">MrHeer</a></li> </ul> </li> <li>{emoji:1f484} Reduce Table selection column width to <code>32px</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28073">#28073</a></li> <li>Image <ul> <li>{emoji:1f525} Image add PreviewGroup component to support multiple images preview. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28069">#28069</a></li> <li>{emoji:1f41e} Fix Image style prop not acting on img element. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27446">#27446</a></li> </ul> </li> <li>Collapse <ul> <li>{emoji:1f525} Collapse support <code>collapsible</code> to customize trigger region and deprecated Panel <code>disabled</code> prop. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27790">#27790</a></li> <li>{emoji:1f41e} Fix Collapse cannot contains <code><Table sticky /></code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28039">#28039</a></li> </ul> </li> <li>{emoji:1f41e} Fix Cascader bug that empty data can be selected. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28062">#28062</a> <a href="https://github.com/n0ruSh">n0ruSh</a></li> <li>{emoji:1f195} Alert support <code>action</code> prop. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/25892">#25892</a> <a href="https://github.com/jesse3mh9a">jesse3mh9a</a></li> <li>{emoji:1f525} Tree refactor drag behavior. Add <code>dropIndicatorRender</code> and <code>allowDrop</code> prop. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26462">#26462</a> <a href="https://github.com/07akioni">07akioni</a></li> <li>{emoji:1f195} Space support <code>wrap</code> for auto break line. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27910">#27910</a></li> <li>{emoji:1f195} Descriptions.Item support <code>labelStyle</code> & <code>contentStyle</code> props. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27897">#27897</a></li> <li>{emoji:1f195} Form.List support <code>initialValue</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27872">#27872</a></li> <li>{emoji:1f195} Menu supports <code>expandIcon</code>, and optimize default expand icon style. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27565">#27565</a></li> <li>{emoji:1f195} Input and TextArea add <code>setSelectionRange</code> of <code>ref</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27584">#27584</a> <a href="https://github.com/appleshell">appleshell</a></li> <li>{emoji:1f195} Select support <code>filterSort</code> to order the filtered options. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27523">#27523</a> <a href="https://github.com/n0ruSh">n0ruSh</a></li> <li>{emoji:1f1f0_1f1ff} Add Kazakh locale. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27589">#27589</a> <a href="https://github.com/nodkz">nodkz</a></li> </ul> <hr /> <ul> <li>Modal <ul> <li>{emoji:1f195} Modal 支持 <code>focusTriggerAfterClose</code> 以关闭自动恢复焦点的功能。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27985">#27985</a> <a href="https://github.com/molokovev">molokovev</a></li> <li>{emoji:1f41e} 修复 Modal hooks 没有触发 <code>onCancel</code> 的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28063">#28063</a> <a href="https://github.com/JuniorTour">JuniorTour</a></li> <li>{emoji:1f41e} 修复 Modal 有时不在点击位置弹出的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28037">#28037</a></li> <li>{emoji:1f195} Modal.method 支持 <code>closable</code> 和 <code>closeIcon</code>。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27909">#27909</a> <a href="https://github.com/MrHeer">MrHeer</a></li> </ul> </li> <li>{emoji:1f484} 减少 Table 选中列宽度至 <code>32px</code>。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28073">#28073</a></li> <li>Image <ul> <li>{emoji:1f525} Image 增加 PreviewGroup 组件支持多张图片预览。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28069">#28069</a></li> <li>{emoji:1f41e} 修复 Image style 属性未作用于 img 元素的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27446">#27446</a></li> </ul> </li> <li>Collapse <ul> <li>{emoji:1f525} Collapse 添加 <code>collapsible</code> 以支持指定可折叠触发区域并废弃 Panel 的 <code>disabled</code> 属性。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27790">#27790</a></li> <li>{emoji:1f41e} 修复 Collapse 内使用 <code><Table sticky /></code> 时不生效的问题。<a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28039">#28039</a></li> </ul> </li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ant-design/ant-design/blob/master/CHANGELOG.en-US.md">antd's changelog</a>.</em></p> <blockquote> <h2>4.9.1</h2> <p><code>2020-12-01</code></p> <ul> <li>TypeScript <ul> <li>� Fix Collapse.Panel <code>collapsible</code> property to optional. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28092">#28092</a> <a href="https://github.com/sammarks">sammarks</a></li> </ul> </li> </ul> <h2>4.9.0</h2> <p><code>2020-11-30</code></p> <ul> <li>Modal <ul> <li>{emoji:1f195} Modal support <code>focusTriggerAfterClose</code> to disable auto focus back. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27985">#27985</a> <a href="https://github.com/molokovev">molokovev</a></li> <li>{emoji:1f41e} Fix Modal hooks not trigger <code>onCancel</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28063">#28063</a> <a href="https://github.com/JuniorTour">JuniorTour</a></li> <li>{emoji:1f41e} Fix Modal sometime not popup from the click position. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28037">#28037</a></li> <li>{emoji:1f195} Support <code>closable</code> and <code>closeIcon</code> api for Modal.method. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27909">#27909</a> <a href="https://github.com/MrHeer">MrHeer</a></li> </ul> </li> <li>{emoji:1f484} Reduce Table selection column width to <code>32px</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28073">#28073</a></li> <li>Image <ul> <li>{emoji:1f525} Image add PreviewGroup component to support multiple images preview. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28069">#28069</a></li> <li>{emoji:1f41e} Fix Image style prop not acting on img element. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27446">#27446</a></li> </ul> </li> <li>Collapse <ul> <li>{emoji:1f525} Collapse support <code>collapsible</code> to customize trigger region and deprecated Panel <code>disabled</code> prop. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27790">#27790</a></li> <li>{emoji:1f41e} Fix Collapse cannot contains <code><Table sticky /></code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28039">#28039</a></li> </ul> </li> <li>{emoji:1f41e} Fix Cascader bug that empty data can be selected. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28062">#28062</a> <a href="https://github.com/n0ruSh">n0ruSh</a></li> <li>{emoji:1f195} Alert support <code>action</code> prop. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/25892">#25892</a> <a href="https://github.com/jesse3mh9a">jesse3mh9a</a></li> <li>{emoji:1f525} Tree refactor drag behavior. Add <code>dropIndicatorRender</code> and <code>allowDrop</code> prop. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/26462">#26462</a> <a href="https://github.com/07akioni">07akioni</a></li> <li>{emoji:1f195} Space support <code>wrap</code> for auto break line. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27910">#27910</a></li> <li>{emoji:1f195} Descriptions.Item support <code>labelStyle</code> & <code>contentStyle</code> props. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27897">#27897</a></li> <li>{emoji:1f195} Form.List support <code>initialValue</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27872">#27872</a></li> <li>{emoji:1f195} Menu supports <code>expandIcon</code>, and optimize default expand icon style. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27565">#27565</a></li> <li>{emoji:1f195} Input and TextArea add <code>setSelectionRange</code> of <code>ref</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27584">#27584</a> <a href="https://github.com/appleshell">appleshell</a></li> <li>{emoji:1f195} Select support <code>filterSort</code> to order the filtered options. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27523">#27523</a> <a href="https://github.com/n0ruSh">n0ruSh</a></li> <li>{emoji:1f1f0_1f1ff} Add Kazakh locale. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27589">#27589</a> <a href="https://github.com/nodkz">nodkz</a></li> </ul> <h2>4.8.6</h2> <p><code>2020-11-27</code></p> <ul> <li>{emoji:1f41e} Fix Badge style blink when mounted. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28003">#28003</a></li> <li>{emoji:1f484} Reduce Modal style size. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27998">#27998</a></li> <li>{emoji:1f41e} Fix Layout.Sider can not collapse when <code>width='0'</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28000">#28000</a></li> <li>{emoji:1f41e} Fix Menu style when using none Ant Design icons. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27983">#27983</a></li> <li>Input <ul> <li>{emoji:1f41e} Fix Input.Search button height when customize less variables. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27986">#27986</a></li> <li>{emoji:1f41e} Fix Input.Search <code>addonBefore</code> abnormal style. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27960">#27960</a></li> </ul> </li> <li>{emoji:1f41e} Fix Typography.Link clicking copy button will redirect. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27982">#27982</a></li> <li>{emoji:1f41e} Fix Carousel throws error <code>Unable to preventDefault inside passive event listener</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/27957">#27957</a></li> <li>{emoji:1f310} Improve data picker locale for <code>en_GB</code> and <code>zh_TW</code>. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28016">#28016</a> <a href="https://github.com/abz53378">abz53378</a></li> <li>RTL <ul> <li>{emoji:1f484} Optimize the border style of Descriptions in RTL model. <a href="https://github-redirect.dependabot.com/ant-design/ant-design/pull/28010">#28010</a></li> </ul> </li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
dd6f39c2b3 |
Wire up Tracking to different ant.design elements
Summary:
This wires up tracking directly to the ANT component library for the following components:
1. `Button`
2. `Collapse.Panel`
3. `Tabs`
Other less commonly used elements can be connected in the future if needed.
I played a bit with different patterns, but in testing the patch-package patching give the most reliable results. Alternatives considered:
1. Expect users to explicitly wrap there components, e.g. `<Tracked><Button>Hi</Button></Tracked>`
1. Didn't implement this because it would be very common to forget, and at the moment you want to make some analysis you'll discover there is no interesting data available. I think for tracking we want to have opt-out rather than opt-in
2. The additional wrapping can cause some subtile layout issues due to static field inspection / forwarded refs (e.g. Ant often has an assumption that relevant children types are _directly_ nested under their parent element. For examle `<Tooltip><Tracked><Button>` does not work as expected
2. Expose our own `Button` / `Collapse` / `Tabs` that applies `Tracked` to an underlying Ant component.
1. also suffers from 1.b.
2. It is gonna be quite confusing for other devs that some elements would need to be imported from `flipper-plugin`, ant some from `antd`, and that this is likely to change over time. We could lint against it, but it will be still suboptimal
Reviewed By: jknoxville
Differential Revision: D25196321
fbshipit-source-id: b559356498c3191a283062a88daacb354b0f79f4
|
||
|
|
35a433d1a3 |
Bump metro from 0.60.0 to 0.63.0 in /desktop (#1606)
Summary: Bumps [metro](https://github.com/facebook/metro) from 0.60.0 to 0.63.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro's releases</a>.</em></p> <blockquote> <h2>Release v0.63.0</h2> <ul> <li>[fix] Change initialisation logo and text from RN to Metro</li> </ul> <h2>Release v0.62.0</h2> <ul> <li>[feature] Add onBundleBuilt to ServerOptions</li> </ul> <h2>Release v0.61.0</h2> <p>Contains all changes since 0.60.0:</p> <ul> <li>[Feature]: Add support for blockList and array of regexs</li> <li>[Fix]: Change order of imports to be the same as in source files</li> <li>[Feature]: Add new secureServerOptions option to runServer</li> <li>[Feature]: Add inline-requires option</li> <li>[PetPeeve]: Metro server => Metro</li> </ul> <p>See <a href="https://github.com/facebook/metro/compare/0.60.0...0.61.0">0.59.0...0.60.0</a> for a full list of changes.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
30213e118f |
Update Metro to 0.60.0 (#1380)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/1380 Updated Metro to 0.60.0 Reviewed By: mweststrate Differential Revision: D22453798 fbshipit-source-id: 14c5bacf88bc31bd3dd06ad42edf271769a4a669 |
||
|
|
a2e77f5da0 |
Patch metro to avoid erasing "process" global var
Summary: Patch for "metro" to avoid erasing of "process" global var during bundling. Also removed "process" babel transform for main Electron process which was also made to workaround the same issue with "process" being erased. Reviewed By: mweststrate Differential Revision: D22389153 fbshipit-source-id: 569882e20534eedfca45509b8efe0186d335c681 |
||
|
|
89de3d4ae2 |
Disable require cycle warnings
Summary: The holier-than-thou warnings of metro about require cycles are annoying. Require cycles are generally speaking well handles by ESM, and cause only harm if modules themselves are stateful, which is a bad smell. But warning for every cycle is just a flooding of false positives and removes the insentive to drop actual warnings. Reviewed By: jknoxville Differential Revision: D21859908 fbshipit-source-id: 66ec9a619a3737ccab5b16d11be5623d1d97c9f6 |
||
|
|
ec7cbd7f14 |
Fixed the patch disabling warnings for cyclic dependencies inside node_modules
Summary: Fixed the patch disabling warnings for cyclic dependencies inside node_modules. It broke after I changed the way of bundling plugins. Reviewed By: passy Differential Revision: D21065488 fbshipit-source-id: f8891f007d14d2475df517b28452dc0b8346f113 |
||
|
|
627cc8fe7f |
Update Metro
Summary: Updated Metro to the latest version 0.59.0 Reviewed By: passy Differential Revision: D21027614 fbshipit-source-id: 0b2c1c422dfed7e8426bb9a36c5626f3a96eb8f6 |
||
|
|
527d417ab4 |
Suppress Metro warning about cyclic dependencies in node_modules
Summary: Metro shows cyclic dependencies warnings in dev mode even if they are caused by 3rd party packages installed into node_modules. This produces a lot of noise, but totally unactionable. In this diff I have implemented patch for "metro" package wich disables these unactionable warnings. Reviewed By: passy Differential Revision: D20835057 fbshipit-source-id: 2aebc59a0f8c0adfc768ed4c170e5d0b9ced7e0e |
||
|
|
85c13bb1f3 |
Move desktop-related code to "desktop" subfolder (#872)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/872 Move all the JS code related to desktop app to "desktop" subfolder. The structure of "desktop" folder: - `src` - JS code of Flipper desktop app executing in Electron Renderer (Chrome) process. This folder also contains all the Flipper plugins in subfolder "src/plugins". - `static` - JS code of Flipper desktop app bootstrapping executing in Electron Main (Node.js) process - `pkg` - Flipper packaging lib and CLI tool - `doctor` - Flipper diagnostics lib and CLI tool - `scripts` - Build scripts for Flipper desktop app - `headless` - Headless version of Flipper app - `headless-tests` - Integration tests running agains Flipper headless version Reviewed By: passy Differential Revision: D20249304 fbshipit-source-id: 9a51c63b51b92b758a02fc8ebf7d3d116770efe9 |