@linhf2023
cdc4e50873
feat: migrate less to token for Alert ( #42142 )
...
* feat: migrate less to token for Alert
* fix: lint
* feat(alert): add component token demo
* test: add snap
* Update docs/react/migrate-less-variables.zh-CN.md
Co-authored-by: MadCcc <1075746765@qq.com>
* feat(alert): update token name
* feat(alert): update demo
* feat: update snap
* doc: update migrate
* chore: code clean
* feat: alert token
* chore: code clean
* chore: fix lint
---------
Co-authored-by: @linhf2023 <32009993+any1024@users.noreply.github.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-17 15:00:04 +08:00
二货爱吃白萝卜
2cdf586291
chore: fix lint ( #43873 )
...
* chore: fix lint
* chore: fix lint
* test: fix 16
* fix: lint
2023-07-28 16:17:43 +08:00
kiner-tang(文辉)
6b924029f1
demo: set button type in alert demo ( #43567 )
...
* fix: set button type in alert ghost button
* fix: set button type in alert ghost button
* feat: update snapshots
2023-07-14 19:36:36 +08:00
kiner-tang(文辉)
ef7b6e888b
fix: resolve ghost button lose disabled state when use type='ghost' ( #43558 )
2023-07-14 17:05:59 +08:00
Albert E. Hidalgo Taveras
860e58ee6f
demo: use closable prop ( #43542 )
...
* Update closable.tsx
Added `closable` prop
Signed-off-by: Albert E. Hidalgo Taveras <35310226+itsalb3rt@users.noreply.github.com>
* Apply suggestions from code review
Signed-off-by: afc163 <afc163@gmail.com>
---------
Signed-off-by: Albert E. Hidalgo Taveras <35310226+itsalb3rt@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-07-14 13:09:54 +08:00
kiner-tang(文辉)
827ada2da6
refactor(Alert): refactor closeIcon ( #42962 )
...
* refactor: refactor closeIcon
* feat: update test case
* feat: optimize code
* feat: remove demo about closeText
* feat: remove demo about closeText
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
2023-06-13 14:38:18 +08:00
Wuxh
d225c56c31
docs: improve component demo style ( #38643 )
...
* chore: examine badge
* chore: examine button
* chore: examine alert
* test: update snapshot
2022-11-17 23:19:28 +08:00
Wuxh
34a277cdaa
docs: improve component demo style ( #38598 )
...
* docs: delete redundant codes
repetitive examples that can make it difficult for developers to read
* chore: update snapshot
* docs(badge): wrapping documents with `Space`
* chore: update snapshot
* chore(space): optimize documents
easy to read
* chore: update badge demo
* chore: update demo
* Revert "chore(space): optimize documents"
This reverts commit 88a4378f16cede5b628f885a48a341d507fd53e3.
* chore: update snapshots
* chore(button): add debug demo
* test(button): update snapshots
* docs(button): example document beautify
* test(button): update snapshots
commit by af04705c8f
* test(alert): update snapshots
* chore: Reverse format
2022-11-17 13:20:58 +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 028265d3ba5987df5f13c3e9d42cf76cb1812b2e.
* 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
二货机器人
66c3639ed4
chore: bump rc-dialog version ( #35969 )
...
* chore: bump rc-dialog version
* chore: trigger
* chore: trigger
* docs: RM peer conflict demo
* chore: bump deps version
* chore: bump ver
* chore: bump
* chore: bump
* chore: test
* chore: rm peer
* chore: clean all peer
* chor: bump rc-image
2022-06-10 17:06:07 +08:00
zombiej
f58efe9b32
chore: merge master
2022-05-23 14:37:16 +08:00
章鱼
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
2022-05-19 09:46:26 +08:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
2022-04-15 16:20:56 +08:00
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
2022-04-03 23:27:45 +08:00
afc163
21d6d10af6
docs: improve alert loop demo ( #32488 )
...
* docs: improve alert loop demo
- react-text-loop => react-text-loop-next
- adding demo of react-fast-marquee
* update snapshot
2021-10-14 15:48:33 +08:00
James Yeung
2d3c3a18e0
docs(alert): The title is reversed ( #29692 )
2021-03-10 13:27:49 +08:00
二货机器人
55e0d13234
chore: Add demo tsx check ( #28389 )
...
* chore: Add demo tsx check
* chore: Prettier
* chore: Fix lint
* fix: Upload ts definition
* chore: Demo onlt
* docs: Fix demo
* chore: Add CI action
* chore: Use real name
* chore: fix ts define
* chore: fix more ts
* chore: fix more ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: Update all rest TS demo
* fix test case
2020-12-17 15:09:18 +08:00
jesse
4b3aa350b8
feat: Add action in Alert and replace with flexbox layout ( #25892 )
...
* feat: Add action in Alert and replace with flexbox layout
* update
* update test
* doc
* Revert "update"
This reverts commit aef6e135a757341becdb01082238d48f7648ec5e.
* Update index.less
* Update index.less
* update test
* Update index.test.tsx.snap
* @alert-closable-padding-right
* Update index.less
* correct top of icon
* correct top of close icon
* fix @alert-closable-padding-right
* update
* doc
* Update components/alert/demo/action.md
Co-authored-by: 偏右 <afc163@gmail.com>
* Remove duplicate css
* Simplify styles of close-icon
* font size of close icon
* update test
* update test
* Remove unused less var
Co-authored-by: 偏右 <afc163@gmail.com>
2020-11-30 11:04:56 +08:00
偏右
2beb28518c
test: ✅ Alert and AutoComplete test coverage ( #24004 )
...
* 🔨 refactor demo code style
* refactor alert code and fix test cov
* add test case for AutoComplete
* fix test
2020-05-09 19:32:02 +08:00
zefeng
14417f1614
feat(theme): adjust font-size in compact mode ( #23135 )
...
* feat(theme): adjust font-size in compact mode
With compact theme mode, we adjust default font-size from 14px to 12px.
Closes #23015
* patch: update docs min font-size
* patch
* patch
* patch
* patch
* patch
* patch
2020-04-28 11:16:01 +08:00
xrkffgg
facbe46251
style: optimize alert rtl tyle ( #23526 )
...
* style: optimize alert rtl tyle
* fix dark
2020-04-23 17:58:36 +08:00
偏右
d4459c791b
🎬 Add loop banner demo to Alert ( #22751 )
...
close #18388
2020-03-30 18:44:49 +08:00
二货机器人
58133bcabd
update demo ( #21069 )
2020-01-22 12:11:49 +08:00
xiaohuoni
fa14546a40
chore: code style
2020-01-21 17:14:58 +08:00
xiaohuoni
1c1c30e99c
docs: a demo use typescript
2020-01-21 16:21:37 +08:00
ycjcl868
f866fac698
fix: demo margin in dark
2019-12-25 21:54:21 +08:00
偏右
05c2f92b69
⚠️ Add Alert.ErrorBoundary ( #19923 )
...
⚡ support ErrorBoundary message and description
2019-12-11 14:15:45 +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
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
afc163
b780070351
💄 prittier all files
2019-05-07 14:57:32 +08:00
Aaron Cawte
7e17539892
Documentation - Alert Component
2019-04-19 13:48:29 +01:00
afc163
83c192ea3e
💄 fix eslint problems
2018-11-28 15:11:02 +08:00
HeskeyBaozi
1d2aa0fc78
add icon interface to alert
2018-09-21 13:40:27 +08:00
afc163
8c57704241
tweak alert code
2018-09-16 18:36:17 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
Charles Covey-Brandt
e1efa990ca
Update Alert smooth-closed demo for spelling "visible" ( #10060 )
2018-04-16 09:41:53 +08:00
Hughen
6998f66eb5
feat: add afterClose to Alert ( #9448 )
...
- add afterClose to Alert, in in order to achieve smoothly unmount.
2018-03-09 15:02:13 +08:00
Spencer
4e790ad61a
Fix Alert component documentation - Capitalize "S" and "T" in Success Tips ( #8697 )
...
Line 26
2018-01-01 15:17:02 +08:00
afc163
475e4ff23d
upgrade eslint-config-airbnb
2017-10-09 13:27:35 +08:00
afc163
5ef4828974
Remove default margin-bottom of Alert
2017-05-23 17:51:10 +08:00
ddcat1115
c0125ff1ce
allow user to override showIcon
type
of Alert[banner] ( #5818 )
2017-04-22 10:37:00 +08:00
afc163
df9a75f33d
update alert banner demo
2017-03-22 17:32:52 +08:00
Benjy Cui
200b88246f
docs: update docs format
2017-02-13 10:55:53 +08:00
Benjy Cui
3e17551b7e
site: improve build speed
2017-01-19 15:22:53 +08:00
Benjy Cui
5b5b691879
docs: update demo
2016-09-14 13:52:54 +08:00
Marius Ileana
39a11f00a0
docs: upload, alert, tooltip - translations of remaining demos ( #3035 )
...
* upload - translations of two remaining demos
* alert & tooltip - remaining demo translations
* Prompt typo
2016-09-14 09:52:14 +08:00
ddcat1115
21b67a330d
banner型 Alert
2016-08-03 14:55:30 +08:00
偏右
cdcc10f93d
docs: translate Alert document to english ( #1471 ) ( #2210 )
2016-07-04 10:49:26 +08:00
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
2016-06-06 13:54:10 +08:00
afc163
03cb74ead5
upgrade eslint-config-airbnb version and fix some problems
2016-04-29 12:13:27 +08:00