susuhhhhhh
1a4dc9eb36
style: code style optimization ( #40898 )
2 years ago
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
二货爱吃白萝卜
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>
2 years ago
Zheeeng
d96ec8aa06
feat: add text config for editable ( #37761 )
2 years ago
Zheeeng
f5a5077d80
fix: Typography ellipsis percision bug ( #37802 )
* fix:ellopsis默认fontsize调整为12px
* fix: issue 37791
* test: update snapshot
Co-authored-by: zonghao.jiang <1587315093@qq.com>
2 years ago
二货爱吃白萝卜
15e4b93e43
fix: Visible change not show Tooltip of Typography ( #37147 )
* test: Update snapshot
* test: Add test case
* test: fix react 18
2 years ago
章鱼
7fd093bd0a
docs: feat components TS demo ( #34742 )
* docs: add general components TS demo
* docs: add layout components TS demo
* docs: add navigation components TS demo
* docs: add data entry components TS demo
* chore(deps): add types for qs
* docs: add data display TS demo
* docs: add feedback components TS demo
* docs: add other components TS demo
* chore(deps): add types
* docs: unified demo code style
* docs: fix lint error
* docs: add demo TS type
* docs: fix demo TS type
* test: update snapshot
* docs: fix TS demo
* feat: update Rate character type
* docs: fix lint error
* feat: update Rate character type
* feat: update Rate character type
3 years ago
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
3 years ago
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
3 years ago
afc163
0e27f8af7e
fix: typography title margin issue ( #34302 )
3 years ago
黑雨
c7fe1c8e26
fix: editable Typography.Title should match font size while editing ( #34169 )
* feat: editable Typography.Title should match font size while editing
* feat: update style
* feat: update style
* feat: update style
* feat: style lint
* feat: update style
* Update components/typography/style/index.less
* Update components/typography/Editable.tsx
* feat: reorganize css
* feat: style lint
* feat: update snap
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
二货机器人
395c549049
fix: Typography error on context ellipsis ( #33725 )
* chore: init measure
* chore: out of space
* refactor: Multiple render
* chore: auto cut
* feat: render split
* fix: ellipsis logic of suffix
* fix: ref missing
* fix: Tooltip missing
* test: snapshot
* chore: opt for textarea
* test: back part of ellipsis
* chore: back of ellipsis logic
* ellipsis logic
* fix: init ellipsis measure
* fix: ellipsis event
* chore: clean up
* test: Update snapshot
* fix: test
* test: Update snapshot
* chore: lazy ellipsis
* fix: check css ellipsis logic
* test: Update snapshot
* test: back of coverage
* chore: clean up
* test: ignore else
* test: clean up
3 years ago
unknown
87849a9ce0
docs: fix typography/demo/basic.md
Update basic.md
fix snapshot
3 years ago
Sergey Kachanovskiy
7bded502e9
feat: triggerType prop for editable paragraph ( #32219 )
* feat: triggerType prop for editable paragraph
* feat: triggerType prop - conflict resolution
* feat: triggerType prop - conflict resolution
* feat: triggerType prop - conflict resolution
* feat: triggerType prop - demo fix
Co-authored-by: Name From Git-Plugin-Test <email.from.git.plugin.test@example.com>
3 years ago
Sergey Kachanovskiy
4a31561645
feat: enterIcon prop for editable paragraph ( #32220 )
Co-authored-by: Name From Git-Plugin-Test <email.from.git.plugin.test@example.com>
3 years ago
Hale Deng
c092ea89a7
docs: remove unnecessary type annotation in typography interactive demo ( #31564 )
Co-authored-by: Hale <hale@shundaojia.com>
3 years ago
afc163
dd2d22698a
docs: Typography add demo of ellipsis from middle ( #30914 )
* docs: Add demo of ellipsis from middle
* fix demo
4 years ago
陈帅
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>
4 years ago
vldh
9de44ed4c4
feat: Typography add italic type ( #30458 )
* Typography增加斜体字支持
* update snapshot
* 文档添加版本号
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
4 years ago
afc163
1d437534a0
docs: fix broken links
close #29294
4 years ago
二货机器人
a9bd80916d
feat: Typography ellipsis support tooltip ( #28821 )
* feat: ellipsis support tooltip
* chore: Update test snapshot
* test: Coverage
* chore: fix ts definition
* clean up
4 years ago
二货机器人
43e2651b9c
fix:Typography miss block & pre style ( #27150 )
* feat: Add block & pre style
* fix lint
4 years ago
偏右
88fde9f9f7
style: fix Typography Link color ( #27104 )
close #27088
4 years ago
xrkffgg
a46c5ce19b
docs: update typography demo ( #26604 )
4 years ago
llwslc
ff7aca19cc
feat: add Typography.Text type success ( #26145 )
* baseType & style
* update demo
* update snap
* update document
* remove type primary
4 years ago
llwslc
15b30e6761
feat: customize Typography.Paragraph copyable and editable ( #25953 )
* Merge branch 'feature' of github.com:ant-design/ant-design into antd
# Conflicts:
# components/typography/__tests__/__snapshots__/demo.test.js.snap
# components/typography/demo/interactive.md
* add icons & tooltips test
* remove Array<React.ReactNode> definition
* clean up useless code
* refactoring
* React.ReactNode already contains string
* 1. keep aria-label attribute
2. customize edit icon & tooltip
* rebase feature
* update snapshots
* update abi document
* update demo & document
* copyable icon & tooltip document
* version document
4 years ago
zhangchen
2f99dd8c19
fix: Typography demo Interactive ( #25908 )
4 years ago
xrkffgg
672066ccae
feat: add Typography.Title level 5 ( #25861 )
* feat: add Typography.Title level 5
* fix test
4 years ago
CornerSkyless
ab9c477638
feat: Add maxLength and autoSize in Typography editable config ( #25373 )
* feat: Add maxLength and autoSize in Typography editable config
* doc: add version column of maxLength and autoSize
* doc: add demo of maxLength and autoSize
* doc: simplify version column of autoSize and maxLength
* doc: fix version column of autoSize and maxLength
* snapshot: add snapshot
* snapshot: add snapshot
* doc: add version column of maxLength and autoSize
* doc: simplify version column of autoSize and maxLength
* snapshot: add snapshot
* update version column
* feat: Add maxLength and autoSize in Typography editable config
* doc: add version column of maxLength and autoSize
* doc: simplify version column of autoSize and maxLength
* doc: fix version column of autoSize and maxLength
* snapshot: add snapshot
* snapshot: add snapshot
* doc: add version column of maxLength and autoSize
* doc: simplify version column of autoSize and maxLength
* snapshot: add snapshot
* update version column
* add snapshot
4 years ago
偏右
3e3d1eedcf
feat: customize Typography.Paragraph copyable ( #25274 )
* ✨ customize copyable with tooltip and icon
* 💄 fix copyable icon margin
* 📝 custom icon and tooltips demos
* 📸 updating sanpshots
* 📝 updating copyable api
* fix snapshot
* fix tooltips type
* fix tooltips type again
* update documentation
Co-authored-by: Israel kusayev <israel.kusayev@gmail.com>
4 years ago
xrkffgg
2331ed0b39
docs: reduce typography demo ( #24915 )
5 years ago
zoomdong
9a6c2f667a
docs: fix typo of Typography ( #24883 )
* docs:typo of Typography
* update snap
5 years ago
zoomdong
68a185a08f
docs: change demo on Typography.paragraph ( #24633 )
* fix: demo on Typography.paragraphy
* fix: demo
5 years ago
zoomdong
4e9fc51dba
feat: add custom expand style for typography.paragraph ( #24385 )
* feat: add custom expand style for typography.paragraph
* feat: delete filed-form
* fix: lint error
* feat: add test case
* fix: typo
5 years ago
二货机器人
1a82efa5ca
Text support keyboard ( #24195 )
5 years ago
二货机器人
80e3dfa9be
feat: Add Link component to prepare for rm global style ( #24019 )
* init
* move to base
* add link component
* update snasphot
* update snasphot of test
* move to Typography
* update test case
5 years ago
二货机器人
1d50004644
feat: Typography support onEllipsis ( #23414 )
* feat: support onEllipsis
* add test case
* update doc
5 years ago
二货机器人
4bd488bfbe
fix align logic ( #22836 )
5 years ago
二货机器人
4b2e88caaf
fix: Typography list style ( #22284 )
* fix typography list style
* update snapshot
5 years ago
zouxiaomingya
563f46b130
feat: update article length ( #20767 )
5 years ago
zouxiaomingya
1ebf5fa4b7
feat: Typography add suffix ( #20224 )
* feat:Typography add suffix
* feat:run test
* fix:lint
* feat: update suffix example
* feat: update test
* fix: updateupdateSnapshot
* fix: upate test
* run lint
* feat: measureSuffixText
* feat: suffix 不可省略
* fix: title
* fix: update node_modules
* fix: change title type
5 years ago
afc163
4300c046a0
📝 improve Typography demo description
5 years ago
afc163
47dee4c7d7
✅ fix eslint problems
5 years ago
afc163
b780070351
💄 prittier all files
6 years ago
zombieJ
c80136a9a7
New Component: Typography ( #14250 )
* text with prefix
* add edit style
* support editable
* enhance accessibility & type experience
* optimize IME case
* support copy
* add locale
* add secondary & disabled
* add ellipsis shadow text
* split to 3 components
* update snapshot
* update desc
* change lines also need update ellipsis
* skip aria when is in ellipsis
* add ResizeObserver in _util
* update snapshot
* move TestBase into test file
* update test case
* update doc
* fix typo
* important => level
* use rows
* update demo cols to 1
* fix cssText not work in firefox
* update doc
* add miss point
* support extendable
* update snapshot
* fix doc
* copyable support string
* update snapshot
* update doc
* update doc desc
* adjust style
* full test
* reset after test
* rename
* update snapshot
* fix compile
* adjust style
* update desc
* update prefixCls
* update margin
* adjust
* nest wrap of tag content
* adjust style
* update comment
* rm %
* one more thing
* tmp of measure
* merge string as children
* update snapshot
* update testcase
* remove comment
* use internal variable for configProvider passing
* update snapshot
* use expandable instead of extendable
* less variable it
* update demo
* update less
* adjust code & mark style
* remove mark padding
* update measure logic
* support nest element style
* use childNode.textContent to fix react 15 error
* update css
* popout Typography
* add link style
* adjust doc
* use ellipsis instead of rows & expandable
* update doc
* update doc
* update doc & style
* fix typo
* add css ellipsis support
* client render
* update snapshot
* enhance copyable
* support onExpand
* update test case
* add test of css ellipsis
* fix logic in react 15
* rename onChange -> onSave
* use tagName of article
* fix lint
6 years ago