lijianan
de82a15b22
type: simplify getPlacement return type ( #40775 )
2023-02-17 22:11:06 +08:00
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
...
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2023-01-20 11:03:50 +08:00
lijianan
481710ecae
fix: eslint error ( #40183 )
2023-01-12 11:04:35 +08:00
lijianan
6b4f94785c
chore: use React.useContext replace <Context.ConfigConsumer /> ( #40091 )
...
* chore: use React.useContext replace <Context.ConfigConsumer />
* add
2023-01-09 10:04:35 +08:00
lijianan
8501adbd84
fix: add displayName ( #40092 )
...
* fix: add displayName
* rerun ci
* rerun ci
2023-01-08 21:30:41 +08:00
dongfang
bcd32305bb
feat: ConfigProvider support select.showSearch ( #39531 )
2022-12-14 10:22:17 +08:00
wangxingkang
2ad7a98368
chore: unify useContext usage ( #39314 )
...
* feat: replace useContext to React.useContext
* docs(checkbox): update defaultValue、value type
2022-12-06 21:09:59 +08:00
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade ( #38328 )
...
* build: try to use dumi as doc tool
* docs: migrate demo structure to dumi way
* refactor: use type export & import
* docs: migrate demo previewer to dumi
* docs: create empty layout & components
* docs: apply custom rehype plugin
* docs: create empty extra pages
* docs: Add Banner component
* chore: move theme tsconfig.json
* docs: home page init
* docs: migrate header (#37896 )
* docs: header
* docs: update
* docs: home init
* clean up
* test: fix site lint
* chore: tsc ignore demo
* chore: dumi demo migrate script
* chore: cards
* docs: home layout
* docs: Update locale logic
* docs: fix getLink logic
* chore: fix ci (#37899 )
* chore: fix ci
* ci: remove check-ts-demo
* ci: preview build
* test: ignore demo.tsx
* chore: update script
* test: update snapshot
* test: update node and image test
* chore: add .surgeignore
* docs: layout providers (#37908 )
* docs: add components sidebar (#37923 )
* docs: sidebar
* docs: update docs title
* docs: update design doc
* chore: code clean
* docs: handle changelog page
* docs: add title
* docs: add subtitle
* docs: active header nav
* chore: code clean
* docs: overview
* chore: code clean
* docs: update intl (#37918 )
* docs: update intl
* chore: code clean
* docs: update favicons
* chore: update testPathIgnorePatterns
* chore: code clean
* chore: code clean
* chore: copy 404.html (#37996 )
* docs: Home page theme picker
* chore: Update migrate script
* docs: home page update
* docs: theme editor style
* docs: theme lang
* chore: update migrate.js
* docs: fix demo (#38094 )
* chore: update migrate.js
* docs: update md
* docs: update demo
* test: fix snapshot
* chore: move debug to code attr in migrate script
* chore: update md
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
* feat: overview page
* feat: Migrate `404` page (#38118 )
* feat: migrate IconSearch component (#37916 )
* feat<site/IconSearch>: copy IconDisplay from site to .dumi
* feat<site/IconSearch>: change docs of icon
* feat<site/IconSearch>: tweak
* feat<site/IconSearch>: use useIntl instead of injectIntl
* feat<site/IconSearch>: fix ts type error
* feat<site/IconSearch>: use intl.formatMessage to render text
* docs: Adjust home btn sizw
* docs: Update doc
* feat: v5 site overview page (#38131 )
* feat: site
* fix: fix
* feat: v5 site overview page
* fix: fix path
* fix: fix
* fix: fix
* docs: fix margin logic
* feat: v5 site change-log page (#38137 )
* feat: v5 site change-log page (#38162 )
* docs: site redirect to home pag
* docs: theme picker
* docs: use react-intl from dumi (#38183 )
* docs: Theme Picker
* docs: update dumi config
* docs: home back fix
* docs: picker colorful
* docs: locale of it
* docs: update components desc
* docs: site of links
* docs: update components list
* docs: update desc
* feat: Migrate `DemoWrapper` component (#38166 )
* feat: Migrate `DemoWrapper` component
* feat: remove invalid comments and add comment for `key` prop
* docs: FloatButton pure panel
* chore: update demo
* chore: update dumi config
* Revert "chore: update demo"
This reverts commit 028265d3ba
.
* chore: test logic adjust to support cnpm modules
* chore: add locale alias
* docs: /index to /
* docs: add locale redirect head script
* chore: adjust compact
* docs: fix missing token
* feat: compact switch
* chore: code clean
* docs: update home
* docs: fix radius token
* docs: hash of it
* chore: adjust home page
* docs: Add background map
* docs: site theme bac logic
* docs: avatar
* docs: update logo color
* docs: home banner
* docs: adjust tour size
* docs: purepanl update
* docs: transfooter
* docs: update banner gif
* docs: content (#38361 )
* docs: title & EditButton
* docs: content
* chore: fix toc
* docs: resource page
* docs: transform resource data from hast
* docs: filename & Resource Card
* chore: enable prerender
* chore: remove less
* docs: toc style
* chore: fix lint
* docs: fix Layout page
* docs: fix CP page
* chore: update demos
* docs: workaround for export dynamic html
* chore: enable demo eslint
* docs: table style
* fix: header shadow
* chore: update snapshot
* fix: toc style
* docs: add title
* docs: Adjust site
* feat: helmet
* docs: site css
* fix: description
* feat: toc debug
* docs: update config-provider
* feat: use colorPanel
* fix: colorPanel value
* feat: anchor ink ball style
* feat: apply theme editor
* fix: code block style
* chore: update demo
* chore: fix lint
* chore: code clean
* chore: update snapshot
* feat: ts2js
* chore: description
* docs: site ready for ssr
includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion
* chore: bump testing lib
* docs: font size of title
* chore: remove react-sortable-hoc
* chore: update snapshot
* chore: update script
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2022-11-09 12:28:04 +08:00
MadCcc
5c72d04b10
Merge branch 'feature' into next-merge-feature
2022-10-19 17:46:21 +08:00
Yuki Zhang
c3e51506cc
feat: add Space.Compact ( #37652 )
...
* feat: add Space.Compact
* feat: update input style
* feat: add CompactItem for context memoize
* feat: add demo
* feat: update button style
* feat: update input style
* feat: 提取 getCompactClassNames 公用方法
* feat: update button style
* feat: update picker
* feat: add block prop for Space.Compact
* feat: use Space.Compact for Input#addonBefore/After
* feat: update addon
* refactor: compact
* feat: update
* feat: update
* feat: migrate styles to compact for new Input/Input.Search
* feat: organize input demo
* feat: add more button compact demo
* feat: resolve select border collapse
* feat: fix input addon select style
* feat: add input addon demo in Space
* feat: add useCompactItemContext hook
* feat: update compact-item style
* feat: rollback input#addon implements
* feat: rollback input#addon and input.search style
* feat: select border collapse
* feat: add Space.Compact demo
* feat: Space.Compact vertical for Button
* refactor: useCompactItemContext
* feat: update Button vertical demo
* feat: rtl for compact mixin
* feat: rtl for compact button
* feat: input rtl
* feat: add docs for Space.Compact
* test: add some tests for Space.Compact
* test: add tests
* feat: select style
* feat: handle select focus style
* feat: add useCompactItemContext for Picker and Cascader
* style: add compact-item style for cascader
* feat: support nested Space.Compact
* style: Input.Search in Space.Compact
* chore: clean
* feat: add useCompactItemContext for TreeSelect
* fix: lint issues
* fix: style lint
* docs: update demos for Space.Compact
* docs: update demo
* fix: add deps-lint-skip for space
* fix: add deps-lint-skip for space
* fix: handle edge case for useCompactItemContext
* test: add search test case
* chore: + bundlesize
* style: merge button compact style into one file
* style: improve style for nested compact
* fix: stylelint
* docs: update Space.Compact docs
* test: update demo snapshot
* test: update input debug test snapshot
* docs: update doccs for Space.Compact
* test: improve test cases for Compact
* docs: clean demos for Compact
* refactor: improve Space.Compact
* fix: add useCompactItemContext for Input.Search
* style: improve compact border-radius implementation
* refactor: use context to make nested compact works
* fix: input-number focused style
* refactor: remove useless style
* refactor: improve style for vertical compact
* test: update snapshot
* test: update snapshot for input
* refactor: improve compact-item-border-radius
* fix: search group in RTL
* style: improve style for button compact
* style: use after
* fix: stylelint
* chore: update snapshot
* style: improve button compact
* refactor: improve btn-icon-only style in compact
2022-10-18 16:23:10 +08:00
MadCcc
03a1ae427d
Merge branch 'feature' into next-merge-feature
2022-10-11 20:29:55 +08:00
kiner-tang(文辉)
92a3c719dc
feat: Components under Form support custom disabled to override disabled of Form ( #37628 )
...
* feat: 当表单组件处于一个禁用的表单时, 该表单组件的禁用状态应该优先取决于表单组件本身的禁用状态
* Update components/checkbox/Checkbox.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: reset mergedSize change
* feat: reset mergedSize change
* Update components/checkbox/Checkbox.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: 优化 Checkbox 组件 disabled 逻辑判断
* Update components/switch/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: remove upload default value
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-09-20 16:48:59 +08:00
二货爱吃白萝卜
3623f2b901
chore: dropdownClassName support with legacy warning ( #37460 )
...
* chore: select legacy
* chore: auto complete tips
* chore: cascader warning
* chore: picker & treeselect
2022-09-08 14:33:11 +08:00
黑雨
fc2b64e6ab
feat: replace dropdownClassName to popupClassName ( #37091 )
2022-08-22 15:54:34 +08:00
二货机器人
d970d80fa0
chore: next merge feature
2022-08-05 15:23:36 +08:00
黑雨
8b05546367
feat: Replace dropdownClassName to popupClassName ( #36880 )
2022-08-05 11:21:07 +08:00
二货机器人
8a0764dd69
feat: Tooltip support pure render ( #36512 )
...
* chore: init
* feat: Pure Panel Tooltip
* test: snapshot
* chore: clean up
2022-07-13 23:06:28 +08:00
二货机器人
254bbda86d
feat: Select like component support pure render ( #36407 )
...
* feat: support select pure render
* test: Update snapshot
* chore: fix pure render export ts
* chore: fix lint
* test: do not care about ssr
2022-07-07 20:05:19 +08:00
zombiej
8749c1ae04
chore: merge master
2022-06-22 15:18:03 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
zombiej
cffc4f05aa
chore: merge master
2022-06-07 21:13:52 +08:00
MadCcc
1f080c299e
fix: Form.Item noStyle should not be affected by parent Form.Item ( #35849 )
...
* fix: Form.Item noStyle should not be affected by parent Form.Item
* test: update snapshot
* fix: status
* chore: code clean
* fix: modal and drawer
* test: fix lint
* chore: code clean
* refactor: noFormStyle
* chore: code clean
* revert: revert change in Form.Item
* chore: code clean
2022-06-06 23:39:00 +08:00
zombiej
8613d2ff2e
chore: merge feature
2022-05-16 17:16:52 +08:00
二货机器人
3d21ec54e2
refactor: reduce empty cycling deps ( #35570 )
...
* chore: rm in root
* chore: fix ts
* test: Update snapshot
* chore: ignore part
2022-05-16 16:34:42 +08:00
MadCcc
a32f5d69f8
Merge branch 'feature' into next-merge-feature
2022-05-13 14:42:49 +08:00
MadCcc
1f5e271eb6
Merge branch 'master' into next-merge-master
2022-05-09 21:26:25 +08:00
afc163
594f138760
resolve conflict between feature and master
2022-05-08 17:01:54 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
zombiej
84662ce774
chore: next merge feature
2022-05-06 18:46:16 +08:00
黑雨
b0a652580a
feat: Form disabled ( #35210 )
...
* feat: add form disabled
* feat: add form disabled
* feat: add radio disabled
* feat: update snap
* feat: add test case
2022-04-29 20:48:10 +08:00
zombiej
4607346d3c
chore: next merge master
2022-04-22 13:36:51 +08:00
afc163
8f06430336
fix: DropDownProps => DropdownProps ( #35161 )
...
* fix: DropDown => Dropdown
* chore: leave DropDownProps for compatibility
2022-04-21 22:09:59 +08:00
MadCcc
821ac5bc97
refactor: select use genHook ( #34891 )
...
* refactor: select use genHook
* chore: code clean
* refactor: tree-select support genHook
* chore: code clean
* chore: code clean
* fix: tree style
2022-04-07 12:20:34 +08:00
MadCcc
cf18b1443b
Merge branch 'feature' into next-merge-feature
2022-03-25 20:08:05 +08:00
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form ( #34712 )
...
* refactor: feedbackIcon migration
* test: update snapshot
2022-03-25 17:48:12 +08:00
MadCcc
8da22ae59c
Merge branch 'feature' into next-merge-feature
2022-03-24 22:58:40 +08:00
MadCcc
0de1e66ff1
refactor: move override code in form ( #34694 )
...
* refactor: move override code in form
* refactor: radio and checkbox
* chore: code clean
* test: fix lint
* test: fix lint
2022-03-24 21:54:20 +08:00
二货机器人
068584b76c
refactor: change Select into CSSINJS ( #34339 )
...
* chore: init
* chore: init single
* chore: merge next
* chore: select single base
* chore: basic all style of select
* chore: speed of dropdown
* chore: move size in single
* chore: single size
* chore: lg style
* chore: left & right
* chore: rtl
* chore: auto rtl
* chore: rtl
* fix: height cal
* chore: clean up
* chore: status color
2022-03-08 10:29:00 +08:00
MadCcc
2258335e6c
feat: select support status ( #34084 )
...
* feat: select support status
* test: fix lint
2022-02-16 21:39:48 +08:00
Cat-XHS
daa9804824
feat: Select/DatePicker/TimePicker/TreeSelect support placement ( #33541 )
...
* feat: select components add placement api
* feat: select components add placement api
* fix: delete placement
* fix: change md demo and delete export
* feat: cascader and tree-select add placement
* feat: datapicker add placement api
* fix: change repeat static declaration to single
* test: updata test units
* doc: change doc
* fix: delete merge message & delete decalare ts
* test: fix unit test
* fix: add transName in select & treeSelect & cascader
* fix: change common api in utils
* fix: change useless if block to only
* fix: change placement string to enum
* fix: lint done
Co-authored-by: 礼检 <ljj337009@antgroup.com>
2022-01-20 16:54:47 +08:00
二货机器人
ff88851c4c
chore: Bump Select related deps ( #33364 )
...
* chore: bump select related version
* test: Fix test case
* chore: bump rc-select version
* test: Update snapshot
* chore: Update Select ts
* test: Update snapshot
* test: Update snapshot
* test: Update snapshot
* chore: Update ts definition
* chore: fix internal ts def
* test: update auto complete snapshot
* chore: update snapshot
* chore: bump version
* chore: fix demo ts
* chore: Move ValueType to the first place
* test: Update test case
2021-12-21 21:38:11 +08:00
张威
416482bb87
fix(select): omit getRawInputElement ( #31566 )
2021-08-02 12:07:26 +08:00
Gamote
a7130187ed
fix: undefined
was added to the SelectValue
type ( #30068 )
...
* Fix: `undefined` was added to the SelectValue type
* fix: `undefined` was added to the SelectValue type
2021-04-10 13:35:08 +08:00
叶枫
6e89866694
feat: 动画样式添加 prefix ( #29268 )
...
* feat: add prefix
* fix: 剩余
* fix: test
* fix: test
* fix: test
* fix: test
* fix: 传了 name 则使用传的
* fix: pop 添加 prefix
* fix: Ok OK ?
* fix: modal confirm
* fix: select
* fix: test
2021-02-08 17:09:13 +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
二货机器人
4703001e15
Revert "fix(Select): export SelectInterface to avoid ts error ( #27838 )" ( #27857 )
...
This reverts commit bc566c0731
.
2020-11-18 17:34:30 +08:00
pd
bc566c0731
fix(Select): export SelectInterface to avoid ts error ( #27838 )
2020-11-17 22:05:32 +08:00
Tom Xu
da681fe4dd
chore: improve select ref type ( #27594 )
2020-11-06 09:52:42 +08:00
Tom Xu
8faccc2563
fix: select ref typescript typo ( #27482 )
...
* fix: select ref typescript typo
* improve
2020-11-03 11:09:24 +08:00
Tom Xu
b0245e742b
refactor(select): rewrite with hook ( #27318 )
...
* refactor(select): rewrite with hook
* Update index.tsx
* Update index.tsx
* Update index.tsx
* fix test
* Update index.tsx
* Update index.tsx
2020-10-24 20:33:18 +08:00