├── .npmignore ├── CNAME ├── .npmrc ├── .surgeignore ├── .dockerignore ├── components ├── input │ ├── demo │ │ ├── align.md │ │ ├── borderless.md │ │ ├── basic.md │ │ ├── textarea.md │ │ ├── borderless-debug.md │ │ ├── password-input.md │ │ ├── show-count.md │ │ ├── addon.md │ │ ├── focus.md │ │ ├── textarea-resize.md │ │ ├── textarea-show-count.md │ │ ├── debug-addon.md │ │ ├── presuffix.md │ │ ├── search-input-loading.md │ │ ├── allowClear.md │ │ ├── search-input.md │ │ ├── basic.tsx │ │ └── status.md │ └── __tests__ │ │ └── demo-extend.test.ts ├── tree │ ├── demo │ │ ├── drag-debug.md │ │ ├── big-data.md │ │ ├── switcher-icon.md │ │ ├── customized-icon.md │ │ ├── virtual-scroll.md │ │ ├── dynamic.md │ │ ├── basic-controlled.md │ │ ├── draggable.md │ │ └── search.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── auto-complete │ ├── demo │ │ ├── form-debug.md │ │ ├── borderless.md │ │ ├── custom.md │ │ ├── options.md │ │ ├── render-panel.md │ │ ├── non-case-sensitive.md │ │ └── basic.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── input-number │ ├── demo │ │ ├── debug-token.md │ │ ├── borderless.md │ │ ├── basic.md │ │ ├── prefix.md │ │ ├── addon.md │ │ ├── render-panel.md │ │ ├── keyboard.md │ │ ├── disabled.md │ │ └── out-of-range.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── affix │ ├── demo │ │ ├── debug.md │ │ ├── basic.md │ │ └── on-change.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── form │ ├── demo │ │ ├── dep-debug.md │ │ ├── ref-item.md │ │ ├── inline-login.md │ │ ├── register.md │ │ ├── size.md │ │ ├── layout.md │ │ ├── disabled.md │ │ ├── dynamic-form-items-no-style.md │ │ ├── dynamic-rule.md │ │ ├── layout-can-wrap.md │ │ ├── required-mark.md │ │ ├── disabled-input-debug.md │ │ ├── warning-only.md │ │ ├── basic.md │ │ ├── label-debug.md │ │ └── dynamic-form-items-complex.md │ ├── __tests__ │ │ ├── __snapshots__ │ │ │ └── list.test.tsx.snap │ │ └── demo-extend.test.ts │ └── changelog.md ├── layout │ ├── demo │ │ ├── custom-trigger-debug.md │ │ ├── basic.md │ │ ├── fixed.md │ │ ├── top-side.md │ │ ├── fixed-sider.md │ │ └── top-side-2.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── list │ ├── demo │ │ ├── basic.md │ │ ├── grid-test.md │ │ ├── pagination.md │ │ ├── grid.md │ │ └── vertical.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── menu │ ├── demo │ │ ├── style-debug.md │ │ ├── menu-v4.md │ │ ├── vertical.md │ │ ├── horizontal.md │ │ ├── horizontal-dark.md │ │ ├── inline.md │ │ ├── switch-mode.md │ │ └── theme.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── qrcode │ ├── demo │ │ ├── base.md │ │ ├── Popover.md │ │ ├── customSize.md │ │ ├── icon.md │ │ ├── download.md │ │ ├── errorlevel.md │ │ ├── customColor.md │ │ └── status.md │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── badge │ ├── demo │ │ ├── ribbon-debug.md │ │ ├── ribbon.md │ │ ├── size.md │ │ ├── status.md │ │ ├── change.md │ │ ├── link.md │ │ ├── colorful-with-count-debug.md │ │ ├── mix.md │ │ ├── title.md │ │ ├── no-wrapper.md │ │ └── dot.md │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── button │ ├── demo │ │ ├── debug-block.md │ │ ├── debug-icon.md │ │ ├── legacy-group.md │ │ ├── danger.md │ │ ├── block.md │ │ ├── disabled.md │ │ └── chinese-chars-loading.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── carousel │ ├── demo │ │ ├── basic.md │ │ ├── fade.md │ │ ├── position.md │ │ └── autoplay.md │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── checkbox │ ├── demo │ │ ├── debug-line.md │ │ ├── disabled.md │ │ ├── basic.md │ │ ├── controller.md │ │ ├── debug-disable-popover.md │ │ ├── group.md │ │ └── check-all.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── empty │ ├── demo │ │ ├── basic.md │ │ ├── description.md │ │ ├── config-provider.md │ │ ├── basic.tsx │ │ ├── customize.md │ │ └── description.tsx │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── mentions │ ├── demo │ │ ├── basic.md │ │ ├── autoSize.md │ │ ├── placement.md │ │ ├── render-panel.md │ │ ├── form.md │ │ └── readonly.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── modal │ ├── demo │ │ ├── basic.md │ │ ├── dark.md │ │ ├── wireframe.md │ │ ├── component-token.md │ │ ├── render-panel.md │ │ ├── width.md │ │ ├── manual.md │ │ ├── custom-mouse-position.md │ │ ├── modal-render.md │ │ ├── hooks.md │ │ └── locale.md │ ├── destroyFns.ts │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── pagination │ ├── demo │ │ ├── more.md │ │ ├── basic.md │ │ ├── simple.md │ │ ├── wireframe.md │ │ ├── all.md │ │ ├── changer.md │ │ ├── jump.md │ │ ├── controlled.md │ │ ├── itemRender.md │ │ └── total.md │ ├── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts │ └── index.ts ├── select │ ├── demo │ │ ├── basic.md │ │ ├── debug.md │ │ ├── suffix.md │ │ ├── bordered.md │ │ ├── search-box.md │ │ ├── option-label-center.md │ │ ├── search.md │ │ ├── search-sort.md │ │ ├── custom-tag-render.md │ │ ├── optgroup.md │ │ ├── multiple.md │ │ ├── render-panel.md │ │ ├── hide-selected.md │ │ ├── debug-flip-shift.md │ │ ├── tags.md │ │ └── placement.md │ └── __tests__ │ │ └── demo-extend.test.ts ├── space │ ├── demo │ │ ├── debug.md │ │ ├── wrap.md │ │ ├── customize.md │ │ ├── gap-in-line.md │ │ ├── split.md │ │ ├── compact-nested.md │ │ ├── base.md │ │ ├── vertical.md │ │ ├── compact-buttons.md │ │ └── compact-button-vertical.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── steps │ ├── demo │ │ ├── progress-debug.md │ │ ├── nav.md │ │ ├── wireframe.md │ │ ├── progress.md │ │ ├── simple.md │ │ ├── progress-dot.md │ │ ├── component-token.md │ │ ├── progress-dot-small.md │ │ ├── vertical.md │ │ ├── label-placement.md │ │ ├── steps-in-steps.md │ │ ├── clickable.md │ │ ├── vertical-small.md │ │ ├── customized-progress-dot.md │ │ ├── error.md │ │ ├── step-next.md │ │ ├── icon.md │ │ └── small-size.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── tag │ ├── demo │ │ ├── borderless.md │ │ ├── colorful-inverse.md │ │ ├── borderlessLayout.md │ │ ├── customize.md │ │ ├── control.md │ │ └── draggable.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── timeline │ ├── demo │ │ ├── wireframe.md │ │ ├── basic.md │ │ ├── alternate.md │ │ ├── right.md │ │ └── label.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── tooltip │ ├── demo │ │ ├── debug.md │ │ ├── basic.md │ │ ├── render-panel.md │ │ ├── arrow.md │ │ ├── auto-adjust-overflow.md │ │ └── colorful.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── anchor │ ├── demo │ │ ├── basic.md │ │ ├── legacy-anchor.md │ │ ├── horizontal.md │ │ ├── onChange.md │ │ ├── customizeHighlight.md │ │ ├── onClick.md │ │ ├── static.md │ │ └── targetOffset.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── color-picker │ ├── demo │ │ ├── base.md │ │ ├── pure-panel.md │ │ ├── allowClear.md │ │ ├── disabled.md │ │ ├── trigger.md │ │ ├── presets.md │ │ ├── format.md │ │ ├── controlled.md │ │ ├── disabled.tsx │ │ ├── allowClear.tsx │ │ ├── base.tsx │ │ └── trigger-event.tsx │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── popover │ ├── demo │ │ ├── wireframe.md │ │ ├── triggerType.md │ │ ├── render-panel.md │ │ ├── control.md │ │ └── hover-with-click.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── radio │ ├── demo │ │ ├── basic.md │ │ ├── wireframe.md │ │ ├── badge.md │ │ ├── disabled.md │ │ ├── radiobutton-solid.md │ │ ├── radiogroup.md │ │ ├── radiobutton.md │ │ ├── radiogroup-more.md │ │ ├── basic.tsx │ │ └── size.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── rate │ ├── demo │ │ ├── basic.md │ │ ├── half.md │ │ ├── text.md │ │ ├── disabled.md │ │ ├── clear.md │ │ ├── basic.tsx │ │ ├── half.tsx │ │ ├── character-function.md │ │ └── disabled.tsx │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── result │ ├── demo │ │ ├── customIcon.md │ │ ├── info.md │ │ ├── success.md │ │ ├── warning.md │ │ ├── 404.md │ │ ├── 500.md │ │ ├── 403.md │ │ └── component-token.md │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── statistic │ ├── demo │ │ ├── basic.md │ │ ├── countdown.md │ │ ├── card.md │ │ ├── unit.md │ │ └── component-token.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── switch │ ├── demo │ │ ├── text.md │ │ ├── basic.md │ │ ├── disabled.md │ │ ├── loading.md │ │ └── size.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── table │ ├── demo │ │ ├── selections-debug.md │ │ ├── responsive.md │ │ ├── basic.md │ │ ├── pagination.md │ │ ├── bordered.md │ │ ├── row-selection-custom-debug.md │ │ ├── nested-table.md │ │ ├── row-selection-debug.md │ │ ├── nest-table-border-debug.md │ │ ├── grouping-columns.md │ │ ├── expand.md │ │ ├── narrow.md │ │ └── tree-table-ellipsis.md │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── tabs │ ├── demo │ │ ├── centered.md │ │ ├── disabled.md │ │ ├── icon.md │ │ ├── animated.md │ │ ├── basic.md │ │ ├── nest.md │ │ ├── card.md │ │ ├── card-top.md │ │ ├── slide.md │ │ ├── custom-add-trigger.md │ │ └── size.md │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── tour │ ├── demo │ │ ├── basic.md │ │ ├── indicator.md │ │ ├── mask.md │ │ └── render-panel.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── alert │ ├── demo │ │ ├── action.md │ │ ├── closable.md │ │ ├── basic.md │ │ ├── smooth-closed.md │ │ ├── description.md │ │ ├── banner.md │ │ ├── close-text.md │ │ ├── custom-icon.md │ │ ├── icon.md │ │ └── style.md │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── avatar │ ├── demo │ │ ├── group.md │ │ ├── badge.md │ │ ├── basic.md │ │ ├── responsive.md │ │ └── toggle-debug.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── breadcrumb │ ├── demo │ │ ├── basic.md │ │ ├── debug-routes.md │ │ ├── overlay.md │ │ ├── separator-component.md │ │ ├── withIcon.md │ │ └── separator.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── descriptions │ ├── demo │ │ ├── basic.md │ │ ├── vertical.md │ │ ├── style.md │ │ ├── border.md │ │ ├── text.md │ │ ├── size.md │ │ ├── vertical-border.md │ │ └── responsive.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── float-button │ ├── demo │ │ ├── badge-debug.md │ │ ├── basic.md │ │ ├── badge.md │ │ ├── render-panel.md │ │ ├── shape.md │ │ ├── type.md │ │ ├── back-top.md │ │ └── tooltip.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── popconfirm │ ├── demo │ │ ├── wireframe.md │ │ ├── icon.md │ │ ├── dynamic-trigger.md │ │ ├── render-panel.md │ │ └── locale.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── progress │ ├── demo │ │ ├── size.md │ │ ├── circle.md │ │ ├── line.md │ │ ├── steps.md │ │ ├── circle-mini.md │ │ ├── dynamic.md │ │ ├── line-mini.md │ │ ├── circle-dynamic.md │ │ ├── format.md │ │ └── gradient-line.md │ ├── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts │ └── index.tsx ├── segmented │ ├── demo │ │ ├── basic.md │ │ ├── disabled.md │ │ ├── dynamic.md │ │ ├── controlled.md │ │ ├── with-icon.md │ │ ├── size-consistent.md │ │ ├── custom.md │ │ ├── icon-only.md │ │ ├── block.md │ │ └── controlled-two.md │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── watermark │ ├── demo │ │ ├── basic.md │ │ └── custom.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── card │ ├── demo │ │ ├── tabs.md │ │ ├── grid-card.md │ │ ├── simple.md │ │ ├── border-less.md │ │ ├── in-column.md │ │ ├── meta.md │ │ ├── loading.md │ │ ├── flexible-content.md │ │ ├── inner.md │ │ └── basic.md │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── cascader │ ├── demo │ │ ├── fields-name.md │ │ ├── custom-trigger.md │ │ ├── size.md │ │ ├── change-on-select.md │ │ ├── default-value.md │ │ ├── render-panel.md │ │ ├── basic.md │ │ ├── hover.md │ │ ├── custom-render.md │ │ ├── custom-dropdown.md │ │ ├── placement.md │ │ ├── disabled-option.md │ │ └── showCheckedStrategy.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── skeleton │ ├── demo │ │ ├── active.md │ │ ├── basic.md │ │ ├── list.md │ │ ├── children.md │ │ ├── complex.md │ │ ├── element.md │ │ ├── basic.tsx │ │ └── active.tsx │ ├── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts │ └── index.tsx ├── slider │ ├── demo │ │ ├── vertical.md │ │ ├── reverse.md │ │ ├── draggableTrack.md │ │ └── input-number.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ ├── demo.test.ts │ │ └── image.test.ts ├── tree-select │ ├── demo │ │ ├── basic.md │ │ ├── suffix.md │ │ ├── multiple.md │ │ ├── async.md │ │ ├── checkable.md │ │ ├── render-panel.md │ │ ├── treeLine.md │ │ └── placement.md │ └── __tests__ │ │ └── demo-extend.test.ts ├── app │ ├── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts │ └── demo │ │ └── basic.md ├── calendar │ ├── locale │ │ ├── ar_EG.ts │ │ ├── az_AZ.ts │ │ ├── bg_BG.ts │ │ ├── bn_BD.ts │ │ ├── by_BY.ts │ │ ├── ca_ES.ts │ │ ├── cs_CZ.ts │ │ ├── da_DK.ts │ │ ├── de_DE.ts │ │ ├── el_GR.ts │ │ ├── en_GB.ts │ │ ├── en_US.ts │ │ ├── es_ES.ts │ │ ├── et_EE.ts │ │ ├── eu_ES.ts │ │ ├── fa_IR.ts │ │ ├── fi_FI.ts │ │ ├── fr_BE.ts │ │ ├── fr_CA.ts │ │ ├── fr_FR.ts │ │ ├── ga_IE.ts │ │ ├── gl_ES.ts │ │ ├── he_IL.ts │ │ ├── hi_IN.ts │ │ ├── hr_HR.ts │ │ ├── hu_HU.ts │ │ ├── id_ID.ts │ │ ├── is_IS.ts │ │ ├── it_IT.ts │ │ ├── ja_JP.ts │ │ ├── ka_GE.ts │ │ ├── kk_KZ.ts │ │ ├── km_KH.ts │ │ ├── kn_IN.ts │ │ ├── ko_KR.ts │ │ ├── lt_LT.ts │ │ ├── lv_LV.ts │ │ ├── mk_MK.ts │ │ ├── ml_IN.ts │ │ ├── mn_MN.ts │ │ ├── ms_MY.ts │ │ ├── my_MM.ts │ │ ├── nb_NO.ts │ │ ├── nl_BE.ts │ │ ├── nl_NL.ts │ │ ├── pl_PL.ts │ │ ├── pt_BR.ts │ │ ├── pt_PT.ts │ │ ├── ro_RO.ts │ │ ├── ru_RU.ts │ │ ├── si_LK.ts │ │ ├── sk_SK.ts │ │ ├── sl_SI.ts │ │ ├── sr_RS.ts │ │ ├── sv_SE.ts │ │ ├── ta_IN.ts │ │ ├── th_TH.ts │ │ ├── tk_TK.ts │ │ ├── tr_TR.ts │ │ ├── uk_UA.ts │ │ ├── ur_PK.ts │ │ ├── vi_VN.ts │ │ ├── zh_CN.ts │ │ ├── zh_TW.ts │ │ └── kmr_IQ.ts │ ├── demo │ │ ├── customize-header.md │ │ ├── basic.md │ │ ├── select.md │ │ └── card.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── drawer │ ├── demo │ │ ├── no-mask.md │ │ ├── basic-right.md │ │ ├── component-token.md │ │ ├── config-provider.md │ │ ├── render-panel.md │ │ ├── scroll-debug.md │ │ ├── placement.md │ │ └── multi-level-drawer.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── image.test.ts ├── dropdown │ ├── demo │ │ ├── basic.md │ │ ├── placement.md │ │ ├── item.md │ │ ├── sub-menu.md │ │ ├── icon-debug.md │ │ ├── render-panel.md │ │ ├── trigger.md │ │ ├── context-menu.md │ │ ├── overlay-open.md │ │ └── selectable.md │ └── __tests__ │ │ └── demo-extend.test.ts ├── image │ ├── demo │ │ ├── basic.md │ │ ├── controlled-preview.md │ │ ├── fallback.md │ │ ├── previewSrc.md │ │ ├── preview-group-visible.md │ │ ├── placeholder.md │ │ └── preview-group.md │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── message │ ├── demo │ │ ├── info.md │ │ ├── component-token.md │ │ ├── other.md │ │ ├── render-panel.md │ │ ├── update.md │ │ ├── duration.md │ │ ├── custom-style.md │ │ └── loading.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ ├── demo.test.ts │ │ └── image.test.ts ├── spin │ ├── demo │ │ ├── basic.md │ │ ├── custom-indicator.md │ │ ├── basic.tsx │ │ └── nested.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── typography │ ├── demo │ │ ├── basic.md │ │ ├── suffix.md │ │ ├── ellipsis-debug.md │ │ ├── title.md │ │ ├── paragraph-debug.md │ │ ├── text.md │ │ └── interactive.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── date-picker │ ├── demo │ │ ├── bordered.md │ │ ├── render-panel.md │ │ ├── range-picker.md │ │ ├── basic.md │ │ ├── suffix.md │ │ ├── switchable.md │ │ ├── extra-footer.md │ │ ├── preset-ranges.md │ │ ├── mode.md │ │ ├── placement.md │ │ └── size.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── time-picker │ ├── demo │ │ ├── bordered.md │ │ ├── disabled.md │ │ ├── render-panel.md │ │ ├── value.md │ │ ├── addon.md │ │ ├── colored-popup.md │ │ ├── range-picker.md │ │ ├── 12hours.md │ │ ├── basic.md │ │ └── suffix.md │ ├── __tests__ │ │ └── demo-extend.test.ts │ └── locale │ │ ├── pt_BR.ts │ │ ├── pt_PT.ts │ │ └── zh_TW.ts ├── back-top │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── col │ ├── style │ │ └── index.ts │ └── index.ts ├── collapse │ ├── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts │ └── demo │ │ ├── borderless.md │ │ ├── mix.md │ │ ├── ghost.md │ │ ├── extra.md │ │ ├── accordion.md │ │ └── custom.md ├── config-provider │ └── demo │ │ ├── size.md │ │ ├── theme.md │ │ └── prefixCls.md ├── divider │ ├── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts │ └── demo │ │ ├── customize-style.md │ │ ├── vertical.md │ │ ├── horizontal.md │ │ ├── plain.md │ │ └── with-text.md ├── row │ ├── index.tsx │ └── style │ │ └── index.tsx ├── transfer │ ├── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts │ └── demo │ │ ├── search.md │ │ ├── large-data.md │ │ ├── custom-select-all-labels.md │ │ ├── oneWay.md │ │ └── custom-item.md ├── notification │ ├── demo │ │ ├── update.md │ │ ├── custom-icon.md │ │ ├── render-panel.md │ │ ├── with-icon.md │ │ ├── with-btn.md │ │ ├── basic.md │ │ └── custom-style.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── demo.test.ts ├── upload │ ├── demo │ │ ├── picture-circle.md │ │ ├── directory.md │ │ ├── upload-with-aliyun-oss.md │ │ ├── file-type.md │ │ ├── customize-progress-bar.md │ │ ├── basic.md │ │ ├── defaultFileList.md │ │ ├── upload-custom-action-icon.md │ │ ├── upload-manually.md │ │ ├── preview-file.md │ │ └── transform-file.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── demo.test.ts ├── grid │ ├── __tests__ │ │ ├── demo-extend.test.ts │ │ ├── demo.test.ts │ │ └── image.test.ts │ └── demo │ │ ├── flex-stretch.md │ │ └── useBreakpoint.md ├── icon │ ├── __tests__ │ │ ├── demo-extend.test.ts │ │ └── demo.test.ts │ ├── demo │ │ └── two-tone.md │ └── index.ts ├── _util │ ├── isNumeric.ts │ └── type.ts └── version │ └── index.ts ├── .dumi ├── theme │ ├── static │ │ └── style.ts │ ├── builtins │ │ ├── Palette │ │ │ └── index.ts │ │ ├── ColorPalettes │ │ │ └── index.ts │ │ ├── ColorPaletteTool │ │ │ └── index.ts │ │ └── ColorPaletteToolDark │ │ │ └── index.ts │ ├── slots │ │ └── Header │ │ │ └── interface.ts │ └── antd.js ├── pages │ ├── index-cn │ │ └── index.ts │ └── theme-editor-cn │ │ └── index.ts └── loading.js ├── typings ├── index.d.ts └── jest.d.ts ├── index.js ├── .husky └── pre-commit ├── .codesandbox └── ci.json ├── docs └── spec │ ├── shadow.en-US.md │ ├── research-form.en-US.md │ ├── research-list.en-US.md │ ├── research-result.en-US.md │ ├── research-workbench.en-US.md │ ├── research-exception.en-US.md │ └── research-overview.en-US.md ├── tests └── __mocks__ │ └── rc-virtual-list.ts ├── .github └── tests_checker.yml └── .gitpod.yml /.npmignore: -------------------------------------------------------------------------------- 1 | ~* 2 | -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | ant.design 2 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false -------------------------------------------------------------------------------- /.surgeignore: -------------------------------------------------------------------------------- 1 | !.dumi* 2 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /components/input/demo/align.md: -------------------------------------------------------------------------------- 1 | undefined 2 | -------------------------------------------------------------------------------- /components/tree/demo/drag-debug.md: -------------------------------------------------------------------------------- 1 | undefined 2 | -------------------------------------------------------------------------------- /components/auto-complete/demo/form-debug.md: -------------------------------------------------------------------------------- 1 | undefined 2 | -------------------------------------------------------------------------------- /components/input-number/demo/debug-token.md: -------------------------------------------------------------------------------- 1 | undefined 2 | -------------------------------------------------------------------------------- /.dumi/theme/static/style.ts: -------------------------------------------------------------------------------- 1 | import 'rc-footer/assets/index.css'; 2 | -------------------------------------------------------------------------------- /typings/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /components/affix/demo/debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | DEBUG 4 | 5 | ## en-US 6 | 7 | DEBUG 8 | -------------------------------------------------------------------------------- /components/form/demo/dep-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Buggy! 4 | 5 | ## en-US 6 | 7 | Buggy! 8 | -------------------------------------------------------------------------------- /components/layout/demo/custom-trigger-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 修改内容前,请尝试此 Demo 查看样式是否抖动。 4 | -------------------------------------------------------------------------------- /components/list/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 基础列表。 4 | 5 | ## en-US 6 | 7 | Basic list. 8 | -------------------------------------------------------------------------------- /components/menu/demo/style-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | buggy! 4 | 5 | ## en-US 6 | 7 | buggy! 8 | -------------------------------------------------------------------------------- /components/qrcode/demo/base.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 基本用法。 4 | 5 | ## en-US 6 | 7 | Basic Usage. 8 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | require('./index-style-only'); 2 | 3 | module.exports = require('./components'); 4 | -------------------------------------------------------------------------------- /components/badge/demo/ribbon-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Buggy! 4 | 5 | ## en-US 6 | 7 | Buggy! 8 | -------------------------------------------------------------------------------- /components/button/demo/debug-block.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试使用 4 | 5 | ## en-US 6 | 7 | Debug usage 8 | -------------------------------------------------------------------------------- /components/button/demo/debug-icon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试使用 4 | 5 | ## en-US 6 | 7 | Debug usage 8 | -------------------------------------------------------------------------------- /components/carousel/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法。 4 | 5 | ## en-US 6 | 7 | Basic usage. 8 | -------------------------------------------------------------------------------- /components/checkbox/demo/debug-line.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 同行布局 4 | 5 | ## en-US 6 | 7 | Same line 8 | -------------------------------------------------------------------------------- /components/empty/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 简单的展示。 4 | 5 | ## en-US 6 | 7 | Simplest Usage. 8 | -------------------------------------------------------------------------------- /components/input/demo/borderless.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 没有边框。 4 | 5 | ## en-US 6 | 7 | No border. 8 | -------------------------------------------------------------------------------- /components/mentions/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 基本使用。 4 | 5 | ## en-US 6 | 7 | Basic usage. 8 | -------------------------------------------------------------------------------- /components/modal/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 第一个对话框。 4 | 5 | ## en-US 6 | 7 | Basic modal. 8 | -------------------------------------------------------------------------------- /components/modal/demo/dark.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 第一个对话框。 4 | 5 | ## en-US 6 | 7 | Basic modal. 8 | -------------------------------------------------------------------------------- /components/modal/demo/wireframe.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 线框风格。 4 | 5 | ## en-US 6 | 7 | Wireframe. 8 | -------------------------------------------------------------------------------- /components/pagination/demo/more.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 更多分页。 4 | 5 | ## en-US 6 | 7 | More pages. 8 | -------------------------------------------------------------------------------- /components/select/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 基本使用。 4 | 5 | ## en-US 6 | 7 | Basic Usage. 8 | -------------------------------------------------------------------------------- /components/select/demo/debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试使用。 4 | 5 | ## en-US 6 | 7 | Debug Usage. 8 | -------------------------------------------------------------------------------- /components/select/demo/suffix.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 后缀图标。 4 | 5 | ## en-US 6 | 7 | suffix icon. 8 | -------------------------------------------------------------------------------- /components/space/demo/debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Debug usage 4 | 5 | ## en-US 6 | 7 | Debug usage 8 | -------------------------------------------------------------------------------- /components/space/demo/wrap.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自动换行。 4 | 5 | ## en-US 6 | 7 | Auto wrap line. 8 | -------------------------------------------------------------------------------- /components/steps/demo/progress-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Buggy! 4 | 5 | ## en-US 6 | 7 | Buggy! 8 | -------------------------------------------------------------------------------- /components/tag/demo/borderless.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 无边框模式。 4 | 5 | ## en-US 6 | 7 | borderless. 8 | -------------------------------------------------------------------------------- /components/timeline/demo/wireframe.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 线框风格。 4 | 5 | ## en-US 6 | 7 | Wireframe. 8 | -------------------------------------------------------------------------------- /components/tooltip/demo/debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Debug 用例。 4 | 5 | ## en-US 6 | 7 | Debug use. 8 | -------------------------------------------------------------------------------- /.dumi/pages/index-cn/index.ts: -------------------------------------------------------------------------------- 1 | import Homepage from '../index/index'; 2 | 3 | export default Homepage; 4 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npx --no-install lint-staged 5 | -------------------------------------------------------------------------------- /components/affix/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法。 4 | 5 | ## en-US 6 | 7 | The simplest usage. 8 | -------------------------------------------------------------------------------- /components/anchor/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法。 4 | 5 | ## en-US 6 | 7 | The simplest usage. 8 | -------------------------------------------------------------------------------- /components/anchor/demo/legacy-anchor.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试使用 4 | 5 | ## en-US 6 | 7 | Debug usage 8 | -------------------------------------------------------------------------------- /components/badge/demo/ribbon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用缎带型的徽标。 4 | 5 | ## en-US 6 | 7 | Use ribbon badge. 8 | -------------------------------------------------------------------------------- /components/color-picker/demo/base.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的使用方法。 4 | 5 | ## en-US 6 | 7 | Basic Usage. 8 | -------------------------------------------------------------------------------- /components/input-number/demo/borderless.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 没有边框。 4 | 5 | ## en-US 6 | 7 | No border. 8 | -------------------------------------------------------------------------------- /components/input/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 基本使用。 4 | 5 | ## en-US 6 | 7 | Basic usage example. 8 | -------------------------------------------------------------------------------- /components/modal/destroyFns.ts: -------------------------------------------------------------------------------- 1 | const destroyFns: Array = []; 2 | export default destroyFns; 3 | -------------------------------------------------------------------------------- /components/pagination/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 基础分页。 4 | 5 | ## en-US 6 | 7 | Basic pagination. 8 | -------------------------------------------------------------------------------- /components/pagination/demo/simple.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 简单的翻页。 4 | 5 | ## en-US 6 | 7 | Simple mode. 8 | -------------------------------------------------------------------------------- /components/popover/demo/wireframe.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 线框样式。 4 | 5 | ## en-US 6 | 7 | Wireframe style. 8 | -------------------------------------------------------------------------------- /components/qrcode/demo/Popover.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 带气泡卡片的例子。 4 | 5 | ## en-US 6 | 7 | With Popover. 8 | -------------------------------------------------------------------------------- /components/qrcode/demo/customSize.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义尺寸 4 | 5 | ## en-US 6 | 7 | Custom Size. 8 | -------------------------------------------------------------------------------- /components/radio/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法。 4 | 5 | ## en-US 6 | 7 | The simplest use. 8 | -------------------------------------------------------------------------------- /components/radio/demo/wireframe.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 线框风格。 4 | 5 | ## en-US 6 | 7 | Wireframe style. 8 | -------------------------------------------------------------------------------- /components/rate/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法。 4 | 5 | ## en-US 6 | 7 | The simplest usage. 8 | -------------------------------------------------------------------------------- /components/result/demo/customIcon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义 icon。 4 | 5 | ## en-US 6 | 7 | Custom icon. 8 | -------------------------------------------------------------------------------- /components/statistic/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 简单的展示。 4 | 5 | ## en-US 6 | 7 | Simplest Usage. 8 | -------------------------------------------------------------------------------- /components/steps/demo/nav.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 导航类型的步骤条。 4 | 5 | ## en-US 6 | 7 | Navigation steps. 8 | -------------------------------------------------------------------------------- /components/steps/demo/wireframe.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 线框风格。 4 | 5 | ## en-US 6 | 7 | Wireframe style. 8 | -------------------------------------------------------------------------------- /components/switch/demo/text.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 带有文字和图标。 4 | 5 | ## en-US 6 | 7 | With text and icon. 8 | -------------------------------------------------------------------------------- /components/table/demo/selections-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试使用。 4 | 5 | ## en-US 6 | 7 | debug use. 8 | -------------------------------------------------------------------------------- /components/tabs/demo/centered.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 标签居中展示。 4 | 5 | ## en-US 6 | 7 | Centered tabs. 8 | -------------------------------------------------------------------------------- /components/tabs/demo/disabled.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 禁用某一项。 4 | 5 | ## en-US 6 | 7 | Disabled a tab. 8 | -------------------------------------------------------------------------------- /components/tabs/demo/icon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 有图标的标签。 4 | 5 | ## en-US 6 | 7 | The Tab with Icon. 8 | -------------------------------------------------------------------------------- /components/timeline/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 基本的时间轴。 4 | 5 | ## en-US 6 | 7 | Basic timeline. 8 | -------------------------------------------------------------------------------- /components/tour/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法。 4 | 5 | ## en-US 6 | 7 | The most basic usage. 8 | -------------------------------------------------------------------------------- /components/tour/demo/indicator.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义指示器。 4 | 5 | ## en-US 6 | 7 | Custom indicator. 8 | -------------------------------------------------------------------------------- /components/tour/demo/mask.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义遮罩样式。 4 | 5 | ## en-US 6 | 7 | custom mask style. 8 | -------------------------------------------------------------------------------- /.codesandbox/ci.json: -------------------------------------------------------------------------------- 1 | { 2 | "sandboxes": ["antd-reproduction-template-y9vgcf"], 3 | "node": "14" 4 | } 5 | -------------------------------------------------------------------------------- /components/alert/demo/action.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以在右上角自定义操作项。 4 | 5 | ## en-US 6 | 7 | Custom action. 8 | -------------------------------------------------------------------------------- /components/auto-complete/demo/borderless.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 没有边框。 4 | 5 | ## en-US 6 | 7 | No border. 8 | -------------------------------------------------------------------------------- /components/avatar/demo/group.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 头像组合展现。 4 | 5 | ## en-US 6 | 7 | Avatar group display. 8 | -------------------------------------------------------------------------------- /components/breadcrumb/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法。 4 | 5 | ## en-US 6 | 7 | The simplest use. 8 | -------------------------------------------------------------------------------- /components/button/demo/legacy-group.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Debug usage 4 | 5 | ## en-US 6 | 7 | Debug usage 8 | -------------------------------------------------------------------------------- /components/color-picker/demo/pure-panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Pure Panel 4 | 5 | ## en-US 6 | 7 | Pure Panel 8 | -------------------------------------------------------------------------------- /components/descriptions/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 简单的展示。 4 | 5 | ## en-US 6 | 7 | Simplest Usage. 8 | -------------------------------------------------------------------------------- /components/descriptions/demo/vertical.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 垂直的列表。 4 | 5 | ## en-US 6 | 7 | Simplest Usage. 8 | -------------------------------------------------------------------------------- /components/float-button/demo/badge-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试使用。 4 | 5 | ## en-US 6 | 7 | debug use. 8 | -------------------------------------------------------------------------------- /components/form/demo/ref-item.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 请优先使用 `ref`! 4 | 5 | ## en-US 6 | 7 | Use `ref` first! 8 | -------------------------------------------------------------------------------- /components/input/demo/textarea.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 用于多行输入。 4 | 5 | ## en-US 6 | 7 | For multi-line input. 8 | -------------------------------------------------------------------------------- /components/layout/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 典型的页面布局。 4 | 5 | ## en-US 6 | 7 | Classic page layouts. 8 | -------------------------------------------------------------------------------- /components/mentions/demo/autoSize.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自适应内容高度。 4 | 5 | ## en-US 6 | 7 | Height autoSize. 8 | -------------------------------------------------------------------------------- /components/pagination/demo/wireframe.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 线框化样式。 4 | 5 | ## en-US 6 | 7 | Wireframe style. 8 | -------------------------------------------------------------------------------- /components/popconfirm/demo/wireframe.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 线框风格。 4 | 5 | ## en-US 6 | 7 | Wireframe style. 8 | -------------------------------------------------------------------------------- /components/progress/demo/size.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 进度条尺寸。 4 | 5 | ## en-US 6 | 7 | The size of progress. 8 | -------------------------------------------------------------------------------- /components/qrcode/demo/icon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 带 Icon 的二维码。 4 | 5 | ## en-US 6 | 7 | QRCode with Icon. 8 | -------------------------------------------------------------------------------- /components/radio/demo/badge.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 测试 Badge 的样式。 4 | 5 | ## en-US 6 | 7 | Test Badge style. 8 | -------------------------------------------------------------------------------- /components/radio/demo/disabled.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Radio 不可用。 4 | 5 | ## en-US 6 | 7 | Radio unavailable. 8 | -------------------------------------------------------------------------------- /components/rate/demo/half.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 支持选中半星。 4 | 5 | ## en-US 6 | 7 | Support select half star. 8 | -------------------------------------------------------------------------------- /components/result/demo/info.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 展示处理结果。 4 | 5 | ## en-US 6 | 7 | Show processing results. 8 | -------------------------------------------------------------------------------- /components/segmented/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法。 4 | 5 | ## en-US 6 | 7 | The most basic usage. 8 | -------------------------------------------------------------------------------- /components/space/demo/customize.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义间距大小。 4 | 5 | ## en-US 6 | 7 | Custom spacing size. 8 | -------------------------------------------------------------------------------- /components/space/demo/gap-in-line.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Debug usage 4 | 5 | ## en-US 6 | 7 | Debug usage 8 | -------------------------------------------------------------------------------- /components/steps/demo/progress.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 带有进度的步骤。 4 | 5 | ## en-US 6 | 7 | Steps with progress. 8 | -------------------------------------------------------------------------------- /components/steps/demo/simple.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 简单的步骤条。 4 | 5 | ## en-US 6 | 7 | The most basic step bar. 8 | -------------------------------------------------------------------------------- /components/switch/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法。 4 | 5 | ## en-US 6 | 7 | The most basic usage. 8 | -------------------------------------------------------------------------------- /components/tabs/demo/animated.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 动画切换。 4 | 5 | ## en-US 6 | 7 | Animated of Tab Pane. 8 | -------------------------------------------------------------------------------- /components/tooltip/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法。 4 | 5 | ## en-US 6 | 7 | The simplest usage. 8 | -------------------------------------------------------------------------------- /components/tree/demo/big-data.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 大数据展示。 4 | 5 | ## en-US 6 | 7 | Plenty of tree nodes. 8 | -------------------------------------------------------------------------------- /components/watermark/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法。 4 | 5 | ## en-US 6 | 7 | The most basic usage. 8 | -------------------------------------------------------------------------------- /docs/spec/shadow.en-US.md: -------------------------------------------------------------------------------- 1 | --- 2 | group: Global Styles 3 | order: 6 4 | title: Shadow 5 | skip: true 6 | --- 7 | -------------------------------------------------------------------------------- /tests/__mocks__/rc-virtual-list.ts: -------------------------------------------------------------------------------- 1 | import List from 'rc-virtual-list/lib/mock'; 2 | 3 | export default List; 4 | -------------------------------------------------------------------------------- /components/card/demo/tabs.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可承载更多内容。 4 | 5 | ## en-US 6 | 7 | More content can be hosted. 8 | -------------------------------------------------------------------------------- /components/cascader/demo/fields-name.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义字段名。 4 | 5 | ## en-US 6 | 7 | Custom field names. 8 | -------------------------------------------------------------------------------- /components/checkbox/demo/disabled.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | checkbox 不可用。 4 | 5 | ## en-US 6 | 7 | Disabled checkbox. 8 | -------------------------------------------------------------------------------- /components/color-picker/demo/allowClear.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 清除已选择的颜色。 4 | 5 | ## en-US 6 | 7 | Clear Color. 8 | -------------------------------------------------------------------------------- /components/float-button/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法。 4 | 5 | ## en-US 6 | 7 | The most basic usage. 8 | -------------------------------------------------------------------------------- /components/input-number/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 数字输入框。 4 | 5 | ## en-US 6 | 7 | Numeric-only input box. 8 | -------------------------------------------------------------------------------- /components/input/demo/borderless-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Buggy! 测试一些踩过的样式坑。 4 | 5 | ## en-US 6 | 7 | Buggy! 8 | -------------------------------------------------------------------------------- /components/input/demo/password-input.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 密码框。 4 | 5 | ## en-US 6 | 7 | Input type of password. 8 | -------------------------------------------------------------------------------- /components/input/demo/show-count.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 展示字数提示。 4 | 5 | ## en-US 6 | 7 | Show character counting. 8 | -------------------------------------------------------------------------------- /components/menu/demo/menu-v4.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | V4 样式的 Menu 组件。 4 | 5 | ## en-US 6 | 7 | Menu with v4 style. 8 | -------------------------------------------------------------------------------- /components/menu/demo/vertical.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 子菜单是弹出的形式。 4 | 5 | ## en-US 6 | 7 | Submenus open as pop-ups. 8 | -------------------------------------------------------------------------------- /components/pagination/demo/all.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 展示所有配置选项。 4 | 5 | ## en-US 6 | 7 | Show all configured prop. 8 | -------------------------------------------------------------------------------- /components/pagination/demo/changer.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 改变每页显示条目数。 4 | 5 | ## en-US 6 | 7 | Change `pageSize`. 8 | -------------------------------------------------------------------------------- /components/pagination/demo/jump.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 快速跳转到某一页。 4 | 5 | ## en-US 6 | 7 | Jump to a page directly. 8 | -------------------------------------------------------------------------------- /components/progress/demo/circle.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 圈形的进度。 4 | 5 | ## en-US 6 | 7 | A circular progress bar. 8 | -------------------------------------------------------------------------------- /components/progress/demo/line.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 标准的进度条。 4 | 5 | ## en-US 6 | 7 | A standard progress bar. 8 | -------------------------------------------------------------------------------- /components/progress/demo/steps.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 带步骤的进度条。 4 | 5 | ## en-US 6 | 7 | A progress bar with steps. 8 | -------------------------------------------------------------------------------- /components/result/demo/success.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 成功的结果。 4 | 5 | ## en-US 6 | 7 | Show successful results. 8 | -------------------------------------------------------------------------------- /components/result/demo/warning.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 警告类型的结果。 4 | 5 | ## en-US 6 | 7 | The result of the warning. 8 | -------------------------------------------------------------------------------- /components/skeleton/demo/active.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 显示动画效果。 4 | 5 | ## en-US 6 | 7 | Display active animation. 8 | -------------------------------------------------------------------------------- /components/skeleton/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的占位效果。 4 | 5 | ## en-US 6 | 7 | Simplest Skeleton usage. 8 | -------------------------------------------------------------------------------- /components/slider/demo/vertical.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 垂直方向的 Slider。 4 | 5 | ## en-US 6 | 7 | The vertical Slider. 8 | -------------------------------------------------------------------------------- /components/space/demo/split.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 相邻组件分隔符。 4 | 5 | ## en-US 6 | 7 | Crowded components split. 8 | -------------------------------------------------------------------------------- /components/statistic/demo/countdown.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 倒计时组件。 4 | 5 | ## en-US 6 | 7 | Countdown component. 8 | -------------------------------------------------------------------------------- /components/table/demo/responsive.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 响应式配置列的展示。 4 | 5 | ## en-US 6 | 7 | Responsive columns. 8 | -------------------------------------------------------------------------------- /components/tabs/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 默认选中第一项。 4 | 5 | ## en-US 6 | 7 | Default activate first tab. 8 | -------------------------------------------------------------------------------- /components/tabs/demo/nest.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 默认选中第一项。 4 | 5 | ## en-US 6 | 7 | Default activate first tab. 8 | -------------------------------------------------------------------------------- /components/tree-select/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法。 4 | 5 | ## en-US 6 | 7 | The most basic usage. 8 | -------------------------------------------------------------------------------- /components/tree-select/demo/suffix.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法。 4 | 5 | ## en-US 6 | 7 | The most basic usage. 8 | -------------------------------------------------------------------------------- /.dumi/pages/theme-editor-cn/index.ts: -------------------------------------------------------------------------------- 1 | import ThemeEditor from '../theme-editor'; 2 | 3 | export default ThemeEditor; 4 | -------------------------------------------------------------------------------- /components/alert/demo/closable.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 显示关闭按钮,点击可关闭警告提示。 4 | 5 | ## en-US 6 | 7 | To show close button. 8 | -------------------------------------------------------------------------------- /components/app/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('app'); 4 | -------------------------------------------------------------------------------- /components/auto-complete/demo/custom.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义输入组件。 4 | 5 | ## en-US 6 | 7 | Customize Input Component 8 | -------------------------------------------------------------------------------- /components/badge/demo/size.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以设置有数字徽标的大小。 4 | 5 | ## en-US 6 | 7 | Set size of numeral Badge. 8 | -------------------------------------------------------------------------------- /components/badge/demo/status.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 用于表示状态的小圆点。 4 | 5 | ## en-US 6 | 7 | Standalone badge with status. 8 | -------------------------------------------------------------------------------- /components/calendar/locale/ar_EG.ts: -------------------------------------------------------------------------------- 1 | import arEG from '../../date-picker/locale/ar_EG'; 2 | 3 | export default arEG; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/az_AZ.ts: -------------------------------------------------------------------------------- 1 | import azAZ from '../../date-picker/locale/az_AZ'; 2 | 3 | export default azAZ; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/bg_BG.ts: -------------------------------------------------------------------------------- 1 | import bgBG from '../../date-picker/locale/bg_BG'; 2 | 3 | export default bgBG; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/bn_BD.ts: -------------------------------------------------------------------------------- 1 | import bnBD from '../../date-picker/locale/bn_BD'; 2 | 3 | export default bnBD; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/by_BY.ts: -------------------------------------------------------------------------------- 1 | import byBY from '../../date-picker/locale/by_BY'; 2 | 3 | export default byBY; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/ca_ES.ts: -------------------------------------------------------------------------------- 1 | import caES from '../../date-picker/locale/ca_ES'; 2 | 3 | export default caES; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/cs_CZ.ts: -------------------------------------------------------------------------------- 1 | import csCZ from '../../date-picker/locale/cs_CZ'; 2 | 3 | export default csCZ; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/da_DK.ts: -------------------------------------------------------------------------------- 1 | import daDK from '../../date-picker/locale/da_DK'; 2 | 3 | export default daDK; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/de_DE.ts: -------------------------------------------------------------------------------- 1 | import deDE from '../../date-picker/locale/de_DE'; 2 | 3 | export default deDE; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/el_GR.ts: -------------------------------------------------------------------------------- 1 | import elGR from '../../date-picker/locale/el_GR'; 2 | 3 | export default elGR; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/en_GB.ts: -------------------------------------------------------------------------------- 1 | import enGB from '../../date-picker/locale/en_GB'; 2 | 3 | export default enGB; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/en_US.ts: -------------------------------------------------------------------------------- 1 | import enUS from '../../date-picker/locale/en_US'; 2 | 3 | export default enUS; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/es_ES.ts: -------------------------------------------------------------------------------- 1 | import esES from '../../date-picker/locale/es_ES'; 2 | 3 | export default esES; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/et_EE.ts: -------------------------------------------------------------------------------- 1 | import etEE from '../../date-picker/locale/et_EE'; 2 | 3 | export default etEE; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/eu_ES.ts: -------------------------------------------------------------------------------- 1 | import euES from '../../date-picker/locale/eu_ES'; 2 | 3 | export default euES; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/fa_IR.ts: -------------------------------------------------------------------------------- 1 | import faIR from '../../date-picker/locale/fa_IR'; 2 | 3 | export default faIR; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/fi_FI.ts: -------------------------------------------------------------------------------- 1 | import fiFI from '../../date-picker/locale/fi_FI'; 2 | 3 | export default fiFI; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/fr_BE.ts: -------------------------------------------------------------------------------- 1 | import frBE from '../../date-picker/locale/fr_BE'; 2 | 3 | export default frBE; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/fr_CA.ts: -------------------------------------------------------------------------------- 1 | import frCA from '../../date-picker/locale/fr_CA'; 2 | 3 | export default frCA; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/fr_FR.ts: -------------------------------------------------------------------------------- 1 | import frFR from '../../date-picker/locale/fr_FR'; 2 | 3 | export default frFR; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/ga_IE.ts: -------------------------------------------------------------------------------- 1 | import gaIE from '../../date-picker/locale/ga_IE'; 2 | 3 | export default gaIE; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/gl_ES.ts: -------------------------------------------------------------------------------- 1 | import glES from '../../date-picker/locale/gl_ES'; 2 | 3 | export default glES; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/he_IL.ts: -------------------------------------------------------------------------------- 1 | import heIL from '../../date-picker/locale/he_IL'; 2 | 3 | export default heIL; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/hi_IN.ts: -------------------------------------------------------------------------------- 1 | import hiIN from '../../date-picker/locale/hi_IN'; 2 | 3 | export default hiIN; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/hr_HR.ts: -------------------------------------------------------------------------------- 1 | import hrHR from '../../date-picker/locale/hr_HR'; 2 | 3 | export default hrHR; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/hu_HU.ts: -------------------------------------------------------------------------------- 1 | import huHU from '../../date-picker/locale/hu_HU'; 2 | 3 | export default huHU; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/id_ID.ts: -------------------------------------------------------------------------------- 1 | import idID from '../../date-picker/locale/id_ID'; 2 | 3 | export default idID; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/is_IS.ts: -------------------------------------------------------------------------------- 1 | import isIS from '../../date-picker/locale/is_IS'; 2 | 3 | export default isIS; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/it_IT.ts: -------------------------------------------------------------------------------- 1 | import itIT from '../../date-picker/locale/it_IT'; 2 | 3 | export default itIT; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/ja_JP.ts: -------------------------------------------------------------------------------- 1 | import jaJP from '../../date-picker/locale/ja_JP'; 2 | 3 | export default jaJP; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/ka_GE.ts: -------------------------------------------------------------------------------- 1 | import kaGE from '../../date-picker/locale/ka_GE'; 2 | 3 | export default kaGE; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/kk_KZ.ts: -------------------------------------------------------------------------------- 1 | import kkKZ from '../../date-picker/locale/kk_KZ'; 2 | 3 | export default kkKZ; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/km_KH.ts: -------------------------------------------------------------------------------- 1 | import kmKH from '../../date-picker/locale/km_KH'; 2 | 3 | export default kmKH; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/kn_IN.ts: -------------------------------------------------------------------------------- 1 | import knIN from '../../date-picker/locale/kn_IN'; 2 | 3 | export default knIN; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/ko_KR.ts: -------------------------------------------------------------------------------- 1 | import koKR from '../../date-picker/locale/ko_KR'; 2 | 3 | export default koKR; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/lt_LT.ts: -------------------------------------------------------------------------------- 1 | import ltLT from '../../date-picker/locale/lt_LT'; 2 | 3 | export default ltLT; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/lv_LV.ts: -------------------------------------------------------------------------------- 1 | import lvLV from '../../date-picker/locale/lv_LV'; 2 | 3 | export default lvLV; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/mk_MK.ts: -------------------------------------------------------------------------------- 1 | import mkMK from '../../date-picker/locale/mk_MK'; 2 | 3 | export default mkMK; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/ml_IN.ts: -------------------------------------------------------------------------------- 1 | import mlIN from '../../date-picker/locale/ml_IN'; 2 | 3 | export default mlIN; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/mn_MN.ts: -------------------------------------------------------------------------------- 1 | import mnMN from '../../date-picker/locale/mn_MN'; 2 | 3 | export default mnMN; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/ms_MY.ts: -------------------------------------------------------------------------------- 1 | import msMY from '../../date-picker/locale/ms_MY'; 2 | 3 | export default msMY; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/my_MM.ts: -------------------------------------------------------------------------------- 1 | import myMM from '../../date-picker/locale/my_MM'; 2 | 3 | export default myMM; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/nb_NO.ts: -------------------------------------------------------------------------------- 1 | import nbNO from '../../date-picker/locale/nb_NO'; 2 | 3 | export default nbNO; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/nl_BE.ts: -------------------------------------------------------------------------------- 1 | import nlBE from '../../date-picker/locale/nl_BE'; 2 | 3 | export default nlBE; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/nl_NL.ts: -------------------------------------------------------------------------------- 1 | import nlNL from '../../date-picker/locale/nl_NL'; 2 | 3 | export default nlNL; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/pl_PL.ts: -------------------------------------------------------------------------------- 1 | import plPL from '../../date-picker/locale/pl_PL'; 2 | 3 | export default plPL; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/pt_BR.ts: -------------------------------------------------------------------------------- 1 | import ptBR from '../../date-picker/locale/pt_BR'; 2 | 3 | export default ptBR; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/pt_PT.ts: -------------------------------------------------------------------------------- 1 | import ptPT from '../../date-picker/locale/pt_PT'; 2 | 3 | export default ptPT; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/ro_RO.ts: -------------------------------------------------------------------------------- 1 | import roRO from '../../date-picker/locale/ro_RO'; 2 | 3 | export default roRO; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/ru_RU.ts: -------------------------------------------------------------------------------- 1 | import ruRU from '../../date-picker/locale/ru_RU'; 2 | 3 | export default ruRU; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/si_LK.ts: -------------------------------------------------------------------------------- 1 | import siLK from '../../date-picker/locale/si_LK'; 2 | 3 | export default siLK; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/sk_SK.ts: -------------------------------------------------------------------------------- 1 | import skSK from '../../date-picker/locale/sk_SK'; 2 | 3 | export default skSK; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/sl_SI.ts: -------------------------------------------------------------------------------- 1 | import slSI from '../../date-picker/locale/sl_SI'; 2 | 3 | export default slSI; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/sr_RS.ts: -------------------------------------------------------------------------------- 1 | import srRS from '../../date-picker/locale/sr_RS'; 2 | 3 | export default srRS; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/sv_SE.ts: -------------------------------------------------------------------------------- 1 | import svSE from '../../date-picker/locale/sv_SE'; 2 | 3 | export default svSE; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/ta_IN.ts: -------------------------------------------------------------------------------- 1 | import taIN from '../../date-picker/locale/ta_IN'; 2 | 3 | export default taIN; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/th_TH.ts: -------------------------------------------------------------------------------- 1 | import thTH from '../../date-picker/locale/th_TH'; 2 | 3 | export default thTH; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/tk_TK.ts: -------------------------------------------------------------------------------- 1 | import tkTK from '../../date-picker/locale/tk_TK'; 2 | 3 | export default tkTK; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/tr_TR.ts: -------------------------------------------------------------------------------- 1 | import trTR from '../../date-picker/locale/tr_TR'; 2 | 3 | export default trTR; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/uk_UA.ts: -------------------------------------------------------------------------------- 1 | import ukUA from '../../date-picker/locale/uk_UA'; 2 | 3 | export default ukUA; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/ur_PK.ts: -------------------------------------------------------------------------------- 1 | import urPK from '../../date-picker/locale/ur_PK'; 2 | 3 | export default urPK; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/vi_VN.ts: -------------------------------------------------------------------------------- 1 | import viVN from '../../date-picker/locale/vi_VN'; 2 | 3 | export default viVN; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/zh_CN.ts: -------------------------------------------------------------------------------- 1 | import zhCN from '../../date-picker/locale/zh_CN'; 2 | 3 | export default zhCN; 4 | -------------------------------------------------------------------------------- /components/calendar/locale/zh_TW.ts: -------------------------------------------------------------------------------- 1 | import zhTW from '../../date-picker/locale/zh_TW'; 2 | 3 | export default zhTW; 4 | -------------------------------------------------------------------------------- /components/card/demo/grid-card.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 一种常见的卡片内容区隔模式。 4 | 5 | ## en-US 6 | 7 | Grid style card content. 8 | -------------------------------------------------------------------------------- /components/carousel/demo/fade.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 切换效果为渐显。 4 | 5 | ## en-US 6 | 7 | Slides use fade for transition. 8 | -------------------------------------------------------------------------------- /components/checkbox/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 简单的 checkbox。 4 | 5 | ## en-US 6 | 7 | Basic usage of checkbox. 8 | -------------------------------------------------------------------------------- /components/color-picker/demo/disabled.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 设置为禁用状态。 4 | 5 | ## en-US 6 | 7 | Set to disabled state. 8 | -------------------------------------------------------------------------------- /components/drawer/demo/no-mask.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `mask={false}` 去掉遮罩。 4 | 5 | ## en-US 6 | 7 | Remove mask. 8 | -------------------------------------------------------------------------------- /components/dropdown/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的下拉菜单。 4 | 5 | ## en-US 6 | 7 | The most basic dropdown menu. 8 | -------------------------------------------------------------------------------- /components/dropdown/demo/placement.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 支持 6 个弹出位置。 4 | 5 | ## en-US 6 | 7 | Support 6 placements. 8 | -------------------------------------------------------------------------------- /components/image/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 单击图像可以放大显示。 4 | 5 | ## en-US 6 | 7 | Click the image to zoom in. 8 | -------------------------------------------------------------------------------- /components/input/demo/addon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 用于配置一些固定组合。 4 | 5 | ## en-US 6 | 7 | Using pre & post tabs example. 8 | -------------------------------------------------------------------------------- /components/input/demo/focus.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 聚焦额外配置属性。 4 | 5 | ## en-US 6 | 7 | Focus with additional option. 8 | -------------------------------------------------------------------------------- /components/input/demo/textarea-resize.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 用于多行输入。 4 | 5 | ## en-US 6 | 7 | For multi-line input. 8 | -------------------------------------------------------------------------------- /components/message/demo/info.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 信息提醒反馈。 4 | 5 | ## en-US 6 | 7 | Normal message for information. 8 | -------------------------------------------------------------------------------- /components/pagination/demo/controlled.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 受控制的页码。 4 | 5 | ## en-US 6 | 7 | Controlled page number. 8 | -------------------------------------------------------------------------------- /components/qrcode/demo/download.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 下载二维码的简单实现。 4 | 5 | ## en-US 6 | 7 | A way to download QRCode. 8 | -------------------------------------------------------------------------------- /components/result/demo/404.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 此页面未找到。 4 | 5 | ## en-US 6 | 7 | The page you visited does not exist. 8 | -------------------------------------------------------------------------------- /components/result/demo/500.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 服务器发生了错误。 4 | 5 | ## en-US 6 | 7 | Something went wrong on server. 8 | -------------------------------------------------------------------------------- /components/segmented/demo/disabled.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Segmented 不可用。 4 | 5 | ## en-US 6 | 7 | Disabled Segmented. 8 | -------------------------------------------------------------------------------- /components/segmented/demo/dynamic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 动态加载数据。 4 | 5 | ## en-US 6 | 7 | Load `options` dynamically. 8 | -------------------------------------------------------------------------------- /components/select/demo/bordered.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 无边框样式。 4 | 5 | ## en-US 6 | 7 | Bordered-less style component. 8 | -------------------------------------------------------------------------------- /components/select/demo/search-box.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 搜索和远程数据结合。 4 | 5 | ## en-US 6 | 7 | Search with remote data. 8 | -------------------------------------------------------------------------------- /components/space/demo/compact-nested.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 嵌套使用的紧凑布局。 4 | 5 | ## en-US 6 | 7 | Nested `Space.Compact`. 8 | -------------------------------------------------------------------------------- /components/spin/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 一个简单的 loading 状态。 4 | 5 | ## en-US 6 | 7 | A simple loading status. 8 | -------------------------------------------------------------------------------- /components/table/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 简单的表格,最后一列是各种操作。 4 | 5 | ## en-US 6 | 7 | Simple table with actions. 8 | -------------------------------------------------------------------------------- /components/table/demo/pagination.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 表格的分页设置。 4 | 5 | ## en-US 6 | 7 | Table pagination settings. 8 | -------------------------------------------------------------------------------- /components/tag/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('tag'); 4 | -------------------------------------------------------------------------------- /components/tag/demo/colorful-inverse.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 内部反色标签 4 | 5 | ## en-US 6 | 7 | Internal inverse color tag 8 | -------------------------------------------------------------------------------- /components/timeline/demo/alternate.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 内容在时间轴两侧轮流出现。 4 | 5 | ## en-US 6 | 7 | Alternate timeline. 8 | -------------------------------------------------------------------------------- /components/timeline/demo/right.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 时间轴点可以在内容的右边。 4 | 5 | ## en-US 6 | 7 | Right alternate timeline. 8 | -------------------------------------------------------------------------------- /components/tree-select/demo/multiple.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 多选的树选择。 4 | 5 | ## en-US 6 | 7 | Multiple selection usage. 8 | -------------------------------------------------------------------------------- /components/typography/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 展示文档样例。 4 | 5 | ## en-US 6 | 7 | Display the document sample. 8 | -------------------------------------------------------------------------------- /components/typography/demo/suffix.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 添加后缀的省略。 4 | 5 | ## en-US 6 | 7 | add suffix ellipsis support. 8 | -------------------------------------------------------------------------------- /typings/jest.d.ts: -------------------------------------------------------------------------------- 1 | declare namespace jest { 2 | interface Matchers { 3 | toHaveNoViolations(): R; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /.dumi/theme/builtins/Palette/index.ts: -------------------------------------------------------------------------------- 1 | import Palette from '../../common/Color/Palette'; 2 | 3 | export default Palette; 4 | -------------------------------------------------------------------------------- /components/affix/demo/on-change.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以获得是否固定的状态。 4 | 5 | ## en-US 6 | 7 | Callback with affixed state. 8 | -------------------------------------------------------------------------------- /components/anchor/demo/horizontal.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 横向 Anchor。 4 | 5 | ## en-US 6 | 7 | Horizontally aligned anchors 8 | -------------------------------------------------------------------------------- /components/anchor/demo/onChange.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 监听锚点链接改变 4 | 5 | ## en-US 6 | 7 | Listening for anchor link change. 8 | -------------------------------------------------------------------------------- /components/badge/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('badge'); 4 | -------------------------------------------------------------------------------- /components/button/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('button'); 4 | -------------------------------------------------------------------------------- /components/calendar/locale/kmr_IQ.ts: -------------------------------------------------------------------------------- 1 | import kmrIQ from '../../date-picker/locale/kmr_IQ'; 2 | 3 | export default kmrIQ; 4 | -------------------------------------------------------------------------------- /components/card/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('card'); 4 | -------------------------------------------------------------------------------- /components/date-picker/demo/bordered.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 无边框样式。 4 | 5 | ## en-US 6 | 7 | Bordered-less style component. 8 | -------------------------------------------------------------------------------- /components/drawer/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('drawer'); 4 | -------------------------------------------------------------------------------- /components/drawer/demo/basic-right.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 基础抽屉,点击触发按钮抽屉从右滑出,点击遮罩区关闭。 4 | 5 | ## en-US 6 | 7 | Basic drawer. 8 | -------------------------------------------------------------------------------- /components/dropdown/demo/item.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 分割线和不可用菜单项。 4 | 5 | ## en-US 6 | 7 | Divider and disabled menu item. 8 | -------------------------------------------------------------------------------- /components/dropdown/demo/sub-menu.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 传入的菜单里有多个层级。 4 | 5 | ## en-US 6 | 7 | The menu has multiple levels. 8 | -------------------------------------------------------------------------------- /components/empty/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('empty'); 4 | -------------------------------------------------------------------------------- /components/empty/demo/description.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 无描述展示。 4 | 5 | ## en-US 6 | 7 | Simplest Usage with no description. 8 | -------------------------------------------------------------------------------- /components/float-button/demo/badge.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 右上角附带圆形徽标数字的悬浮按钮。 4 | 5 | ## en-US 6 | 7 | FloatButton with Badge. 8 | -------------------------------------------------------------------------------- /components/image/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('image'); 4 | -------------------------------------------------------------------------------- /components/input-number/demo/prefix.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 在输入框上添加前缀图标。 4 | 5 | ## en-US 6 | 7 | Add a prefix inside input. 8 | -------------------------------------------------------------------------------- /components/input/demo/textarea-show-count.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 展示字数提示。 4 | 5 | ## en-US 6 | 7 | Show character counting. 8 | -------------------------------------------------------------------------------- /components/mentions/demo/placement.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 向上展开建议。 4 | 5 | ## en-US 6 | 7 | Change the suggestions placement. 8 | -------------------------------------------------------------------------------- /components/menu/demo/horizontal.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 水平的顶部导航菜单。 4 | 5 | ## en-US 6 | 7 | Horizontal top navigation menu. 8 | -------------------------------------------------------------------------------- /components/qrcode/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('qrcode'); 4 | -------------------------------------------------------------------------------- /components/rate/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('rate'); 4 | -------------------------------------------------------------------------------- /components/rate/demo/text.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 给评分组件加上文案展示。 4 | 5 | ## en-US 6 | 7 | Add copywriting in rate components. 8 | -------------------------------------------------------------------------------- /components/result/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('result'); 4 | -------------------------------------------------------------------------------- /components/segmented/demo/controlled.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 受控的 Segmented。 4 | 5 | ## en-US 6 | 7 | Controlled Segmented. 8 | -------------------------------------------------------------------------------- /components/select/demo/option-label-center.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 选项文本居中 4 | 5 | ## en-US 6 | 7 | Options label Centered. 8 | -------------------------------------------------------------------------------- /components/skeleton/demo/list.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 在列表组件中使用加载占位符。 4 | 5 | ## en-US 6 | 7 | Use skeleton in list component. 8 | -------------------------------------------------------------------------------- /components/space/demo/base.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 相邻组件水平间距。 4 | 5 | ## en-US 6 | 7 | Crowded components horizontal spacing. 8 | -------------------------------------------------------------------------------- /components/spin/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('spin'); 4 | -------------------------------------------------------------------------------- /components/statistic/demo/card.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 在卡片中展示统计数值。 4 | 5 | ## en-US 6 | 7 | Display statistic data in Card. 8 | -------------------------------------------------------------------------------- /components/steps/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('steps'); 4 | -------------------------------------------------------------------------------- /components/steps/demo/progress-dot.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 包含步骤点的进度条。 4 | 5 | ## en-US 6 | 7 | Steps with progress dot style. 8 | -------------------------------------------------------------------------------- /components/switch/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('switch'); 4 | -------------------------------------------------------------------------------- /components/switch/demo/disabled.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Switch 失效状态。 4 | 5 | ## en-US 6 | 7 | Disabled state of `Switch`. 8 | -------------------------------------------------------------------------------- /components/switch/demo/loading.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 标识开关操作仍在执行中。 4 | 5 | ## en-US 6 | 7 | Mark a pending state of switch. 8 | -------------------------------------------------------------------------------- /components/tabs/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('tabs'); 4 | -------------------------------------------------------------------------------- /components/time-picker/demo/bordered.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 无边框样式。 4 | 5 | ## en-US 6 | 7 | Bordered-less style component. 8 | -------------------------------------------------------------------------------- /components/tree-select/demo/async.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 异步加载树节点。 4 | 5 | ## en-US 6 | 7 | Asynchronous loading tree node. 8 | -------------------------------------------------------------------------------- /components/tree-select/demo/checkable.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用勾选框实现多选功能。 4 | 5 | ## en-US 6 | 7 | Multiple and checkable. 8 | -------------------------------------------------------------------------------- /components/back-top/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('back-top'); 4 | -------------------------------------------------------------------------------- /components/badge/demo/change.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 展示动态变化的效果。 4 | 5 | ## en-US 6 | 7 | The count will be animated as it changes. 8 | -------------------------------------------------------------------------------- /components/breadcrumb/demo/debug-routes.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 原 `routes` 调试。 4 | 5 | ## en-US 6 | 7 | Origin `routes` debug. 8 | -------------------------------------------------------------------------------- /components/breadcrumb/demo/overlay.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 面包屑支持下拉菜单。 4 | 5 | ## en-US 6 | 7 | Breadcrumbs support drop down menu. 8 | -------------------------------------------------------------------------------- /components/carousel/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('carousel'); 4 | -------------------------------------------------------------------------------- /components/col/style/index.ts: -------------------------------------------------------------------------------- 1 | // Compatible for babel-plugin-import 2 | 3 | /* istanbul ignore next */ 4 | export default {}; 5 | -------------------------------------------------------------------------------- /components/collapse/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('collapse'); 4 | -------------------------------------------------------------------------------- /components/collapse/demo/borderless.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 一套没有边框的简洁样式。 4 | 5 | ## en-US 6 | 7 | A borderless style of Collapse. 8 | -------------------------------------------------------------------------------- /components/collapse/demo/mix.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 嵌套折叠面板。 4 | 5 | ## en-US 6 | 7 | `Collapse` is nested inside the `Collapse`. 8 | -------------------------------------------------------------------------------- /components/config-provider/demo/size.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 修改默认组件尺寸。 4 | 5 | ## en-US 6 | 7 | Config component default size. 8 | -------------------------------------------------------------------------------- /components/divider/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('divider'); 4 | -------------------------------------------------------------------------------- /components/dropdown/demo/icon-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 特殊处理 Down icon。 4 | 5 | ## en-US 6 | 7 | Specially handle Down icon. 8 | -------------------------------------------------------------------------------- /components/input-number/demo/addon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 用于配置一些固定组合。 4 | 5 | ## en-US 6 | 7 | Using pre & post tabs example. 8 | -------------------------------------------------------------------------------- /components/menu/demo/horizontal-dark.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 水平的顶部导航菜单。 4 | 5 | ## en-US 6 | 7 | Horizontal top navigation menu. 8 | -------------------------------------------------------------------------------- /components/menu/demo/inline.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 垂直菜单,子菜单内嵌在菜单区域。 4 | 5 | ## en-US 6 | 7 | Vertical menu with inline submenus. 8 | -------------------------------------------------------------------------------- /components/progress/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('progress'); 4 | -------------------------------------------------------------------------------- /components/progress/demo/circle-mini.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 小一号的圈形进度。 4 | 5 | ## en-US 6 | 7 | A smaller circular progress bar. 8 | -------------------------------------------------------------------------------- /components/progress/demo/dynamic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 会动的进度条才是好进度条。 4 | 5 | ## en-US 6 | 7 | A dynamic progress bar is better. 8 | -------------------------------------------------------------------------------- /components/progress/demo/line-mini.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 适合放在较狭窄的区域内。 4 | 5 | ## en-US 6 | 7 | Appropriate for a narrow area. 8 | -------------------------------------------------------------------------------- /components/qrcode/demo/errorlevel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过设置 errorLevel 调整不同的容错等级。 4 | 5 | ## en-US 6 | 7 | set Error Level. 8 | -------------------------------------------------------------------------------- /components/radio/demo/radiobutton-solid.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 实色填底的单选按钮样式。 4 | 5 | ## en-US 6 | 7 | Solid radio button style. 8 | -------------------------------------------------------------------------------- /components/radio/demo/radiogroup.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 一组互斥的 Radio 配合使用。 4 | 5 | ## en-US 6 | 7 | A group of radio components. 8 | -------------------------------------------------------------------------------- /components/row/index.tsx: -------------------------------------------------------------------------------- 1 | import { Row, type RowProps } from '../grid'; 2 | 3 | export type { RowProps }; 4 | export default Row; 5 | -------------------------------------------------------------------------------- /components/row/style/index.tsx: -------------------------------------------------------------------------------- 1 | // Compatible for babel-plugin-import 2 | 3 | /* istanbul ignore next */ 4 | export default {}; 5 | -------------------------------------------------------------------------------- /components/select/demo/search.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 展开后可对选项进行搜索。 4 | 5 | ## en-US 6 | 7 | Search the options while expanded. 8 | -------------------------------------------------------------------------------- /components/skeleton/demo/children.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 加载占位图包含子组件。 4 | 5 | ## en-US 6 | 7 | Skeleton contains sub component. 8 | -------------------------------------------------------------------------------- /components/space/demo/vertical.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 相邻组件垂直间距。 4 | 5 | ## en-US 6 | 7 | Crowded components vertical spacing. 8 | -------------------------------------------------------------------------------- /components/spin/demo/custom-indicator.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用自定义指示符。 4 | 5 | ## en-US 6 | 7 | Use custom loading indicator. 8 | -------------------------------------------------------------------------------- /components/timeline/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('timeline'); 4 | -------------------------------------------------------------------------------- /components/timeline/demo/label.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `label` 标签单独展示时间。 4 | 5 | ## en-US 6 | 7 | Use `label` show time alone. 8 | -------------------------------------------------------------------------------- /components/transfer/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('transfer'); 4 | -------------------------------------------------------------------------------- /components/transfer/demo/search.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 带搜索框的穿梭框,可以自定义搜索函数。 4 | 5 | ## en-US 6 | 7 | Transfer with a search box. 8 | -------------------------------------------------------------------------------- /components/typography/demo/ellipsis-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 多行文本省略。 4 | 5 | ## en-US 6 | 7 | Multiple line ellipsis support. 8 | -------------------------------------------------------------------------------- /components/typography/demo/title.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 展示不同级别的标题。 4 | 5 | ## en-US 6 | 7 | Display title in different level. 8 | -------------------------------------------------------------------------------- /components/alert/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法,适用于简短的警告提示。 4 | 5 | ## en-US 6 | 7 | The simplest usage for short messages. 8 | -------------------------------------------------------------------------------- /components/alert/demo/smooth-closed.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 平滑、自然的卸载提示。 4 | 5 | ## en-US 6 | 7 | Smoothly unmount Alert upon close. 8 | -------------------------------------------------------------------------------- /components/anchor/demo/customizeHighlight.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义锚点高亮。 4 | 5 | ## en-US 6 | 7 | Customize the anchor highlight. 8 | -------------------------------------------------------------------------------- /components/app/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('app'); 4 | -------------------------------------------------------------------------------- /components/avatar/demo/badge.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通常用于消息提示。 4 | 5 | ## en-US 6 | 7 | Usually used for reminders and notifications. 8 | -------------------------------------------------------------------------------- /components/avatar/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 头像有三种尺寸,两种形状可选。 4 | 5 | ## en-US 6 | 7 | Three sizes and two shapes are available. 8 | -------------------------------------------------------------------------------- /components/card/demo/simple.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 只包含内容区域。 4 | 5 | ## en-US 6 | 7 | A simple card only containing a content area. 8 | -------------------------------------------------------------------------------- /components/carousel/demo/position.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 位置有 4 个方向。 4 | 5 | ## en-US 6 | 7 | There are 4 position options available. 8 | -------------------------------------------------------------------------------- /components/cascader/demo/custom-trigger.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 切换按钮和结果分开。 4 | 5 | ## en-US 6 | 7 | Separate trigger button and result. 8 | -------------------------------------------------------------------------------- /components/cascader/demo/size.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 不同大小的级联选择器。 4 | 5 | ## en-US 6 | 7 | Cascade selection box of different sizes. 8 | -------------------------------------------------------------------------------- /components/checkbox/demo/controller.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 联动 checkbox。 4 | 5 | ## en-US 6 | 7 | Communicated with other components. 8 | -------------------------------------------------------------------------------- /components/config-provider/demo/theme.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `theme` 修改主题。 4 | 5 | ## en-US 6 | 7 | Modify theme by `theme` prop. 8 | -------------------------------------------------------------------------------- /components/drawer/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 8 | -------------------------------------------------------------------------------- /components/drawer/demo/config-provider.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 支持 ConfigProvider 配置。 4 | 5 | ## en-US 6 | 7 | config by ConfigProvider. 8 | -------------------------------------------------------------------------------- /components/image/demo/controlled-preview.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以使预览受控。 4 | 5 | ## en-US 6 | 7 | You can make preview controlled. 8 | -------------------------------------------------------------------------------- /components/image/demo/fallback.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 加载失败显示图像占位符。 4 | 5 | ## en-US 6 | 7 | Load failed to display image placeholder. 8 | -------------------------------------------------------------------------------- /components/image/demo/previewSrc.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以设置不同的预览图片。 4 | 5 | ## en-US 6 | 7 | You can set different preview image. 8 | -------------------------------------------------------------------------------- /components/input/demo/debug-addon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 一些特殊的前置后置标签。 4 | 5 | ## en-US 6 | 7 | Some special pre & post tabs example. 8 | -------------------------------------------------------------------------------- /components/message/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug 8 | -------------------------------------------------------------------------------- /components/modal/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 8 | -------------------------------------------------------------------------------- /components/notification/demo/update.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以通过唯一的 key 来更新内容。 4 | 5 | ## en-US 6 | 7 | Update content with unique key. 8 | -------------------------------------------------------------------------------- /components/pagination/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('pagination'); 4 | -------------------------------------------------------------------------------- /components/popconfirm/demo/icon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义提示 `icon`。 4 | 5 | ## en-US 6 | 7 | Set `icon` props to customize the icon. 8 | -------------------------------------------------------------------------------- /components/popover/demo/triggerType.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 鼠标移入、聚集、点击。 4 | 5 | ## en-US 6 | 7 | Mouse to click, focus and move in. 8 | -------------------------------------------------------------------------------- /components/radio/demo/radiobutton.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 按钮样式的单选组合。 4 | 5 | ## en-US 6 | 7 | The combination of radio button style. 8 | -------------------------------------------------------------------------------- /components/rate/demo/disabled.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 只读,无法进行鼠标交互。 4 | 5 | ## en-US 6 | 7 | Read only, can't use mouse to interact. 8 | -------------------------------------------------------------------------------- /components/result/demo/403.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 你没有此页面的访问权限。 4 | 5 | ## en-US 6 | 7 | you are not authorized to access this page. 8 | -------------------------------------------------------------------------------- /components/result/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 8 | -------------------------------------------------------------------------------- /components/segmented/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('segmented'); 4 | -------------------------------------------------------------------------------- /components/select/demo/search-sort.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 在搜索模式下对过滤结果项进行排序。 4 | 5 | ## en-US 6 | 7 | Search the options with sorting. 8 | -------------------------------------------------------------------------------- /components/statistic/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('statistic'); 4 | -------------------------------------------------------------------------------- /components/statistic/demo/unit.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过前缀和后缀添加单位。 4 | 5 | ## en-US 6 | 7 | Add unit through `prefix` and `suffix`. 8 | -------------------------------------------------------------------------------- /components/steps/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 8 | -------------------------------------------------------------------------------- /components/steps/demo/progress-dot-small.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 包含步骤点的进度条。 4 | 5 | ## en-US 6 | 7 | Steps with progress dot style. 8 | -------------------------------------------------------------------------------- /components/table/demo/bordered.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 添加表格边框线,页头和页脚。 4 | 5 | ## en-US 6 | 7 | Add border, title and footer for table. 8 | -------------------------------------------------------------------------------- /components/table/demo/row-selection-custom-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义选项分组。 4 | 5 | ## en-US 6 | 7 | Customize selection group. 8 | -------------------------------------------------------------------------------- /components/tag/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('tag'); 4 | -------------------------------------------------------------------------------- /components/tag/demo/borderlessLayout.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 深色背景中的无边框模式。 4 | 5 | ## en-US 6 | 7 | borderless in layout background. 8 | -------------------------------------------------------------------------------- /components/time-picker/demo/disabled.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 禁用时间选择。 4 | 5 | ## en-US 6 | 7 | A disabled state of the `TimePicker`. 8 | -------------------------------------------------------------------------------- /components/transfer/demo/large-data.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 大数据下使用分页。 4 | 5 | ## en-US 6 | 7 | large count of items with pagination. 8 | -------------------------------------------------------------------------------- /components/upload/demo/picture-circle.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 图片卡的替代显示。 4 | 5 | ## en-US 6 | 7 | Alternative display for picture-card. 8 | -------------------------------------------------------------------------------- /components/watermark/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('watermark'); 4 | -------------------------------------------------------------------------------- /components/affix/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('affix'); 4 | -------------------------------------------------------------------------------- /components/alert/demo/description.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 含有辅助性文字介绍的警告提示。 4 | 5 | ## en-US 6 | 7 | Additional description for alert message. 8 | -------------------------------------------------------------------------------- /components/anchor/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('anchor'); 4 | -------------------------------------------------------------------------------- /components/anchor/demo/onClick.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 点击锚点不记录历史。 4 | 5 | ## en-US 6 | 7 | Clicking on an anchor does not record history. 8 | -------------------------------------------------------------------------------- /components/anchor/demo/static.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 不浮动,状态不随页面滚动变化。 4 | 5 | ## en-US 6 | 7 | Do not change state when page is scrolling. 8 | -------------------------------------------------------------------------------- /components/anchor/demo/targetOffset.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 锚点目标滚动到屏幕正中间。 4 | 5 | ## en-US 6 | 7 | Anchor target scroll to screen center. 8 | -------------------------------------------------------------------------------- /components/auto-complete/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('auto-complete'); 4 | -------------------------------------------------------------------------------- /components/avatar/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('avatar'); 4 | -------------------------------------------------------------------------------- /components/badge/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('badge'); 4 | -------------------------------------------------------------------------------- /components/button/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('button'); 4 | -------------------------------------------------------------------------------- /components/calendar/demo/customize-header.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义日历头部内容。 4 | 5 | ## en-US 6 | 7 | Customize Calendar header content. 8 | -------------------------------------------------------------------------------- /components/card/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('card'); 4 | -------------------------------------------------------------------------------- /components/card/demo/border-less.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 在灰色背景上使用无边框的卡片。 4 | 5 | ## en-US 6 | 7 | A borderless card on a gray background. 8 | -------------------------------------------------------------------------------- /components/carousel/demo/autoplay.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 定时切换下一张。 4 | 5 | ## en-US 6 | 7 | Timing of scrolling to the next card/picture. 8 | -------------------------------------------------------------------------------- /components/cascader/demo/change-on-select.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 这种交互允许只选中父级选项。 4 | 5 | ## en-US 6 | 7 | Allow only select parent options. 8 | -------------------------------------------------------------------------------- /components/cascader/demo/default-value.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 默认值通过数组的方式指定。 4 | 5 | ## en-US 6 | 7 | Specifies default value by an array. 8 | -------------------------------------------------------------------------------- /components/collapse/demo/ghost.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 将折叠面板的背景变成透明。 4 | 5 | ## en-US 6 | 7 | Making collapse's background to transparent. 8 | -------------------------------------------------------------------------------- /components/color-picker/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('color-picker'); 4 | -------------------------------------------------------------------------------- /components/color-picker/demo/trigger.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义颜色面板的触发器。 4 | 5 | ## en-US 6 | 7 | Triggers for customizing color panels. 8 | -------------------------------------------------------------------------------- /components/config-provider/demo/prefixCls.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 修改组件和图标前缀。 4 | 5 | ## en-US 6 | 7 | Config component and icon prefixCls. 8 | -------------------------------------------------------------------------------- /components/descriptions/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('descriptions'); 4 | -------------------------------------------------------------------------------- /components/descriptions/demo/style.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义 label & wrapper 样式 4 | 5 | ## en-US 6 | 7 | Customize label & wrapper style 8 | -------------------------------------------------------------------------------- /components/empty/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('empty'); 4 | -------------------------------------------------------------------------------- /components/float-button/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('float-button'); 4 | -------------------------------------------------------------------------------- /components/grid/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('grid'); 4 | -------------------------------------------------------------------------------- /components/icon/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('icon'); 4 | -------------------------------------------------------------------------------- /components/image/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('image'); 4 | -------------------------------------------------------------------------------- /components/image/demo/preview-group-visible.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 从一张图片点开相册。 4 | 5 | ## en-US 6 | 7 | Preview a collection from one image. 8 | -------------------------------------------------------------------------------- /components/input/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('input'); 4 | -------------------------------------------------------------------------------- /components/input/demo/presuffix.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 在输入框上添加前缀或后缀图标。 4 | 5 | ## en-US 6 | 7 | Add a prefix or suffix icons inside input. 8 | -------------------------------------------------------------------------------- /components/menu/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('menu'); 4 | -------------------------------------------------------------------------------- /components/message/demo/other.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 包括成功、失败、警告。 4 | 5 | ## en-US 6 | 7 | Messages of success, error and warning types. 8 | -------------------------------------------------------------------------------- /components/modal/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('modal'); 4 | -------------------------------------------------------------------------------- /components/progress/demo/circle-dynamic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 会动的进度条才是好进度条。 4 | 5 | ## en-US 6 | 7 | A dynamic progress bar is better. 8 | -------------------------------------------------------------------------------- /components/qrcode/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('qrcode'); 4 | -------------------------------------------------------------------------------- /components/radio/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('radio'); 4 | -------------------------------------------------------------------------------- /components/rate/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('rate'); 4 | -------------------------------------------------------------------------------- /components/rate/demo/clear.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 支持允许或者禁用清除。 4 | 5 | ## en-US 6 | 7 | Support set allow to clear star when click again. 8 | -------------------------------------------------------------------------------- /components/result/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('result'); 4 | -------------------------------------------------------------------------------- /components/select/demo/custom-tag-render.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 允许自定义选择标签的样式。 4 | 5 | ## en-US 6 | 7 | Allows for custom rendering of tags. 8 | -------------------------------------------------------------------------------- /components/select/demo/optgroup.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 用 `OptGroup` 进行选项分组。 4 | 5 | ## en-US 6 | 7 | Using `OptGroup` to group the options. 8 | -------------------------------------------------------------------------------- /components/slider/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('slider'); 4 | -------------------------------------------------------------------------------- /components/space/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('space'); 4 | -------------------------------------------------------------------------------- /components/space/demo/compact-buttons.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Button 组件紧凑排列的示例。 4 | 5 | ## en-US 6 | 7 | Button component compact example. 8 | -------------------------------------------------------------------------------- /components/spin/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('spin'); 4 | -------------------------------------------------------------------------------- /components/statistic/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 8 | -------------------------------------------------------------------------------- /components/steps/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('steps'); 4 | -------------------------------------------------------------------------------- /components/steps/demo/vertical.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 简单的竖直方向的步骤条。 4 | 5 | ## en-US 6 | 7 | A simple step bar in the vertical direction. 8 | -------------------------------------------------------------------------------- /components/switch/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('switch'); 4 | -------------------------------------------------------------------------------- /components/table/demo/nested-table.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 展示每行数据更详细的信息。 4 | 5 | ## en-US 6 | 7 | Showing more detailed info of every row. 8 | -------------------------------------------------------------------------------- /components/tabs/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('tabs'); 4 | -------------------------------------------------------------------------------- /components/tour/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('tour'); 4 | -------------------------------------------------------------------------------- /components/tour/demo/render-panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试用组件,请勿直接使用。 4 | 5 | ## en-US 6 | 7 | Debug usage. Do not use in your production. 8 | -------------------------------------------------------------------------------- /components/tree/demo/switcher-icon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义展开/折叠图标。 4 | 5 | ## en-US 6 | 7 | customize collapse/expand icon of tree node 8 | -------------------------------------------------------------------------------- /components/typography/demo/paragraph-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 展示标题与段落的组合。 4 | 5 | ## en-US 6 | 7 | Display the title and paragraph. 8 | -------------------------------------------------------------------------------- /components/typography/demo/text.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 内置不同样式的文本以及超链接组件。 4 | 5 | ## en-US 6 | 7 | Provides multiple types of text and link. 8 | -------------------------------------------------------------------------------- /.dumi/theme/builtins/ColorPalettes/index.ts: -------------------------------------------------------------------------------- 1 | import ColorPalettes from '../../common/Color/ColorPalettes'; 2 | 3 | export default ColorPalettes; 4 | -------------------------------------------------------------------------------- /.dumi/theme/slots/Header/interface.ts: -------------------------------------------------------------------------------- 1 | export interface SharedProps { 2 | isZhCN: boolean; 3 | isRTL: boolean; 4 | isClient: boolean; 5 | } 6 | -------------------------------------------------------------------------------- /components/back-top/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('back-top'); 4 | -------------------------------------------------------------------------------- /components/breadcrumb/demo/separator-component.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义单独的分隔符。 4 | 5 | ## en-US 6 | 7 | Customize separator for each other. 8 | -------------------------------------------------------------------------------- /components/breadcrumb/demo/withIcon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 图标放在文字前面。 4 | 5 | ## en-US 6 | 7 | The icon should be placed in front of the text. 8 | -------------------------------------------------------------------------------- /components/calendar/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('calendar'); 4 | -------------------------------------------------------------------------------- /components/carousel/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('carousel'); 4 | -------------------------------------------------------------------------------- /components/cascader/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('cascader'); 4 | -------------------------------------------------------------------------------- /components/cascader/demo/render-panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试用组件,请勿直接使用。 4 | 5 | ## en-US 6 | 7 | Debug usage. Do not use in your production. 8 | -------------------------------------------------------------------------------- /components/checkbox/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('checkbox'); 4 | -------------------------------------------------------------------------------- /components/checkbox/demo/debug-disable-popover.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 禁用时鼠标进入、离开触发 Tooltip 4 | 5 | ## en-US 6 | 7 | Disable to show/hide Tooltip 8 | -------------------------------------------------------------------------------- /components/collapse/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('collapse'); 4 | -------------------------------------------------------------------------------- /components/color-picker/demo/presets.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 设置颜色选择器的预设颜色。 4 | 5 | ## en-US 6 | 7 | Set the presets color of the color picker. 8 | -------------------------------------------------------------------------------- /components/descriptions/demo/border.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 带边框和背景颜色列表。 4 | 5 | ## en-US 6 | 7 | Descriptions with border and background color. 8 | -------------------------------------------------------------------------------- /components/descriptions/demo/text.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 带边框和背景颜色列表。 4 | 5 | ## en-US 6 | 7 | Descriptions with border and background color. 8 | -------------------------------------------------------------------------------- /components/divider/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('divider'); 4 | -------------------------------------------------------------------------------- /components/drawer/demo/render-panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试用组件,请勿直接使用。 4 | 5 | ## en-US 6 | 7 | Debug usage. Do not use in your production. 8 | -------------------------------------------------------------------------------- /components/dropdown/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('dropdown'); 4 | -------------------------------------------------------------------------------- /components/dropdown/demo/render-panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试用组件,请勿直接使用。 4 | 5 | ## en-US 6 | 7 | Debug usage. Do not use in your production. 8 | -------------------------------------------------------------------------------- /components/image/demo/placeholder.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 大图使用 placeholder 渐进加载。 4 | 5 | ## en-US 6 | 7 | Progressive when large image loading. 8 | -------------------------------------------------------------------------------- /components/mentions/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('mentions'); 4 | -------------------------------------------------------------------------------- /components/mentions/demo/render-panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试用组件,请勿直接使用。 4 | 5 | ## en-US 6 | 7 | Debug usage. Do not use in your production. 8 | -------------------------------------------------------------------------------- /components/message/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('message'); 4 | -------------------------------------------------------------------------------- /components/message/demo/render-panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试用组件,请勿直接使用。 4 | 5 | ## en-US 6 | 7 | Debug usage. Do not use in your production. 8 | -------------------------------------------------------------------------------- /components/message/demo/update.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以通过唯一的 `key` 来更新内容。 4 | 5 | ## en-US 6 | 7 | Update message content with unique `key`. 8 | -------------------------------------------------------------------------------- /components/modal/demo/render-panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试用组件,请勿直接使用。 4 | 5 | ## en-US 6 | 7 | Debug usage. Do not use in your production. 8 | -------------------------------------------------------------------------------- /components/notification/demo/custom-icon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 图标可以被自定义。 4 | 5 | ## en-US 6 | 7 | The icon can be customized to any react node. 8 | -------------------------------------------------------------------------------- /components/pagination/demo/itemRender.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 修改上一步和下一步为文字链接。 4 | 5 | ## en-US 6 | 7 | Use text link for prev and next button. 8 | -------------------------------------------------------------------------------- /components/popconfirm/demo/dynamic-trigger.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以判断是否需要弹出。 4 | 5 | ## en-US 6 | 7 | Make it pop up under some conditions. 8 | -------------------------------------------------------------------------------- /components/popover/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('popover'); 4 | -------------------------------------------------------------------------------- /components/popover/demo/render-panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试用组件,请勿直接使用。 4 | 5 | ## en-US 6 | 7 | Debug usage. Do not use in your production. 8 | -------------------------------------------------------------------------------- /components/progress/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('progress'); 4 | -------------------------------------------------------------------------------- /components/qrcode/demo/customColor.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过设置 `color` 自定义二维码颜色,通过设置 `bgColor` 自定义背景颜色。 4 | 5 | ## en-US 6 | 7 | Custom Color. 8 | -------------------------------------------------------------------------------- /components/segmented/demo/with-icon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 给 Segmented Item 设置 Icon。 4 | 5 | ## en-US 6 | 7 | Set `icon` for Segmented Item. 8 | -------------------------------------------------------------------------------- /components/select/demo/multiple.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 多选,从已有条目中选择。 4 | 5 | ## en-US 6 | 7 | Multiple selection, selecting from existing items. 8 | -------------------------------------------------------------------------------- /components/select/demo/render-panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试用组件,请勿直接使用。 4 | 5 | ## en-US 6 | 7 | Debug usage. Do not use in your production. 8 | -------------------------------------------------------------------------------- /components/skeleton/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('skeleton'); 4 | -------------------------------------------------------------------------------- /components/steps/demo/label-placement.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 修改标签放置位置为 `vertical`。 4 | 5 | ## en-US 6 | 7 | Set labelPlacement to `vertical`. 8 | -------------------------------------------------------------------------------- /components/steps/demo/steps-in-steps.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 测试 Steps 嵌套 Steps 的样式。 4 | 5 | ## en-US 6 | 7 | Test style of Steps inside Steps. 8 | -------------------------------------------------------------------------------- /components/timeline/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('timeline'); 4 | -------------------------------------------------------------------------------- /components/tooltip/demo/render-panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试用组件,请勿直接使用。 4 | 5 | ## en-US 6 | 7 | Debug usage. Do not use in your production. 8 | -------------------------------------------------------------------------------- /components/transfer/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('transfer'); 4 | -------------------------------------------------------------------------------- /components/tree/demo/customized-icon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以针对不同的节点定制图标。 4 | 5 | ## en-US 6 | 7 | You can customize icons for different nodes. 8 | -------------------------------------------------------------------------------- /components/upload/demo/directory.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 支持上传一个文件夹里的所有文件。 4 | 5 | ## en-US 6 | 7 | You can select and upload a whole directory. 8 | -------------------------------------------------------------------------------- /components/upload/demo/upload-with-aliyun-oss.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用阿里云 OSS 上传示例. 4 | 5 | ## en-US 6 | 7 | Use Aliyun OSS upload example. 8 | -------------------------------------------------------------------------------- /components/auto-complete/demo/options.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以返回自定义的 `Option` label 4 | 5 | ## en-US 6 | 7 | You could set custom `Option` label 8 | -------------------------------------------------------------------------------- /components/auto-complete/demo/render-panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试用组件,请勿直接使用。 4 | 5 | ## en-US 6 | 7 | Debug usage. Do not use in your production. 8 | -------------------------------------------------------------------------------- /components/badge/demo/link.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 用 a 标签进行包裹即可。 4 | 5 | ## en-US 6 | 7 | The badge can be wrapped with `a` tag to make it linkable. 8 | -------------------------------------------------------------------------------- /components/calendar/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 一个通用的日历面板,支持年/月切换。 4 | 5 | ## en-US 6 | 7 | A basic calendar component with Year/Month switch. 8 | -------------------------------------------------------------------------------- /components/calendar/demo/select.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 一个通用的日历面板,支持年/月切换。 4 | 5 | ## en-US 6 | 7 | A basic calendar component with Year/Month switch. 8 | -------------------------------------------------------------------------------- /components/cascader/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 省市区级联。 4 | 5 | ## en-US 6 | 7 | Cascade selection box for selecting province/city/district. 8 | -------------------------------------------------------------------------------- /components/cascader/demo/hover.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过移入展开下级菜单,点击完成选择。 4 | 5 | ## en-US 6 | 7 | Hover to expand sub menu, click to select option. 8 | -------------------------------------------------------------------------------- /components/checkbox/demo/group.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 方便的从数组生成 Checkbox 组。 4 | 5 | ## en-US 6 | 7 | Generate a group of checkboxes from an array. 8 | -------------------------------------------------------------------------------- /components/date-picker/demo/render-panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试用组件,请勿直接使用。 4 | 5 | ## en-US 6 | 7 | Debug usage. Do not use in your production. 8 | -------------------------------------------------------------------------------- /components/descriptions/demo/size.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义尺寸,适应在各种容器中展示。 4 | 5 | ## en-US 6 | 7 | Custom sizes to fit in a variety of containers. 8 | -------------------------------------------------------------------------------- /components/divider/demo/customize-style.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 测试一些 `style` 修改样式的行为。 4 | 5 | ## en-US 6 | 7 | Use `style` to change default style. 8 | -------------------------------------------------------------------------------- /components/empty/demo/config-provider.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义全局组件的 Empty 样式。 4 | 5 | ## en-US 6 | 7 | Use ConfigProvider set global Empty style. 8 | -------------------------------------------------------------------------------- /components/float-button/demo/render-panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试用组件,请勿直接使用。 4 | 5 | ## en-US 6 | 7 | Debug usage. Do not use in your production. 8 | -------------------------------------------------------------------------------- /components/form/demo/inline-login.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 内联登录栏,常用在顶部导航栏中。 4 | 5 | ## en-US 6 | 7 | Inline login form is often used in navigation bar. 8 | -------------------------------------------------------------------------------- /components/form/demo/register.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 用户填写必须的信息以注册新用户。 4 | 5 | ## en-US 6 | 7 | Fill in this form to create a new account for you. 8 | -------------------------------------------------------------------------------- /components/form/demo/size.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 设置表单组件尺寸,仅对 antd 组件有效。 4 | 5 | ## en-US 6 | 7 | Set component size, only works for antd components. 8 | -------------------------------------------------------------------------------- /components/input-number/demo/render-panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试用组件,请勿直接使用。 4 | 5 | ## en-US 6 | 7 | Debug usage. Do not use in your production. 8 | -------------------------------------------------------------------------------- /components/mentions/demo/form.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 受控模式,例如配合 Form 使用。 4 | 5 | ## en-US 6 | 7 | Controlled mode, for example, to work with `Form`. 8 | -------------------------------------------------------------------------------- /components/modal/demo/width.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `width` 来设置模态对话框的宽度。 4 | 5 | ## en-US 6 | 7 | Use `width` to set the width of the modal dialog. 8 | -------------------------------------------------------------------------------- /components/notification/demo/render-panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试用组件,请勿直接使用。 4 | 5 | ## en-US 6 | 7 | Debug usage. Do not use in your production. 8 | -------------------------------------------------------------------------------- /components/notification/demo/with-icon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通知提醒框左侧有图标。 4 | 5 | ## en-US 6 | 7 | A notification box with a icon at the left side. 8 | -------------------------------------------------------------------------------- /components/pagination/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('pagination'); 4 | -------------------------------------------------------------------------------- /components/popconfirm/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('popconfirm'); 4 | -------------------------------------------------------------------------------- /components/popconfirm/demo/render-panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试用组件,请勿直接使用。 4 | 5 | ## en-US 6 | 7 | Debug usage. Do not use in your production. 8 | -------------------------------------------------------------------------------- /components/segmented/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('segmented'); 4 | -------------------------------------------------------------------------------- /components/segmented/demo/size-consistent.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 与其他组件保持统一高度。 4 | 5 | ## en-US 6 | 7 | Keep consistent height with other components. 8 | -------------------------------------------------------------------------------- /components/select/demo/hide-selected.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 隐藏下拉列表中已选择的选项。 4 | 5 | ## en-US 6 | 7 | Hide already selected options in the dropdown. 8 | -------------------------------------------------------------------------------- /components/skeleton/demo/complex.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 更复杂的组合。 4 | 5 | ## en-US 6 | 7 | Complex combination with avatar and multiple paragraphs. 8 | -------------------------------------------------------------------------------- /components/slider/demo/reverse.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 设置 `reverse` 可以将滑动条置反。 4 | 5 | ## en-US 6 | 7 | Using `reverse` to render slider reversely. 8 | -------------------------------------------------------------------------------- /components/statistic/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('statistic'); 4 | -------------------------------------------------------------------------------- /components/switch/demo/size.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | `size="small"` 表示小号开关。 4 | 5 | ## en-US 6 | 7 | `size="small"` represents a small sized switch. 8 | -------------------------------------------------------------------------------- /components/table/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('table', { skip: ['ajax.tsx'] }); 4 | -------------------------------------------------------------------------------- /components/time-picker/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('time-picker'); 4 | -------------------------------------------------------------------------------- /components/time-picker/demo/render-panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试用组件,请勿直接使用。 4 | 5 | ## en-US 6 | 7 | Debug usage. Do not use in your production. 8 | -------------------------------------------------------------------------------- /components/tooltip/demo/arrow.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 支持显示、隐藏以及将箭头保持居中定位。 4 | 5 | ## en-US 6 | 7 | Support show, hide or keep arrow in the center. 8 | -------------------------------------------------------------------------------- /components/tree-select/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('tree-select'); 4 | -------------------------------------------------------------------------------- /components/tree-select/demo/render-panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试用组件,请勿直接使用。 4 | 5 | ## en-US 6 | 7 | Debug usage. Do not use in your production. 8 | -------------------------------------------------------------------------------- /components/tree-select/demo/treeLine.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `treeLine` 配置线性样式。 4 | 5 | ## en-US 6 | 7 | Use `treeLine` to show the line style. 8 | -------------------------------------------------------------------------------- /components/tree/demo/virtual-scroll.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `height` 属性则切换为虚拟滚动。 4 | 5 | ## en-US 6 | 7 | Use virtual list through `height` prop. 8 | -------------------------------------------------------------------------------- /components/typography/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('typography'); 4 | -------------------------------------------------------------------------------- /components/upload/demo/file-type.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 根据类型默认显示对应 icon 4 | 5 | ## en-US 6 | 7 | Displays the corresponding by default by type icon 8 | -------------------------------------------------------------------------------- /components/watermark/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('watermark'); 4 | -------------------------------------------------------------------------------- /components/_util/isNumeric.ts: -------------------------------------------------------------------------------- 1 | const isNumeric = (value: any): boolean => !isNaN(parseFloat(value)) && isFinite(value); 2 | 3 | export default isNumeric; 4 | -------------------------------------------------------------------------------- /components/_util/type.ts: -------------------------------------------------------------------------------- 1 | /** https://github.com/Microsoft/TypeScript/issues/29729 */ 2 | export type LiteralUnion = T | (string & {}); 3 | -------------------------------------------------------------------------------- /components/alert/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('alert', { skip: ['loop-banner.tsx'] }); 4 | -------------------------------------------------------------------------------- /components/alert/demo/banner.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 页面顶部通告形式,默认有图标且 `type` 为 'warning'。 4 | 5 | ## en-US 6 | 7 | Display Alert as a banner at top of page. 8 | -------------------------------------------------------------------------------- /components/auto-complete/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('auto-complete'); 4 | -------------------------------------------------------------------------------- /components/auto-complete/demo/non-case-sensitive.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 不区分大小写的 AutoComplete 4 | 5 | ## en-US 6 | 7 | A non-case-sensitive AutoComplete 8 | -------------------------------------------------------------------------------- /components/button/demo/danger.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 在 4.0 之后,危险成为一种按钮属性而不是按钮类型。 4 | 5 | ## en-US 6 | 7 | `danger` is a property of button after antd 4.0. 8 | -------------------------------------------------------------------------------- /components/color-picker/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('color-picker'); 4 | -------------------------------------------------------------------------------- /components/descriptions/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('descriptions'); 4 | -------------------------------------------------------------------------------- /components/descriptions/demo/vertical-border.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 垂直带边框和背景颜色的列表。 4 | 5 | ## en-US 6 | 7 | Descriptions with border and background color. 8 | -------------------------------------------------------------------------------- /components/divider/demo/vertical.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `type="vertical"` 设置为行内的垂直分割线。 4 | 5 | ## en-US 6 | 7 | Use `type="vertical"` make it vertical. 8 | -------------------------------------------------------------------------------- /components/drawer/demo/scroll-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 当 Modal 和 Drawer 共同作用时的滚动锁定调试。 4 | 5 | ## en-US 6 | 7 | Scroll lock debug with Modal & Drawer. 8 | -------------------------------------------------------------------------------- /components/float-button/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('float-button'); 4 | -------------------------------------------------------------------------------- /components/float-button/demo/shape.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `shape` 设置不同的形状。 4 | 5 | ## en-US 6 | 7 | Change the shape of the FloatButton with `shape`. 8 | -------------------------------------------------------------------------------- /components/float-button/demo/type.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `type` 改变悬浮按钮的类型。 4 | 5 | ## en-US 6 | 7 | Change the type of the FloatButton with `type`. 8 | -------------------------------------------------------------------------------- /components/form/demo/layout.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 表单有三种布局。 4 | 5 | ## en-US 6 | 7 | There are three layout for form: `horizontal`, `vertical`, `inline`. 8 | -------------------------------------------------------------------------------- /components/grid/demo/flex-stretch.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Col 提供 `flex` 属性以支持填充。 4 | 5 | ## en-US 6 | 7 | Col provides `flex` prop to support fill rest. 8 | -------------------------------------------------------------------------------- /components/input-number/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('input-number'); 4 | -------------------------------------------------------------------------------- /components/input-number/demo/keyboard.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `keyboard` 属性可以控制键盘行为。 4 | 5 | ## en-US 6 | 7 | Control keyboard behavior by `keyboard`. 8 | -------------------------------------------------------------------------------- /components/input/demo/search-input-loading.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 用于 `onSearch` 的时候展示 `loading`。 4 | 5 | ## en-US 6 | 7 | Search loading when onSearch. 8 | -------------------------------------------------------------------------------- /components/list/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('list', { skip: ['virtual-list.tsx'] }); 4 | -------------------------------------------------------------------------------- /components/notification/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('notification'); 4 | -------------------------------------------------------------------------------- /components/notification/demo/with-btn.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义关闭按钮的样式和文字。 4 | 5 | ## en-US 6 | 7 | To customize the style or font of the close button. 8 | -------------------------------------------------------------------------------- /components/popover/demo/control.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `open` 属性控制浮层显示。 4 | 5 | ## en-US 6 | 7 | Use `open` prop to control the display of the card. 8 | -------------------------------------------------------------------------------- /components/progress/demo/format.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | `format` 属性指定格式。 4 | 5 | ## en-US 6 | 7 | You can set a custom text by setting the `format` prop. 8 | -------------------------------------------------------------------------------- /components/radio/demo/radiogroup-more.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 垂直的 Radio.Group,配合更多输入框选项。 4 | 5 | ## en-US 6 | 7 | Vertical Radio.Group, with more radios. 8 | -------------------------------------------------------------------------------- /components/select/demo/debug-flip-shift.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 翻转后如果不够则偏移以供完全的展示。 4 | 5 | ## en-US 6 | 7 | Shift the popup if not enough space after flip. 8 | -------------------------------------------------------------------------------- /components/skeleton/demo/element.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 骨架按钮、头像、输入框、图像和自定义节点。 4 | 5 | ## en-US 6 | 7 | Skeleton Button, Avatar, Input, Image and Node. 8 | -------------------------------------------------------------------------------- /components/steps/demo/clickable.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 设置 `onChange` 后,Steps 变为可点击状态。 4 | 5 | ## en-US 6 | 7 | Setting `onChange` makes Steps clickable. 8 | -------------------------------------------------------------------------------- /components/table/demo/row-selection-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 高损耗 `render` 性能调试。 4 | 5 | ## en-US 6 | 7 | High cost `render` performance debugging. 8 | -------------------------------------------------------------------------------- /components/tabs/demo/card.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 另一种样式的页签,不提供对应的垂直样式。 4 | 5 | ## en-US 6 | 7 | Another type of Tabs, which doesn't support vertical mode. 8 | -------------------------------------------------------------------------------- /components/tag/demo/customize.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可用 `closeIcon` 自定义关闭按钮。 4 | 5 | ## en-US 6 | 7 | The close icon can be customized using `closeIcon`. 8 | -------------------------------------------------------------------------------- /components/time-picker/demo/value.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | value 和 onChange 需要配合使用。 4 | 5 | ## en-US 6 | 7 | `value` and `onChange` should be used together, 8 | -------------------------------------------------------------------------------- /components/tree/demo/dynamic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 点击展开节点,动态加载数据。 4 | 5 | ## en-US 6 | 7 | To load data asynchronously when click to expand a treeNode. 8 | -------------------------------------------------------------------------------- /components/version/index.ts: -------------------------------------------------------------------------------- 1 | /* eslint import/no-unresolved: 0 */ 2 | // @ts-ignore 3 | import version from './version'; 4 | 5 | export default version; 6 | -------------------------------------------------------------------------------- /.dumi/theme/builtins/ColorPaletteTool/index.ts: -------------------------------------------------------------------------------- 1 | import ColorPaletteTool from '../../common/Color/ColorPaletteTool'; 2 | 3 | export default ColorPaletteTool; 4 | -------------------------------------------------------------------------------- /components/alert/demo/close-text.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以自定义关闭,自定义的文字会替换原先的关闭 `Icon`。 4 | 5 | ## en-US 6 | 7 | Replace the default icon with customized text. 8 | -------------------------------------------------------------------------------- /components/alert/demo/custom-icon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可口的图标让信息类型更加醒目。 4 | 5 | ## en-US 6 | 7 | A relevant icon makes information clearer and more friendly. 8 | -------------------------------------------------------------------------------- /components/alert/demo/icon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可口的图标让信息类型更加醒目。 4 | 5 | ## en-US 6 | 7 | A relevant icon will make information clearer and more friendly. 8 | -------------------------------------------------------------------------------- /components/calendar/demo/card.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 用于嵌套在空间有限的容器中。 4 | 5 | ## en-US 6 | 7 | Nested inside a container element for rendering in limited space. 8 | -------------------------------------------------------------------------------- /components/col/index.ts: -------------------------------------------------------------------------------- 1 | import { Col, type ColProps, type ColSize } from '../grid'; 2 | 3 | export type { ColProps, ColSize }; 4 | 5 | export default Col; 6 | -------------------------------------------------------------------------------- /components/collapse/demo/extra.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义渲染每个面板右上角的内容。 4 | 5 | ## en-US 6 | 7 | Render extra element in the top-right corner of each panel. 8 | -------------------------------------------------------------------------------- /components/color-picker/demo/format.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 编码格式,支持`HEX`、`HSB`、`RGB`。 4 | 5 | ## en-US 6 | 7 | Encoding formats, support `HEX`, `HSB`, `RGB`. 8 | -------------------------------------------------------------------------------- /components/date-picker/demo/range-picker.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过设置 `picker` 属性,指定范围选择器类型。 4 | 5 | ## en-US 6 | 7 | Set range picker type by `picker` prop. 8 | -------------------------------------------------------------------------------- /components/float-button/demo/back-top.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 返回页面顶部的操作按钮。 4 | 5 | ## en-US 6 | 7 | `BackTop` makes it easy to go back to the top of the page. 8 | -------------------------------------------------------------------------------- /components/form/demo/disabled.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 设置表单组件禁用,仅对 antd 组件有效。 4 | 5 | ## en-US 6 | 7 | Set component disabled, only works for antd components. 8 | -------------------------------------------------------------------------------- /components/grid/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('grid', { 4 | testRootProps: false, 5 | }); 6 | -------------------------------------------------------------------------------- /components/icon/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('icon', { 4 | testRootProps: false, 5 | }); 6 | -------------------------------------------------------------------------------- /components/menu/demo/switch-mode.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 展示动态切换模式。 4 | 5 | ## en-US 6 | 7 | Show the dynamic switching mode (between `inline` and `vertical`). 8 | -------------------------------------------------------------------------------- /components/qrcode/demo/status.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以通过 `status` 的值控制二维码的状态。 4 | 5 | ## en-US 6 | 7 | The status can be controlled by the value `status`. 8 | -------------------------------------------------------------------------------- /components/segmented/demo/custom.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 ReactNode 自定义渲染每一个 Segmented Item。 4 | 5 | ## en-US 6 | 7 | Custom each Segmented Item by ReactNode. 8 | -------------------------------------------------------------------------------- /components/skeleton/index.tsx: -------------------------------------------------------------------------------- 1 | import Skeleton from './Skeleton'; 2 | 3 | export type { SkeletonProps } from './Skeleton'; 4 | 5 | export default Skeleton; 6 | -------------------------------------------------------------------------------- /components/slider/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('slider', { skip: ['show-tooltip.tsx'] }); 4 | -------------------------------------------------------------------------------- /components/steps/demo/vertical-small.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 简单的竖直方向的小型步骤条。 4 | 5 | ## en-US 6 | 7 | A simple mini version step bar in the vertical direction. 8 | -------------------------------------------------------------------------------- /components/transfer/demo/custom-select-all-labels.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义穿梭框全选按钮的文字。 4 | 5 | ## en-US 6 | 7 | Custom the labels for select all checkboxes. 8 | -------------------------------------------------------------------------------- /components/transfer/demo/oneWay.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `oneWay` 将 Transfer 转为单向样式。 4 | 5 | ## en-US 6 | 7 | Use `oneWay` to makes Transfer to one way style. 8 | -------------------------------------------------------------------------------- /docs/spec/research-form.en-US.md: -------------------------------------------------------------------------------- 1 | --- 2 | group: Design Patterns (Research) 3 | type: Template Document 4 | order: 1 5 | title: Form Page 6 | skip: true 7 | --- 8 | -------------------------------------------------------------------------------- /docs/spec/research-list.en-US.md: -------------------------------------------------------------------------------- 1 | --- 2 | group: Design Patterns (Research) 3 | type: Template Document 4 | order: 3 5 | title: List Page 6 | skip: true 7 | --- 8 | -------------------------------------------------------------------------------- /components/badge/demo/colorful-with-count-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 在使用多彩徽标的同时,支持 count 属性显示 4 | 5 | ## en-US 6 | 7 | support `count` when use colorful badge 8 | -------------------------------------------------------------------------------- /components/badge/demo/mix.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 测试 `count` `status` `color` `dot` 共用的情况。 4 | 5 | ## en-US 6 | 7 | Using `count/dot` with custom `status/color`. 8 | -------------------------------------------------------------------------------- /components/badge/demo/title.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 设置鼠标放在状态点上时显示的文字。 4 | 5 | ## en-US 6 | 7 | The badge will display `title` when hovered over, instead of `count`. 8 | -------------------------------------------------------------------------------- /components/breadcrumb/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('breadcrumb', { skip: ['react-router.tsx'] }); 4 | -------------------------------------------------------------------------------- /components/button/demo/block.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | `block` 属性将使按钮适合其父宽度。 4 | 5 | ## en-US 6 | 7 | `block` property will make the button fit to its parent width. 8 | -------------------------------------------------------------------------------- /components/card/demo/in-column.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 在系统概览页面常常和栅格进行配合。 4 | 5 | ## en-US 6 | 7 | Cards usually cooperate with grid column layout in overview page. 8 | -------------------------------------------------------------------------------- /components/card/demo/meta.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 一种支持封面、头像、标题和描述信息的卡片。 4 | 5 | ## en-US 6 | 7 | A Card that supports `cover`, `avatar`, `title` and `description`. 8 | -------------------------------------------------------------------------------- /components/cascader/demo/custom-render.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 例如给最后一项加上邮编链接。 4 | 5 | ## en-US 6 | 7 | For instance, add an external link after the selected value. 8 | -------------------------------------------------------------------------------- /components/collapse/demo/accordion.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 手风琴,每次只打开一个 tab。 4 | 5 | ## en-US 6 | 7 | In accordion mode, only one panel can be expanded at a time. 8 | -------------------------------------------------------------------------------- /components/color-picker/demo/controlled.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `value` 和 `onChange` 设置组件为受控模式。 4 | 5 | ## en-US 6 | 7 | Set the component to controlled mode. 8 | -------------------------------------------------------------------------------- /components/color-picker/demo/disabled.tsx: -------------------------------------------------------------------------------- 1 | import { ColorPicker } from 'antd'; 2 | import React from 'react'; 3 | 4 | export default () => ; 5 | -------------------------------------------------------------------------------- /components/date-picker/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法,在浮层中可以选择或者输入日期。 4 | 5 | ## en-US 6 | 7 | Basic use case. Users can select or input a date in panel. 8 | -------------------------------------------------------------------------------- /components/date-picker/demo/suffix.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法,在浮层中可以选择或者输入日期。 4 | 5 | ## en-US 6 | 7 | Basic use case. Users can select or input a date in panel. 8 | -------------------------------------------------------------------------------- /components/drawer/demo/placement.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义位置,点击触发按钮抽屉从相应的位置滑出,点击遮罩区关闭。 4 | 5 | ## en-US 6 | 7 | The Drawer can appear from any edge of the screen. 8 | -------------------------------------------------------------------------------- /components/form/demo/dynamic-form-items-no-style.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 嵌套 `noStyle` 字段的动态表单示例。 4 | 5 | ## en-US 6 | 7 | Nest with `noStyle` field dynamic form. 8 | -------------------------------------------------------------------------------- /components/form/demo/dynamic-rule.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 根据不同情况执行不同的校验规则。 4 | 5 | ## en-US 6 | 7 | Perform different check rules according to different situations. 8 | -------------------------------------------------------------------------------- /components/input-number/demo/disabled.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 点击按钮切换可用状态。 4 | 5 | ## en-US 6 | 7 | Click the button to toggle between available and disabled states. 8 | -------------------------------------------------------------------------------- /components/layout/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('layout', { skip: ['custom-trigger-debug.tsx'] }); 4 | -------------------------------------------------------------------------------- /components/message/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('message', { 4 | testRootProps: false, 5 | }); 6 | -------------------------------------------------------------------------------- /components/modal/demo/manual.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过返回的 instance 手动更新和关闭对话框。 4 | 5 | ## en-US 6 | 7 | Manually updating and destroying a modal through instance. 8 | -------------------------------------------------------------------------------- /components/notification/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法,4.5 秒后自动关闭。 4 | 5 | ## en-US 6 | 7 | The simplest usage that close the notification box after 4.5s. 8 | -------------------------------------------------------------------------------- /components/segmented/demo/icon-only.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 在 Segmented Item 选项中只设置 Icon。 4 | 5 | ## en-US 6 | 7 | Set `icon` without `label` for Segmented Item. 8 | -------------------------------------------------------------------------------- /components/table/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('table', { skip: ['ajax.tsx'] }); 4 | -------------------------------------------------------------------------------- /components/table/demo/nest-table-border-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 看看边框的样式是不是影响到别的表格。 4 | 5 | ## en-US 6 | 7 | To see if bordered style applied to other tables. 8 | -------------------------------------------------------------------------------- /components/tabs/demo/card-top.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 用于容器顶部,需要一点额外的样式覆盖。 4 | 5 | ## en-US 6 | 7 | Should be used at the top of container, needs to override styles. 8 | -------------------------------------------------------------------------------- /components/time-picker/demo/addon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 在 TimePicker 选择框底部显示自定义的内容。 4 | 5 | ## en-US 6 | 7 | Render addon contents to time picker panel's bottom. 8 | -------------------------------------------------------------------------------- /components/time-picker/demo/colored-popup.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 将自定义 class 传给 `TimePicker` 弹框。 4 | 5 | ## en-US 6 | 7 | Passing custom class to `TimePicker` popup. 8 | -------------------------------------------------------------------------------- /components/upload/demo/customize-progress-bar.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `progress` 属性自定义进度条样式。 4 | 5 | ## en-US 6 | 7 | Use `progress` for customize progress bar. 8 | -------------------------------------------------------------------------------- /components/watermark/demo/custom.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过自定义参数配置预览水印效果。 4 | 5 | ## en-US 6 | 7 | Preview the watermark effect by configuring custom parameters. 8 | -------------------------------------------------------------------------------- /docs/spec/research-result.en-US.md: -------------------------------------------------------------------------------- 1 | --- 2 | group: Design Patterns (Research) 3 | type: Template Document 4 | order: 4 5 | title: Result Page 6 | skip: true 7 | --- 8 | -------------------------------------------------------------------------------- /docs/spec/research-workbench.en-US.md: -------------------------------------------------------------------------------- 1 | --- 2 | group: Design Patterns (Research) 3 | type: Template Document 4 | order: 2 5 | title: Workbench 6 | skip: true 7 | --- 8 | -------------------------------------------------------------------------------- /components/alert/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('alert', { skip: ['loop-banner.tsx'] }); 4 | -------------------------------------------------------------------------------- /components/avatar/demo/responsive.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 头像大小可以根据屏幕大小自动调整。 4 | 5 | ## en-US 6 | 7 | Avatar size can be automatically adjusted based on the screen size. 8 | -------------------------------------------------------------------------------- /components/card/demo/loading.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 数据读入前会有文本块样式。 4 | 5 | ## en-US 6 | 7 | Shows a loading indicator while the contents of the card is being fetched. 8 | -------------------------------------------------------------------------------- /components/color-picker/demo/allowClear.tsx: -------------------------------------------------------------------------------- 1 | import { ColorPicker } from 'antd'; 2 | import React from 'react'; 3 | 4 | export default () => ; 5 | -------------------------------------------------------------------------------- /components/date-picker/demo/switchable.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 提供选择器,自由切换不同类型的日期选择器,常用于日期筛选场合。 4 | 5 | ## en-US 6 | 7 | Switch in different types of pickers by Select. 8 | -------------------------------------------------------------------------------- /components/dropdown/demo/trigger.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 默认是移入触发菜单,可以点击触发。 4 | 5 | ## en-US 6 | 7 | The default trigger mode is `hover`, you can change it to `click`. 8 | -------------------------------------------------------------------------------- /components/empty/demo/basic.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Empty } from 'antd'; 3 | 4 | const App: React.FC = () => ; 5 | 6 | export default App; 7 | -------------------------------------------------------------------------------- /components/empty/demo/customize.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义图片链接、图片大小、描述、附属内容。 4 | 5 | ## en-US 6 | 7 | Customize image source, image size, description and extra content. 8 | -------------------------------------------------------------------------------- /components/float-button/demo/tooltip.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 设置 tooltip 属性,即可开启气泡卡片。 4 | 5 | ## en-US 6 | 7 | Setting `tooltip` prop to show FloatButton with tooltip. 8 | -------------------------------------------------------------------------------- /components/form/demo/layout-can-wrap.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `labelWrap` 可以开启 `label` 换行。 4 | 5 | ## en-US 6 | 7 | Turn on `labelWrap` to wrap label if text is long. 8 | -------------------------------------------------------------------------------- /components/form/demo/required-mark.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `requiredMark` 切换必选与可选样式。 4 | 5 | ## en-US 6 | 7 | Switch required or optional style with `requiredMark`. 8 | -------------------------------------------------------------------------------- /components/grid/demo/useBreakpoint.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `useBreakpoint` Hook 个性化布局。 4 | 5 | ## en-US 6 | 7 | Use `useBreakpoint` Hook provide personalized layout. 8 | -------------------------------------------------------------------------------- /components/image/demo/preview-group.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 点击左右切换按钮可以预览多张图片。 4 | 5 | ## en-US 6 | 7 | Click the left and right switch buttons to preview multiple images. 8 | -------------------------------------------------------------------------------- /components/list/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('list', { skip: ['virtual-list.tsx'] }); 4 | -------------------------------------------------------------------------------- /components/list/demo/grid-test.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | List `grid` 在各种情况下的样式表现,如 Fragment 和封装了 List.Item. 4 | 5 | ## en-US 6 | 7 | Test List `grid` for some edge cases. 8 | -------------------------------------------------------------------------------- /components/mentions/demo/readonly.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `disabled` 属性设置是否生效。通过 `readOnly` 属性设置是否只读。 4 | 5 | ## en-US 6 | 7 | Configure `disabled` and `readOnly`. 8 | -------------------------------------------------------------------------------- /components/message/demo/duration.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义时长 `10s`,默认时长为 `3s`。 4 | 5 | ## en-US 6 | 7 | Customize message display duration from default `3s` to `10s`. 8 | -------------------------------------------------------------------------------- /components/rate/demo/basic.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Rate } from 'antd'; 3 | 4 | const App: React.FC = () => ; 5 | 6 | export default App; 7 | -------------------------------------------------------------------------------- /components/segmented/demo/block.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | `block` 属性使其适合父元素宽度。 4 | 5 | ## en-US 6 | 7 | `block` property will make the `Segmented` fit to its parent width. 8 | -------------------------------------------------------------------------------- /components/spin/demo/basic.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Spin } from 'antd'; 3 | 4 | const App: React.FC = () => ; 5 | 6 | export default App; 7 | -------------------------------------------------------------------------------- /components/table/demo/grouping-columns.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | `columns[n]` 可以内嵌 `children`,以渲染分组表头。 4 | 5 | ## en-US 6 | 7 | Group table head with `columns[n].children`. 8 | -------------------------------------------------------------------------------- /components/tag/demo/control.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 用数组生成一组标签,可以动态添加和删除。 4 | 5 | ## en-US 6 | 7 | Generating a set of Tags by array, you can add and remove dynamically. 8 | -------------------------------------------------------------------------------- /components/tooltip/demo/auto-adjust-overflow.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 气泡框不可见时自动调整位置。 4 | 5 | ## en-US 6 | 7 | Adjust placement automatically when tooltip is invisible. 8 | -------------------------------------------------------------------------------- /components/upload/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('upload', { skip: ['crop-image.tsx'] }); 4 | -------------------------------------------------------------------------------- /docs/spec/research-exception.en-US.md: -------------------------------------------------------------------------------- 1 | --- 2 | group: Design Patterns (Research) 3 | type: Template Document 4 | order: 5 5 | title: Exception Page 6 | skip: true 7 | --- 8 | -------------------------------------------------------------------------------- /.dumi/loading.js: -------------------------------------------------------------------------------- 1 | // must be .js file, can't modify to be .ts file! 2 | // eslint-disable-next-line no-restricted-exports 3 | export { default } from './theme/common/Loading'; 4 | -------------------------------------------------------------------------------- /.dumi/theme/builtins/ColorPaletteToolDark/index.ts: -------------------------------------------------------------------------------- 1 | import ColorPaletteToolDark from '../../common/Color/ColorPaletteToolDark'; 2 | 3 | export default ColorPaletteToolDark; 4 | -------------------------------------------------------------------------------- /components/app/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('app', () => { 4 | imageDemoTest('app'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/app/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 获取 `message`, `notification`, `modal` 静态方法。 4 | 5 | ## en-US 6 | 7 | Static method for `message`, `notification`, `modal`. 8 | -------------------------------------------------------------------------------- /components/card/demo/flexible-content.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以利用 `Card.Meta` 支持更灵活的内容。 4 | 5 | ## en-US 6 | 7 | You can use `Card.Meta` to support more flexible content. 8 | -------------------------------------------------------------------------------- /components/cascader/demo/custom-dropdown.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `dropdownRender` 对下拉菜单进行自由扩展。 4 | 5 | ## en-US 6 | 7 | Customize the dropdown menu via `dropdownRender`. 8 | -------------------------------------------------------------------------------- /components/collapse/demo/custom.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义各个面板的背景色、圆角、边距和图标。 4 | 5 | ## en-US 6 | 7 | Customize the background, border, margin styles and icon for each panel. 8 | -------------------------------------------------------------------------------- /components/date-picker/demo/extra-footer.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 在浮层中加入额外的页脚,以满足某些定制信息的需求。 4 | 5 | ## en-US 6 | 7 | Render extra footer in panel for customized requirements. 8 | -------------------------------------------------------------------------------- /components/divider/demo/horizontal.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 默认为水平分割线,可在中间加入文字。 4 | 5 | ## en-US 6 | 7 | Divider is `horizontal` by default. You can add text within Divider. 8 | -------------------------------------------------------------------------------- /components/divider/demo/plain.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `plain` 可以设置为更轻量的分割文字样式。 4 | 5 | ## en-US 6 | 7 | You can use non-heading style of divider text by setting `plain`. 8 | -------------------------------------------------------------------------------- /components/form/demo/disabled-input-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Test disabled Input with validate state 4 | 5 | ## en-US 6 | 7 | Test disabled Input with validate state. 8 | -------------------------------------------------------------------------------- /components/form/demo/warning-only.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | `rule` 添加 `warningOnly` 后校验不再阻塞表单提交。 4 | 5 | ## en-US 6 | 7 | `rule` with `warningOnly` will not block form submit. 8 | -------------------------------------------------------------------------------- /components/input/demo/allowClear.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 带移除图标的输入框,点击图标删除所有内容。 4 | 5 | ## en-US 6 | 7 | Input box with the remove icon, click the icon to delete everything. 8 | -------------------------------------------------------------------------------- /components/notification/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('notification', { 4 | testRootProps: false, 5 | }); 6 | -------------------------------------------------------------------------------- /components/pagination/demo/total.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过设置 `showTotal` 展示总共有多少数据。 4 | 5 | ## en-US 6 | 7 | You can show the total number of data by setting `showTotal`. 8 | -------------------------------------------------------------------------------- /components/select/demo/tags.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | tags select,随意输入的内容(scroll the menu)。 4 | 5 | ## en-US 6 | 7 | Select with tags, transform input to tag (scroll the menu). 8 | -------------------------------------------------------------------------------- /components/space/demo/compact-button-vertical.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 垂直方向的紧凑布局,目前仅支持 Button 组合。 4 | 5 | ## en-US 6 | 7 | Vertical Mode for Space.Compact, support Button only. 8 | -------------------------------------------------------------------------------- /components/spin/demo/nested.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以直接把内容内嵌到 `Spin` 中,将现有容器变为加载状态。 4 | 5 | ## en-US 6 | 7 | Embedding content into `Spin` will set it into loading state. 8 | -------------------------------------------------------------------------------- /components/steps/demo/customized-progress-dot.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 为点状步骤条增加自定义展示。 4 | 5 | ## en-US 6 | 7 | You can customize the display for Steps with progress dot style. 8 | -------------------------------------------------------------------------------- /components/tabs/demo/slide.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以左右、上下滑动,容纳更多标签。 4 | 5 | ## en-US 6 | 7 | In order to fit in more tabs, they can slide left and right (or up and down). 8 | -------------------------------------------------------------------------------- /components/tag/demo/draggable.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 [dnd kit](https://dndkit.com) 实现的可拖拽标签。 4 | 5 | ## en-US 6 | 7 | Draggable tags using [dnd kit](https://dndkit.com). 8 | -------------------------------------------------------------------------------- /components/tree/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('tree', { skip: ['big-data.tsx', 'virtual-scroll.tsx'] }); 4 | -------------------------------------------------------------------------------- /components/typography/demo/interactive.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 提供可编辑和可复制等额外的交互能力。 4 | 5 | ## en-US 6 | 7 | Provide additional interactive capacity of editable and copyable. 8 | -------------------------------------------------------------------------------- /components/upload/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 经典款式,用户点击按钮弹出文件选择框。 4 | 5 | ## en-US 6 | 7 | Classic mode. File selection dialog pops up when upload button is clicked. 8 | -------------------------------------------------------------------------------- /components/upload/demo/defaultFileList.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `defaultFileList` 设置已上传的内容。 4 | 5 | ## en-US 6 | 7 | Use `defaultFileList` for uploaded files when page init. 8 | -------------------------------------------------------------------------------- /.github/tests_checker.yml: -------------------------------------------------------------------------------- 1 | comment: 'Could you please add tests to make sure this change works as expected?', 2 | fileExtensions: [.ts', '.tsx', '.json'] 3 | testDir: '__tests__' 4 | -------------------------------------------------------------------------------- /.gitpod.yml: -------------------------------------------------------------------------------- 1 | ports: 2 | - port: 8001 3 | onOpen: open-preview 4 | tasks: 5 | - before: > 6 | export DEV_HOST=$(gp url 8001) 7 | init: npm install 8 | command: npm start 9 | -------------------------------------------------------------------------------- /components/breadcrumb/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('breadcrumb', { skip: ['react-router.tsx'] }); 4 | -------------------------------------------------------------------------------- /components/cascader/demo/placement.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以通过 `placement` 手动指定弹出的位置。 4 | 5 | ## en-US 6 | 7 | You can manually specify the position of the popup via `placement`. 8 | -------------------------------------------------------------------------------- /components/color-picker/demo/base.tsx: -------------------------------------------------------------------------------- 1 | import { ColorPicker } from 'antd'; 2 | import React from 'react'; 3 | 4 | const Demo = () => ; 5 | 6 | export default Demo; 7 | -------------------------------------------------------------------------------- /components/date-picker/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('date-picker', { skip: ['locale.tsx'] }); 4 | -------------------------------------------------------------------------------- /components/date-picker/demo/preset-ranges.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以预设常用的日期范围以提高用户体验。 4 | 5 | ## en-US 6 | 7 | We can set preset ranges to RangePicker to improve user experience. 8 | -------------------------------------------------------------------------------- /components/form/__tests__/__snapshots__/list.test.tsx.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`Form.List should render empty without errors 1`] = `null`; 4 | -------------------------------------------------------------------------------- /components/input-number/demo/out-of-range.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 当通过受控将 `value` 超出边界时,提供警告样式。 4 | 5 | ## en-US 6 | 7 | Show warning style when `value` is out of range by control. 8 | -------------------------------------------------------------------------------- /components/input/demo/search-input.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 带有搜索按钮的输入框。 4 | 5 | ## en-US 6 | 7 | Example of creating a search box by grouping a standard input with a search button. 8 | -------------------------------------------------------------------------------- /components/layout/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('layout', { skip: ['custom-trigger-debug.tsx'] }); 4 | -------------------------------------------------------------------------------- /components/progress/index.tsx: -------------------------------------------------------------------------------- 1 | import Progress from './progress'; 2 | 3 | export type { ProgressAriaProps, ProgressProps } from './progress'; 4 | 5 | export default Progress; 6 | -------------------------------------------------------------------------------- /components/segmented/demo/controlled-two.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 测试受控模式下两个 Segmented 同步 state。 4 | 5 | ## en-US 6 | 7 | Tests two Segmented synchronized states in controlled mode. 8 | -------------------------------------------------------------------------------- /components/select/demo/placement.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以通过 `placement` 手动指定弹出的位置。 4 | 5 | ## en-US 6 | 7 | You can manually specify the position of the popup via `placement`. 8 | -------------------------------------------------------------------------------- /components/skeleton/demo/basic.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Skeleton } from 'antd'; 3 | 4 | const App: React.FC = () => ; 5 | 6 | export default App; 7 | -------------------------------------------------------------------------------- /components/table/demo/expand.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 当表格内容较多不能一次性完全展示时。 4 | 5 | ## en-US 6 | 7 | When there's too much information to show and the table can't display all at once. 8 | -------------------------------------------------------------------------------- /components/tabs/demo/custom-add-trigger.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 隐藏默认的页签增加图标,给自定义触发器绑定事件。 4 | 5 | ## en-US 6 | 7 | Hide default plus icon, and bind event for customized trigger. 8 | -------------------------------------------------------------------------------- /components/upload/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('upload', { skip: ['crop-image.tsx'], testRootProps: false }); 4 | -------------------------------------------------------------------------------- /components/affix/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Affix image', () => { 4 | imageDemoTest('affix'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/alert/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Alert image', () => { 4 | imageDemoTest('alert'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/auto-complete/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 基本使用,通过 `options` 设置自动完成的数据源。 4 | 5 | ## en-US 6 | 7 | Basic Usage, set data source of autocomplete with `options` property. 8 | -------------------------------------------------------------------------------- /components/badge/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Badge image', () => { 4 | imageDemoTest('badge'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/card/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Card image', () => { 4 | imageDemoTest('card'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/date-picker/demo/mode.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过组合 `mode` 与 `onPanelChange` 控制要展示的面板。 4 | 5 | ## en-US 6 | 7 | Determine which panel to show with `mode` and `onPanelChange`. 8 | -------------------------------------------------------------------------------- /components/date-picker/demo/placement.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以通过 `placement` 手动指定弹出的位置。 4 | 5 | ## en-US 6 | 7 | You can manually specify the position of the popup via `placement`. 8 | -------------------------------------------------------------------------------- /components/dropdown/demo/context-menu.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 默认是移入触发菜单,可以点击鼠标右键触发。 4 | 5 | ## en-US 6 | 7 | The default trigger mode is `hover`, you can change it to `contextMenu`. 8 | -------------------------------------------------------------------------------- /components/empty/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Empty image', () => { 4 | imageDemoTest('empty'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/form/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 基本的表单数据域控制展示,包含布局、初始化、验证、提交。 4 | 5 | ## en-US 6 | 7 | Basic Form data control. Includes layout, initial values, validation and submit. 8 | -------------------------------------------------------------------------------- /components/grid/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Grid image', () => { 4 | imageDemoTest('grid'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/image/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Image image', () => { 4 | imageDemoTest('image'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/layout/demo/fixed.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 一般用于固定顶部导航,方便页面切换。 4 | 5 | ## en-US 6 | 7 | Fixed Header is generally used to fix the top navigation to facilitate page switching. 8 | -------------------------------------------------------------------------------- /components/layout/demo/top-side.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 拥有顶部导航及侧边栏的页面,多用于展示类网站。 4 | 5 | ## en-US 6 | 7 | Both the top navigation and the sidebar, commonly used in documentation site. 8 | -------------------------------------------------------------------------------- /components/list/demo/pagination.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可通过 `pagination` 属性使用列表分页,并进行设置。 4 | 5 | ## en-US 6 | 7 | List pagination can be used and set through the `pagination` property. 8 | -------------------------------------------------------------------------------- /components/menu/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Menu image', () => { 4 | imageDemoTest('menu'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/message/demo/custom-style.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `style` 和 `className` 来定义样式。 4 | 5 | ## en-US 6 | 7 | The `style` and `className` are available to customize Message. 8 | -------------------------------------------------------------------------------- /components/message/demo/loading.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 进行全局 loading,异步自行移除。 4 | 5 | ## en-US 6 | 7 | Display a global loading indicator, which is dismissed by itself asynchronously. 8 | -------------------------------------------------------------------------------- /components/modal/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Modal image', () => { 4 | imageDemoTest('modal'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/notification/demo/custom-style.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 style 和 className 来定义样式。 4 | 5 | ## en-US 6 | 7 | The style and className are available to customize Notification. 8 | -------------------------------------------------------------------------------- /components/pagination/index.ts: -------------------------------------------------------------------------------- 1 | import Pagination from './Pagination'; 2 | 3 | export type { PaginationConfig, PaginationProps } from './Pagination'; 4 | export default Pagination; 5 | -------------------------------------------------------------------------------- /components/radio/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Radio image', () => { 4 | imageDemoTest('radio'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/radio/demo/basic.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Radio } from 'antd'; 3 | 4 | const App: React.FC = () => Radio; 5 | 6 | export default App; 7 | -------------------------------------------------------------------------------- /components/rate/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Rate image', () => { 4 | imageDemoTest('rate'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/space/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Space image', () => { 4 | imageDemoTest('space'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/steps/demo/error.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 Steps 的 `status` 属性来指定当前步骤的状态。 4 | 5 | ## en-US 6 | 7 | By using `status` of `Steps`, you can specify the state for current step. 8 | -------------------------------------------------------------------------------- /components/steps/demo/step-next.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通常配合内容及按钮使用,表示一个流程的处理进度。 4 | 5 | ## en-US 6 | 7 | Cooperate with the content and buttons, to represent the progress of a process. 8 | -------------------------------------------------------------------------------- /components/table/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Table image', () => { 4 | imageDemoTest('table'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/tabs/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Tabs image', () => { 4 | imageDemoTest('tabs'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/time-picker/demo/range-picker.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `TimePicker.RangePicker` 使用时间范围选择器。 4 | 5 | ## en-US 6 | 7 | Use time range picker with `TimePicker.RangePicker`. 8 | -------------------------------------------------------------------------------- /components/tour/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Tooltip tour', () => { 4 | imageDemoTest('tour'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/tree-select/demo/placement.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以通过 `placement` 手动指定弹出的位置。 4 | 5 | ## en-US 6 | 7 | You can manually specify the position of the popup via `placement`. 8 | -------------------------------------------------------------------------------- /components/tree/demo/basic-controlled.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 受控操作示例 4 | 5 | ## en-US 6 | 7 | Controlled mode lets parent nodes reflect the status of child nodes more intelligently. 8 | -------------------------------------------------------------------------------- /components/upload/demo/upload-custom-action-icon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `showUploadList` 设置列表交互图标。 4 | 5 | ## en-US 6 | 7 | Use `showUploadList` for custom action icons of files. 8 | -------------------------------------------------------------------------------- /components/upload/demo/upload-manually.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | `beforeUpload` 返回 `false` 后,手动上传文件。 4 | 5 | ## en-US 6 | 7 | Upload files manually after `beforeUpload` returns `false`. 8 | -------------------------------------------------------------------------------- /.dumi/theme/antd.js: -------------------------------------------------------------------------------- 1 | // Need import for the additional core style 2 | // exports.styleCore = require('../components/style/reset.css'); 3 | 4 | module.exports = require('../../components'); 5 | -------------------------------------------------------------------------------- /components/alert/demo/style.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 共有四种样式 `success`、`info`、`warning`、`error`。 4 | 5 | ## en-US 6 | 7 | There are 4 types of Alert: `success`, `info`, `warning`, `error`. 8 | -------------------------------------------------------------------------------- /components/anchor/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Anchor image', () => { 4 | imageDemoTest('anchor'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/avatar/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Avatar image', () => { 4 | imageDemoTest('avatar'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/badge/demo/no-wrapper.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 不包裹任何元素即是独立使用,可自定样式展现。 4 | 5 | > 在右上角的 badge 则限定为红色。 6 | 7 | ## en-US 8 | 9 | Used in standalone when children is empty. 10 | -------------------------------------------------------------------------------- /components/cascader/demo/disabled-option.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过指定 options 里的 `disabled` 字段。 4 | 5 | ## en-US 6 | 7 | Disable option by specifying the `disabled` property in `options`. 8 | -------------------------------------------------------------------------------- /components/date-picker/demo/size.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 三种大小的输入框,若不设置,则为 `middle`。 4 | 5 | ## en-US 6 | 7 | The input box comes in three sizes. `middle` will be used if `size` is omitted. 8 | -------------------------------------------------------------------------------- /components/divider/demo/with-text.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 分割线中带有文字,可以用 `orientation` 指定文字位置。 4 | 5 | ## en-US 6 | 7 | Divider with inner title, set `orientation="left/right"` to align it. 8 | -------------------------------------------------------------------------------- /components/drawer/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Drawer image', () => { 4 | imageDemoTest('drawer'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/form/changelog.md: -------------------------------------------------------------------------------- 1 | # Form Dom 变化 2 | 3 | - 状态 className 现在移动到顶层,不再是 input only 4 | - 去除 `ant-form-item-control-wrapper` 一层 div 5 | - `.has-success` 等状态样式添加 `ant-form-item` 前缀 6 | -------------------------------------------------------------------------------- /components/icon/demo/two-tone.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 双色图标可以通过 `twoToneColor` 属性设置主题色。 4 | 5 | ## en-US 6 | 7 | You can set `twoToneColor` prop to specific primary color for two-tone icons. 8 | -------------------------------------------------------------------------------- /components/list/demo/grid.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以通过设置 `List` 的 `grid` 属性来实现栅格列表,`column` 可设置期望显示的列数。 4 | 5 | ## en-US 6 | 7 | Create a grid layout by setting the `grid` property of List. 8 | -------------------------------------------------------------------------------- /components/modal/demo/custom-mouse-position.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `mousePosition` 控制弹框动画原点. 4 | 5 | ## en-US 6 | 7 | pass `mousePosition` to control modal's animation origin position 8 | -------------------------------------------------------------------------------- /components/popconfirm/demo/locale.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `okText` 和 `cancelText` 自定义按钮文字。 4 | 5 | ## en-US 6 | 7 | Set `okText` and `cancelText` props to customize the button's labels. 8 | -------------------------------------------------------------------------------- /components/qrcode/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('QRCode image', () => { 4 | imageDemoTest('qrcode'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/result/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Result image', () => { 4 | imageDemoTest('result'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/select/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('select', { skip: ['render-panel.tsx', 'big-data.tsx'] }); 4 | -------------------------------------------------------------------------------- /components/skeleton/demo/active.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Skeleton } from 'antd'; 3 | 4 | const App: React.FC = () => ; 5 | 6 | export default App; 7 | -------------------------------------------------------------------------------- /components/slider/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Slider image', () => { 4 | imageDemoTest('slider'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/slider/demo/draggableTrack.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以设置 `range.draggableTrack`,使得范围刻度整体可拖拽。 4 | 5 | ## en-US 6 | 7 | Make range track draggable when set `range.draggableTrack`. 8 | -------------------------------------------------------------------------------- /components/steps/demo/icon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过设置 `items` 的 `icon` 属性,可以启用自定义图标。 4 | 5 | ## en-US 6 | 7 | You can use your own custom icons by setting the property `icon` for `items`. 8 | -------------------------------------------------------------------------------- /components/tabs/demo/size.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 大号页签用在页头区域,小号用在弹出框等较狭窄的容器内。 4 | 5 | ## en-US 6 | 7 | Large size tabs are usually used in page header, and small size could be used in Modal. 8 | -------------------------------------------------------------------------------- /components/time-picker/demo/12hours.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 12 小时制的时间选择器,默认的 format 为 `h:mm:ss a`。 4 | 5 | ## en-US 6 | 7 | TimePicker of 12 hours format, with default format `h:mm:ss a`. 8 | -------------------------------------------------------------------------------- /components/time-picker/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 点击 TimePicker,然后可以在浮层中选择或者输入某一时间。 4 | 5 | ## en-US 6 | 7 | Click `TimePicker`, and then we could select or input a time in panel. 8 | -------------------------------------------------------------------------------- /components/time-picker/demo/suffix.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 点击 TimePicker,然后可以在浮层中选择或者输入某一时间。 4 | 5 | ## en-US 6 | 7 | Click `TimePicker`, and then we could select or input a time in panel. 8 | -------------------------------------------------------------------------------- /components/tooltip/demo/colorful.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 我们添加了多种预设色彩的文字提示样式,用作不同场景使用。 4 | 5 | ## en-US 6 | 7 | We preset a series of colorful Tooltip styles for use in different situations. 8 | -------------------------------------------------------------------------------- /components/tree/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('tree', { skip: ['big-data.tsx', 'virtual-scroll.tsx'] }); 4 | -------------------------------------------------------------------------------- /components/tree/demo/draggable.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 将节点拖拽到其他节点内部或前后。 4 | 5 | ## en-US 6 | 7 | Drag treeNode to insert after the other treeNode or insert into the other parent TreeNode. 8 | -------------------------------------------------------------------------------- /components/back-top/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('BackTop image', () => { 4 | imageDemoTest('back-top'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/badge/demo/dot.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 没有具体的数字。 4 | 5 | ## en-US 6 | 7 | This will simply display a red badge, without a specific count. If count equals 0, it won't display the dot. 8 | -------------------------------------------------------------------------------- /components/calendar/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Calendar image', () => { 4 | imageDemoTest('calendar'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/carousel/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Carousel image', () => { 4 | imageDemoTest('carousel'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/cascader/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Cascader image', () => { 4 | imageDemoTest('cascader'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/cascader/demo/showCheckedStrategy.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过设置 `ShowCheckedStrategy` 选择回填方式。 4 | 5 | ## en-US 6 | 7 | The way show selected item in box using `ShowCheckedStrategy`. 8 | -------------------------------------------------------------------------------- /components/checkbox/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Checkbox image', () => { 4 | imageDemoTest('checkbox'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/checkbox/demo/check-all.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 在实现全选效果时,你可能会用到 `indeterminate` 属性。 4 | 5 | ## en-US 6 | 7 | The `indeterminate` property can help you to achieve a 'check all' effect. 8 | -------------------------------------------------------------------------------- /components/collapse/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Collapse image', () => { 4 | imageDemoTest('collapse'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/descriptions/demo/responsive.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过响应式的配置可以实现在小屏幕设备上的完美呈现。 4 | 5 | ## en-US 6 | 7 | Responsive configuration enables perfect presentation on small screen devices. 8 | -------------------------------------------------------------------------------- /components/divider/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Divider image', () => { 4 | imageDemoTest('divider'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/drawer/demo/multi-level-drawer.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 在抽屉内打开新的抽屉,用以解决多分支任务的复杂状况。 4 | 5 | ## en-US 6 | 7 | Open a new drawer on top of an existing drawer to handle multi branch tasks. 8 | -------------------------------------------------------------------------------- /components/form/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('form', { skip: ['complex-form-control.tsx', 'dep-debug.tsx'] }); 4 | -------------------------------------------------------------------------------- /components/layout/demo/fixed-sider.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 当内容较长时,使用固定侧边栏可以提供更好的体验。 4 | 5 | ## en-US 6 | 7 | When dealing with long content, a fixed sider can provide a better user experience. 8 | -------------------------------------------------------------------------------- /components/layout/demo/top-side-2.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 同样拥有顶部导航及侧边栏,区别是两边未留边距,多用于应用型的网站。 4 | 5 | ## en-US 6 | 7 | Both the top navigation and the sidebar, commonly used in application site. 8 | -------------------------------------------------------------------------------- /components/list/demo/vertical.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过设置 `itemLayout` 属性为 `vertical` 可实现竖排列表样式。 4 | 5 | ## en-US 6 | 7 | Set the `itemLayout` property to `vertical` to create a vertical list. 8 | -------------------------------------------------------------------------------- /components/mentions/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Mentions image', () => { 4 | imageDemoTest('mentions'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/menu/demo/theme.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 内建了两套主题 `light` 和 `dark`,默认 `light`。 4 | 5 | ## en-US 6 | 7 | There are two built-in themes: `light` and `dark`. The default value is `light`. 8 | -------------------------------------------------------------------------------- /components/message/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Message image', () => { 4 | imageDemoTest('message'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/modal/demo/modal-render.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义渲染对话框, 可通过 `react-draggable` 来实现拖拽。 4 | 5 | ## en-US 6 | 7 | Custom modal content render. use `react-draggable` implements draggable. 8 | -------------------------------------------------------------------------------- /components/popover/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Popover image', () => { 4 | imageDemoTest('popover'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/progress/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Progress image', () => { 4 | imageDemoTest('progress'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/progress/demo/gradient-line.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | `linear-gradient` 的封装。推荐只传两种颜色。 4 | 5 | ## en-US 6 | 7 | A package of `linear-gradient`. It is recommended to only pass two colors. 8 | -------------------------------------------------------------------------------- /components/radio/demo/size.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 大中小三种组合,可以和表单输入框进行对应配合。 4 | 5 | ## en-US 6 | 7 | There are three sizes available: large, medium, and small. It can coordinate with input box. 8 | -------------------------------------------------------------------------------- /components/rate/demo/half.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Rate } from 'antd'; 3 | 4 | const App: React.FC = () => ; 5 | 6 | export default App; 7 | -------------------------------------------------------------------------------- /components/skeleton/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Skeleton image', () => { 4 | imageDemoTest('skeleton'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/steps/demo/small-size.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 迷你版的步骤条,通过设置 `` 启用. 4 | 5 | ## en-US 6 | 7 | By setting like this: ``, you can get a mini version. 8 | -------------------------------------------------------------------------------- /components/tooltip/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('tooltip', { 4 | skip: ['shift.tsx', 'debug.tsx'], 5 | }); 6 | -------------------------------------------------------------------------------- /components/tooltip/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Tooltip image', () => { 4 | imageDemoTest('tooltip'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/transfer/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Transfer image', () => { 4 | imageDemoTest('transfer'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/tree/demo/search.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可搜索的树。 4 | 5 | ## en-US 6 | 7 | Searchable Tree. 8 | 9 | ```css 10 | .site-tree-search-value { 11 | color: #f50; 12 | } 13 | ``` 14 | -------------------------------------------------------------------------------- /components/upload/demo/preview-file.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义本地预览,用于处理非图片格式文件(例如视频文件)。 4 | 5 | ## en-US 6 | 7 | Customize local preview. Can handle with non-image format files such as video. 8 | -------------------------------------------------------------------------------- /docs/spec/research-overview.en-US.md: -------------------------------------------------------------------------------- 1 | --- 2 | group: 3 | title: Design Patterns (Research) 4 | order: 3 5 | order: 0 6 | title: Overview 7 | skip: true 8 | --- 9 | 10 | 设计模式-探索:概览 11 | -------------------------------------------------------------------------------- /components/avatar/demo/toggle-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 切换 Avatar 显示的时候,文本样式应该居中并正确调整字体大小。 4 | 5 | ## en-US 6 | 7 | Text inside Avatar should be set a proper font size when toggle it's visibility. 8 | -------------------------------------------------------------------------------- /components/breadcrumb/demo/separator.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `separator=">"` 可以自定义分隔符。 4 | 5 | ## en-US 6 | 7 | The separator can be customized by setting the separator property: `separator=">"`. 8 | -------------------------------------------------------------------------------- /components/button/demo/disabled.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 添加 `disabled` 属性即可让按钮处于不可用状态,同时按钮样式也会改变。 4 | 5 | ## en-US 6 | 7 | To mark a button as disabled, add the `disabled` property to the `Button`. 8 | -------------------------------------------------------------------------------- /components/card/demo/inner.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以放在普通卡片内部,展示多层级结构的信息。 4 | 5 | ## en-US 6 | 7 | It can be placed inside the ordinary card to display the information of the multilevel structure. 8 | -------------------------------------------------------------------------------- /components/dropdown/demo/overlay-open.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 默认是点击关闭菜单,可以关闭此功能。 4 | 5 | ## en-US 6 | 7 | The default is to close the menu when you click on menu items, this feature can be turned off. 8 | -------------------------------------------------------------------------------- /components/dropdown/demo/selectable.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 添加 `menu` 中的 `selectable` 属性可以开启选择能力。 4 | 5 | ## en-US 6 | 7 | Configure the `selectable` property in `menu` to enable selectable ability. 8 | -------------------------------------------------------------------------------- /components/empty/demo/description.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Empty } from 'antd'; 3 | 4 | const App: React.FC = () => ; 5 | 6 | export default App; 7 | -------------------------------------------------------------------------------- /components/form/demo/label-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | `label` 中使用 `` 时应该显示 `...`。 4 | 5 | ## en-US 6 | 7 | Use `` in label should show `...`. 8 | -------------------------------------------------------------------------------- /components/input/demo/basic.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Input } from 'antd'; 3 | 4 | const App: React.FC = () => ; 5 | 6 | export default App; 7 | -------------------------------------------------------------------------------- /components/input/demo/status.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `status` 为 Input 添加状态,可选 `error` 或者 `warning`。 4 | 5 | ## en-US 6 | 7 | Add status to Input with `status`, which could be `error` or `warning`. 8 | -------------------------------------------------------------------------------- /components/pagination/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Pagination image', () => { 4 | imageDemoTest('pagination'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/popconfirm/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Popconfirm image', () => { 4 | imageDemoTest('popconfirm'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/popover/demo/hover-with-click.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 以下示例显示如何创建可悬停和单击的弹出窗口。 4 | 5 | ## en-US 6 | 7 | The following example shows how to create a popover which can be hovered and clicked. 8 | -------------------------------------------------------------------------------- /components/rate/demo/character-function.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以使用 `(RateProps) => ReactNode` 的方式自定义每一个字符。 4 | 5 | ## en-US 6 | 7 | Can customize each character using `(RateProps) => ReactNode`. 8 | -------------------------------------------------------------------------------- /components/rate/demo/disabled.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { Rate } from 'antd'; 3 | 4 | const App: React.FC = () => ; 5 | 6 | export default App; 7 | -------------------------------------------------------------------------------- /components/segmented/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Segmented image', () => { 4 | imageDemoTest('segmented'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/slider/demo/input-number.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 和 [数字输入框](/components/input-number/) 组件保持同步。 4 | 5 | ## en-US 6 | 7 | Synchronize with [InputNumber](/components/input-number/) component. 8 | -------------------------------------------------------------------------------- /components/table/demo/narrow.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 两种紧凑型的列表,小型列表只用于对话框内。 4 | 5 | ## en-US 6 | 7 | There are two compacted table sizes: `middle` and `small`. The `small` size is used in Modals only. 8 | -------------------------------------------------------------------------------- /components/table/demo/tree-table-ellipsis.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | https://github.com/ant-design/ant-design/issues/36583 4 | 5 | ## en-US 6 | 7 | https://github.com/ant-design/ant-design/issues/36583 8 | -------------------------------------------------------------------------------- /components/time-picker/locale/pt_BR.ts: -------------------------------------------------------------------------------- 1 | import type { TimePickerLocale } from '../index'; 2 | 3 | const locale: TimePickerLocale = { 4 | placeholder: 'Hora', 5 | }; 6 | 7 | export default locale; 8 | -------------------------------------------------------------------------------- /components/time-picker/locale/pt_PT.ts: -------------------------------------------------------------------------------- 1 | import type { TimePickerLocale } from '../index'; 2 | 3 | const locale: TimePickerLocale = { 4 | placeholder: 'Hora', 5 | }; 6 | 7 | export default locale; 8 | -------------------------------------------------------------------------------- /components/time-picker/locale/zh_TW.ts: -------------------------------------------------------------------------------- 1 | import type { TimePickerLocale } from '../index'; 2 | 3 | const locale: TimePickerLocale = { 4 | placeholder: '請選擇時間', 5 | }; 6 | 7 | export default locale; 8 | -------------------------------------------------------------------------------- /components/transfer/demo/custom-item.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义渲染每一个 Transfer Item,可用于渲染复杂数据。 4 | 5 | ## en-US 6 | 7 | Custom each Transfer Item, and in this way you can render a complex datasource. 8 | -------------------------------------------------------------------------------- /components/typography/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Typography image', () => { 4 | imageDemoTest('typography'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/upload/demo/transform-file.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `beforeUpload` 转换上传的文件(例如添加水印)。 4 | 5 | ## en-US 6 | 7 | Use `beforeUpload` for transform file before request such as add a watermark. 8 | -------------------------------------------------------------------------------- /components/button/demo/chinese-chars-loading.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | https://github.com/ant-design/ant-design/issues/36165 4 | 5 | ## en-US 6 | 7 | https://github.com/ant-design/ant-design/issues/36165 8 | -------------------------------------------------------------------------------- /components/card/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 包含标题、内容、操作区域。 4 | 5 | ## en-US 6 | 7 | A basic card containing a title, content and an extra corner content. Supports two sizes: `default` and `small`. 8 | -------------------------------------------------------------------------------- /components/color-picker/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('ColorPicker image', () => { 4 | imageDemoTest('color-picker'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/color-picker/demo/trigger-event.tsx: -------------------------------------------------------------------------------- 1 | import { ColorPicker } from 'antd'; 2 | import React from 'react'; 3 | 4 | const Demo = () => ; 5 | 6 | export default Demo; 7 | -------------------------------------------------------------------------------- /components/date-picker/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('DatePicker image', () => { 4 | imageDemoTest('date-picker'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/form/demo/dynamic-form-items-complex.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 这个例子演示了一个表单中包含多个表单控件的情况。 4 | 5 | ## en-US 6 | 7 | This example demonstrates the case that a form contains multiple form controls. 8 | -------------------------------------------------------------------------------- /components/icon/index.ts: -------------------------------------------------------------------------------- 1 | import warning from '../_util/warning'; 2 | 3 | const Icon: React.FC = () => { 4 | warning(false, 'Icon', 'Empty Icon'); 5 | return null; 6 | }; 7 | 8 | export default Icon; 9 | -------------------------------------------------------------------------------- /components/input-number/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('InputNumber image', () => { 4 | imageDemoTest('input-number'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/modal/demo/hooks.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `Modal.useModal` 创建支持读取 context 的 `contextHolder`。 4 | 5 | ## en-US 6 | 7 | Use `Modal.useModal` to get `contextHolder` with context accessible issue. 8 | -------------------------------------------------------------------------------- /components/modal/demo/locale.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 设置 `okText` 与 `cancelText` 以自定义按钮文字。 4 | 5 | ## en-US 6 | 7 | To customize the text of the buttons, you need to set `okText` and `cancelText` props. 8 | --------------------------------------------------------------------------------