龙风
1cec18e8eb
fix: component.displayName To distinguish the environment ( #36126 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:24:52 +08:00
Di Wu
fe23374871
fix: Invalid hook dependency array in Sider and Row ( #33804 )
2022-01-21 18:39:47 +08:00
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
...
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-26 12:18:21 +08:00
陈帅
0d1b1c40a6
merge featrue into master ( #30636 )
...
* feat: add Table expandable fixed (#29959 )
* fix: Use flex gap of space (#30023 )
* fix: use flex gap when supported
* test: update snapshot
* refactor: Use single hooks
* feat: Allow breadcrumb component in PageHeader (#30019 )
* Allow breadcrumb component in PageHeader
* Allow breadcrumb component in PageHeader
* Allow breadcrumb component in PageHeader
* Rename variable
rename var from _breadcrumbRender to breadcrumbRenderDomFromProps
* feat: add onChange for Statistic.Countdown (#30265 )
* feat: add onChange for countdown
* update the demo
* feat(upload): add onDrop (#30319 )
* feat(upload): Add onDrop
* Replace "if prop" logic with existential operator
* Remove redundant conditional
* feat(upload): itemRender add actions params (#30236 )
* feat(upload): itemRender add actions params
* chore: optimize type definition
* chore: update doc
* chore: rename actions
* chore: trigger ci
* chore: rename method name of actions
* feat: Add missing dutch translations (#30389 )
* feat: Add missing dutch translations
* fix: Translate remaining english values
* fix: Update snapshot for ui tests
* test: increase code coverage to 100% (#30415 )
* test: fix Space code coverage
* test: should use nl_BE locale for DatePicker
* fix: Switch tabIndex type (#30416 )
* feat: updated Romanian internationalization (#30419 )
* feat: updated Romanian internationalization
* fixed lint error
* feat: Menu support accessibility & keyboard access (#30382 )
* chore: Use focus style
* fix: prefixCls
* fix: prefixCls
* fix: inline tooltip
* fix: inlineCollapse logic
* fix: ts definition
* test: Update snapshot
* test: Update snapshot
* fix: dropdown logic
* test: Update snapshot
* test: Fix some test case
* bump rc-menu
* test: More test case
* fix test finder
* test: fix test case
* test: Update snapshot
* test: Update snapshot
* chore: Update ssr effect
* test: Update ConfigProvider snapshot
* test: Fix Table Filter test case
* test: Fix table test case
* chore: Update style
* chore: beauti css
* bump rc-menu
* test: update snapshot
* test: update snapshot
* test: Fix menu test
* test: Fix test case
* test: Coverage
* chore: clean up
* bump rc-menu
* ehance accessibility style
* feat(radioGroup): support data-* and aria-* props (#30507 )
close #30501
* feat: Typography add italic type (#30458 )
* Typography增加斜体字支持
* update snapshot
* 文档添加版本号
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
* chore: alpha Menu fix merge (#30546 )
* chore: Update script
* bump alpha version
* chore: Update script desc
* chore: bump rc-tabs & rc-mentions
* chore: Adjust style
* chore: 4.16.0-alpha.1
* test: Fix mention test case
* fix: sider of layout width style
* chore: bump 4.16.0-alpha.2
* fix: Tabs tabBarGutter should work as expected (#30545 )
close #30526
* feat: Table summary support sticky mode (#30631 )
* chore: Bump rc-table
* feat: Patch summary fixed color
* fix: style className
* test: Update snapshot
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: gepd <guillermoepd@hotmail.com>
Co-authored-by: appleshell <appleshell@outlook.com>
Co-authored-by: Eric Bonow <ebonow@hotmail.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
Co-authored-by: Lewis <lewisfidlers@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Ștefan Filip <stefy.filip@gmail.com>
Co-authored-by: vldh <alwaysloseall@sina.com>
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
2021-05-24 16:24:00 +08:00
dependabot[bot]
6697e96789
chore(deps-dev): bump typescript from 4.1.5 to 4.2.2 ( #29448 )
...
* chore(deps-dev): bump typescript from 4.1.5 to 4.2.2
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.1.5 to 4.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/commits )
Signed-off-by: dependabot[bot] <support@github.com>
* fix tsc errors
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-02-24 20:46:12 +08:00
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
...
* refactor: use optional chaining instead of if
* revert some code
2021-02-19 18:26:53 +08:00
qramilq
9f0e5e5e2f
feat: added ref support to Sider component ( #29169 )
...
* feat: added ref support to Sider component
* test: updated Layout tests (check for ref)
Co-authored-by: Аюпов Рамиль Ильдарович <RAyupov@stream.ru>
2021-02-02 19:58:41 +08:00
二货机器人
4315ac567c
chore: replace omit ( #28846 )
...
* chore: Replace omit.js with rc-util omit
* chore: Replace omit.js with rc-util omit
* fix ts
* fix ts
* fix ts
2021-01-13 21:00:30 +08:00
二货机器人
e19d0e0357
fix: zeroWidth trigger sider not collapsible ( #28000 )
...
* test: Test driven
* fix: Hooks for reuse
* test: More test case
2020-11-25 17:28:17 +08:00
Tom Xu
050185bce1
refactor(layout.sider): rewrite with hook ( #27719 )
...
* refactor(sider): rewrite with hook
* Update layout.tsx
* Update layout.tsx
2020-11-20 08:56:12 +08:00
偏右
0a3af0b2e2
fix: 💄 Layout.Sider collapsedWidth cannot work without @menu-collapsed-width ( #27154 )
...
* fix: collapsedWidth do not work on Sider
* fix test case
* fix test case
* fix extra trigger div
* fix lint
2020-10-15 10:42:15 +08:00
Tom Xu
f812855122
refactor: Remove layout deprecated ( #27039 )
...
* Update Sider.tsx
* Update Sider.tsx
* Update Sider.tsx
* Update Sider.tsx
2020-10-09 11:04:38 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
...
close #26594
2020-09-06 13:07:39 +08:00
偏右
d5eda4f87e
test: ✅ add more test cases ( #26350 )
...
* test: add more test to Layout
* test: add more test to DatePicker
* refactor: remove unused code in Menu
2020-08-24 10:09:57 +08:00
偏右
7bdd4fc1d7
fix: Layout trigger ( #25653 )
...
* refactor: layout code
* fix: Layout `trigger` could customize zero width trigger
close #25433
2020-07-16 12:07:59 +08:00
偏右
c3e263f2f2
chore: 🚮 remove console ( #23431 )
2020-04-21 11:47:09 +08:00
偏右
fc98ab7222
test: increase test cov for Layout and Typography ( #23407 )
2020-04-20 19:18:53 +08:00
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking ( #21752 )
...
* alert
* more icons
* another grouping
* all done
2020-03-02 12:09:38 +08:00
偏右
8501b708ea
refactor: 📦 smaller bundlesize limit ( #20356 )
...
* 📦 samller bundlesize limit
* 🗑️ remove React static PropTypes
* 🗑️ remove react-lifecycles-compat
* 🗑️ remove matchMedia polyfill
* 🗑️ remove Transfer buggy lazy prop
* 🗑️ remove enquire.js dep
* 🗑️ remove Transfer lazy related code and fix ci
* 🗑️ remove used dom-closest
* ⚡ replace dom-scroll-into-view to scroll-into-view for bundle size
* ✅ fix eslint
* 🆙 upgrade browserslist
* ✅ fix test cases
* 🗑️ remove @ant-design/create-react-context
* 🆙 upgrade @ant-design/bisheng-plugin
* 🆙 upgrade rc-slider
* ✅ fix ci
* 🆙 upgrade rc-tabs and rc-mentions
* 📦 scroll-into-view -> scroll-into-view-if-needed
* remove unused devDep
* docs: 📝 update instruction about IE9/10
* 📦 reduce css bundle size by drop IE9/10 support
* 🆙 upgrade rc-upload
* 🗑️ drop unused swing motion css
* ✅ update upload snapshots
* 📦 lift css bundlesize limit to 55kb
2019-12-23 18:33:08 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons
deps ( #19979 )
...
* update icons deps
* update all icon ref
* fix lint
* update snapshot
2019-11-28 12:34:33 +08:00
zombiej
c75bbbd13d
merge master
2019-10-16 10:44:56 +08:00
orzyyyy
718a86d56b
chore: rename prop specialTriggerStyle to zeroWidthTriggerStyle
2019-10-07 18:03:34 +08:00
orzyyyy
95710af9ef
feat(Layout): add prop specialTriggerStyle to controll the style of zeroWidthTrigger
2019-10-07 18:03:34 +08:00
zombiej
f30b92ec21
merge master
2019-09-17 19:31:37 +08:00
ztplz
fe30adc18d
Improve code for better compatibility
2019-09-16 20:11:20 +08:00
zombiej
c0105aa48f
merge master
2019-09-03 14:35:58 +08:00
Nikitenkova
04669002bf
fix(layoutSider): dimensionMap for max-width media query
...
According to visibility problem (on viewport breakpoints) with Sider menu in our App
And according to Bootstrap responsive breakpoints https://getbootstrap.com/docs/4.0/layout/overview/#responsive-breakpoints
We should use different values for `min-width` and `max-width`. For example, if we construct query with `min-width: 768px` then we MUST use `max-width: 767.98px` for proper breakpoint determination otherwise they conflict with each other when have similar values.
2019-09-03 13:37:19 +08:00
vagusX
149729e524
use ant design icons 4.0 ( #18217 )
...
* feat: use @ant-design/icons@4.0
* feat: use createFromIconfontCN to make site works
* feat: update doc for Icon
* feat: use icon in component Alert
* feat: use icon in component Avatar
* feat: use icon in component Breadcrumb
* feat: use icon in component Button
* feat: use icon in component Cascader
* feat: use icon in component Collapse
* feat: use icon in component Datepicker
* feat: use icon in component Dropdown
* feat: use icon in component Form
* feat: use icon in component Input
* feat: use icon in component InputNumber
* feat: use icon in component Layout
* feat: use icon in component Mention
* feat: use icon in component Message
* feat: use icon in component Modal
* feat: use icon in component Notification
* feat: use icon in component PageHeader
* feat: use icon in component Pagination
* feat: use icon in component Popconfirm
* feat: use icon in component Progress
* feat: use icon in component Rate
* feat: use icon in component Result
* feat: use icon in component Select
* feat: use icon in component Step
* feat: use icon in component Switch
* feat: use icon in component Table
* feat: use icon in component Tab
* feat: use icon in component Tag
* feat: handle rest component which using Icon
* fix: remove unused vars
* feat: use latest alpha ant design icons
* fix: failed test in uploadlist.test.js
* test: update snapshot for icons
* doc: add Icon for site
* doc: use @ant-design/icons in site
* chore: use latest icons
* fix: tslint issue
* fix: test cases
* fix: types for react
* fix: lint rules for import orders
* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render
* fix: eslint error in demo/**.md
* inject antd icons
* update snapshot
* fix site
* doc: update docs
* fix: code snippets icon in site
* feat: use latest @ant-design/icons
* fix: icon props in message
2019-08-13 14:07:17 +08:00
orzyyyy
47fd80c8ad
fix: disable next line instead of the whole file
2019-08-06 15:36:13 +08:00
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +08:00
afc163
0a8f33385d
🆙 use @ant-design/create-react-context of MIT
2019-04-16 12:18:39 +08:00
zombieJ
89dd827b7f
fix: Refactor Menu related components life cycle methods ( #15868 )
...
* use state instead
* rollback demo markdown
* clean test
* sider context should be clean
* update test case
* fix test
* update debug desc
* add siderCollapsed into omit
* rm useless code
2019-04-05 16:15:01 +08:00
zombiej
6f95995faa
merge master
2019-02-27 19:57:48 +08:00
ztplz
b0ca03cba3
Update
2019-02-19 15:50:38 +08:00
ztplz
025bad6981
Update
2019-02-19 15:50:38 +08:00
ztplz
c24d737546
Fix incorrect collapse icon position when sider in the right
2019-02-19 15:50:38 +08:00
偏右
2bacd0614c
⚡ Use semantic tag names in Layout ( #14806 )
...
close #14801
2019-02-14 17:51:52 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
afc163
9b9c4c7dec
fix typescript errors
2018-11-09 17:38:19 +08:00
Wei Zhu
9cfaf1750d
fix: type error
2018-09-30 21:39:12 +08:00
Wei Zhu
40001d8220
Revert "fix: more types"
...
This reverts commit e063e1916d
.
2018-09-30 21:29:14 +08:00
Wei Zhu
e063e1916d
fix: more types
2018-09-30 16:39:51 +08:00
Wei Zhu
ee84f4ce0a
fix: some type definitions
2018-09-30 16:07:01 +08:00
张聪
8a9fbcb5e4
Migrate lifecycle method: Upload, CheckboxGroup, Layout.Sider, Tooltip, Popconfirm ( #11682 )
...
* Upload lifecycle method migrate
* CheckboxGroup lifecycle method migrate
* Layout.Sider lifecycle method migrate
* Tooltip lifecycle method migrate
* Popconfirm lifecycle method migrate
* test Spin as a controlled component
2018-08-10 17:04:40 +08:00
Wei Zhu
064bfaf554
Add @types/prop-types
2018-08-07 21:09:05 +08:00
jljsj33
881cef5abf
update drawer
2018-07-22 11:55:46 +08:00
afc163
8eb8c686ce
Merge branch 'master' into feature-3.7.0
2018-07-11 22:21:01 +08:00
Wei Zhu
435558b63e
fix: Layout.Sider string width
...
Close #11211
2018-07-10 12:29:20 +08:00
nuintun
ff24f1a978
Layout.Sider add onBreakpoint porp support ( #10750 )
...
* Layout.Sider add onBreakpoint porp support
* Add onBreakpoint zh-CN doc
* Add onBreakpoint en-US doc
* Add demo test for Layout.Sider onBreakpoint
* Add Layout.Sider onBreakpoint test cases
2018-06-03 13:03:20 +08:00