├── .npmignore ├── .dumi ├── preset │ └── .gitkeep ├── theme │ ├── static │ │ └── style.ts │ ├── slots │ │ └── Header │ │ │ └── interface.ts │ └── builtins │ │ ├── Palette │ │ └── index.ts │ │ ├── Sandpack │ │ └── Sandpack.ts │ │ ├── ColorPalettes │ │ └── index.ts │ │ ├── ColorPaletteTool │ │ └── index.ts │ │ └── ColorPaletteToolDark │ │ └── index.ts ├── pages │ ├── index-cn │ │ └── index.ts │ └── theme-editor-cn │ │ └── index.ts ├── loading.js └── tsconfig.json ├── CNAME ├── .surgeignore ├── .dockerignore ├── .husky └── pre-commit ├── components ├── statistic │ ├── interface.ts │ ├── demo │ │ ├── basic.md │ │ ├── countdown.md │ │ ├── card.md │ │ ├── unit.md │ │ └── component-token.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── tree │ └── demo │ │ ├── drag-debug.md │ │ ├── big-data.md │ │ ├── component-token.md │ │ ├── multiple-line.md │ │ ├── switcher-icon.md │ │ ├── customized-icon.md │ │ ├── virtual-scroll.md │ │ ├── dynamic.md │ │ ├── basic-controlled.md │ │ └── draggable.md ├── auto-complete │ ├── demo │ │ ├── form-debug.md │ │ ├── allowClear.md │ │ ├── custom.md │ │ ├── options.md │ │ ├── render-panel.md │ │ ├── non-case-sensitive.md │ │ └── basic.md │ └── __tests__ │ │ └── demo-extend.test.ts ├── input-number │ └── demo │ │ ├── debug-token.md │ │ ├── basic.md │ │ ├── filled-debug.md │ │ ├── variant.md │ │ ├── addon.md │ │ ├── change-on-wheel.md │ │ ├── presuffix.md │ │ ├── render-panel.md │ │ ├── keyboard.md │ │ ├── disabled.md │ │ └── out-of-range.md ├── affix │ ├── demo │ │ ├── debug.md │ │ ├── basic.md │ │ └── on-change.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── flex │ ├── demo │ │ ├── align.md │ │ ├── basic.md │ │ ├── debug.md │ │ ├── wrap.md │ │ └── combination.md │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── layout │ ├── demo │ │ ├── custom-trigger-debug.md │ │ ├── basic.md │ │ ├── component-token.md │ │ ├── fixed.md │ │ └── top-side.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── list │ ├── demo │ │ ├── basic.md │ │ ├── component-token.md │ │ ├── grid-test.md │ │ ├── pagination.md │ │ └── grid.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── menu │ ├── demo │ │ ├── style-debug.md │ │ ├── menu-v4.md │ │ ├── vertical.md │ │ ├── component-token.md │ │ ├── horizontal.md │ │ ├── horizontal-dark.md │ │ ├── inline.md │ │ └── switch-mode.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── modal │ ├── demo │ │ ├── basic.md │ │ ├── dark.md │ │ ├── nested.md │ │ ├── wireframe.md │ │ ├── loading.md │ │ ├── component-token.md │ │ ├── render-panel.md │ │ ├── width.md │ │ ├── manual.md │ │ └── custom-mouse-position.md │ ├── destroyFns.ts │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── badge │ ├── demo │ │ ├── ribbon-debug.md │ │ ├── ribbon.md │ │ ├── size.md │ │ ├── status.md │ │ ├── change.md │ │ ├── component-token.md │ │ ├── link.md │ │ ├── colorful-with-count-debug.md │ │ ├── mix.md │ │ ├── title.md │ │ ├── no-wrapper.md │ │ └── dot.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── button │ ├── demo │ │ ├── debug-block.md │ │ ├── debug-icon.md │ │ ├── debug-color-variant.md │ │ ├── legacy-group.md │ │ ├── linear-gradient.md │ │ ├── icon.md │ │ ├── component-token.md │ │ ├── danger.md │ │ └── block.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── carousel │ ├── demo │ │ ├── basic.md │ │ ├── arrows.md │ │ ├── fade.md │ │ ├── component-token.md │ │ ├── position.md │ │ └── autoplay.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── checkbox │ ├── demo │ │ ├── debug-line.md │ │ ├── disabled.md │ │ ├── basic.md │ │ ├── controller.md │ │ ├── debug-disable-popover.md │ │ └── group.md │ └── __tests__ │ │ └── demo-extend.test.ts ├── descriptions │ ├── demo │ │ ├── padding.md │ │ ├── basic.md │ │ ├── jsx.md │ │ ├── vertical.md │ │ ├── component-token.md │ │ ├── style.md │ │ ├── border.md │ │ ├── text.md │ │ ├── size.md │ │ └── vertical-border.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── empty │ ├── demo │ │ ├── basic.md │ │ ├── description.md │ │ ├── config-provider.md │ │ ├── basic.tsx │ │ └── customize.md │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── mentions │ ├── demo │ │ ├── basic.md │ │ ├── autoSize.md │ │ ├── allowClear.md │ │ ├── variant.md │ │ ├── placement.md │ │ ├── component-token.md │ │ ├── render-panel.md │ │ ├── form.md │ │ └── readonly.md │ └── __tests__ │ │ └── demo-extend.test.ts ├── pagination │ ├── demo │ │ ├── more.md │ │ ├── basic.md │ │ ├── simple.md │ │ ├── wireframe.md │ │ ├── all.md │ │ ├── changer.md │ │ ├── jump.md │ │ ├── controlled.md │ │ ├── component-token.md │ │ ├── itemRender.md │ │ └── total.md │ ├── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts │ └── index.tsx ├── qr-code │ ├── demo │ │ ├── base.md │ │ ├── Popover.md │ │ ├── customSize.md │ │ ├── icon.md │ │ ├── download.md │ │ ├── errorlevel.md │ │ └── customColor.md │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── select │ ├── demo │ │ ├── basic.md │ │ ├── debug.md │ │ ├── suffix.md │ │ ├── component-token.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 │ │ ├── search-filter-option.md │ │ ├── option-render.md │ │ ├── placement.md │ │ └── placement-debug.md │ └── __tests__ │ │ └── image.test.ts ├── space │ ├── demo │ │ ├── debug.md │ │ ├── wrap.md │ │ ├── gap-in-line.md │ │ ├── split.md │ │ ├── compact-nested.md │ │ ├── base.md │ │ ├── vertical.md │ │ ├── compact-buttons.md │ │ ├── compact.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 │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── tag │ ├── demo │ │ ├── borderless.md │ │ ├── colorful-inverse.md │ │ ├── component-token.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 │ │ ├── component-token.md │ │ └── label.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── tooltip │ └── demo │ │ ├── debug.md │ │ ├── basic.md │ │ ├── disabled-children.md │ │ ├── placement.md │ │ ├── render-panel.md │ │ ├── arrow.md │ │ ├── disabled.md │ │ ├── auto-adjust-overflow.md │ │ └── colorful.md ├── anchor │ ├── demo │ │ ├── basic.md │ │ ├── legacy-anchor.md │ │ ├── horizontal.md │ │ ├── onChange.md │ │ ├── component-token.md │ │ ├── customizeHighlight.md │ │ ├── onClick.md │ │ ├── static.md │ │ └── targetOffset.md │ └── __tests__ │ │ └── demo-extend.test.ts ├── color-picker │ ├── demo │ │ ├── base.md │ │ ├── pure-panel.md │ │ ├── allowClear.md │ │ ├── disabled.md │ │ ├── disabled-alpha.md │ │ ├── trigger.md │ │ ├── presets.md │ │ ├── format.md │ │ ├── line-gradient.md │ │ └── panel-render.md │ └── __tests__ │ │ └── demo-extend.test.ts ├── input │ ├── demo │ │ ├── align.md │ │ ├── basic.md │ │ ├── component-token.md │ │ ├── otp.md │ │ ├── textarea.md │ │ ├── variant.md │ │ ├── borderless-debug.md │ │ ├── filled-debug.md │ │ ├── password-input.md │ │ ├── show-count.md │ │ ├── addon.md │ │ ├── focus.md │ │ ├── textarea-resize.md │ │ ├── debug-addon.md │ │ ├── presuffix.md │ │ ├── search-input-loading.md │ │ ├── allowClear.md │ │ └── search-input.md │ └── __tests__ │ │ └── demo-extend.test.ts ├── popover │ └── demo │ │ ├── wireframe.md │ │ ├── arrow.md │ │ ├── component-token.md │ │ ├── triggerType.md │ │ ├── placement.md │ │ ├── render-panel.md │ │ └── control.md ├── radio │ ├── demo │ │ ├── basic.md │ │ ├── wireframe.md │ │ ├── badge.md │ │ ├── disabled.md │ │ ├── component-token.md │ │ ├── radiobutton-solid.md │ │ ├── radiogroup.md │ │ ├── radiobutton.md │ │ ├── radiogroup-more.md │ │ ├── basic.tsx │ │ └── radiogroup-block.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── rate │ ├── demo │ │ ├── basic.md │ │ ├── half.md │ │ ├── component-token.md │ │ ├── text.md │ │ ├── disabled.md │ │ ├── clear.md │ │ └── basic.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 ├── splitter │ ├── demo │ │ ├── multiple.md │ │ ├── vertical.md │ │ ├── size.md │ │ ├── debug.md │ │ └── group.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── switch │ ├── demo │ │ ├── text.md │ │ ├── basic.md │ │ ├── component-token.md │ │ ├── disabled.md │ │ ├── loading.md │ │ └── size.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── table │ ├── demo │ │ ├── selections-debug.md │ │ ├── component-token.md │ │ ├── custom-empty.md │ │ ├── responsive.md │ │ ├── basic.md │ │ ├── pagination.md │ │ ├── hidden-columns.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 │ └── __tests__ │ │ └── demo.test.ts ├── tabs │ ├── demo │ │ ├── centered.md │ │ ├── disabled.md │ │ ├── icon.md │ │ ├── animated.md │ │ ├── basic.md │ │ ├── nest.md │ │ ├── component-token.md │ │ ├── card.md │ │ ├── card-top.md │ │ ├── slide.md │ │ ├── custom-add-trigger.md │ │ ├── custom-indicator.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__ │ │ └── image.test.ts ├── alert │ ├── demo │ │ ├── action.md │ │ ├── closable.md │ │ ├── component-token.md │ │ ├── basic.md │ │ ├── smooth-closed.md │ │ ├── description.md │ │ ├── banner.md │ │ ├── custom-icon.md │ │ ├── icon.md │ │ └── style.md │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── image.test.ts │ │ └── demo-extend.test.ts ├── avatar │ ├── demo │ │ ├── group.md │ │ ├── badge.md │ │ ├── basic.md │ │ ├── component-token.md │ │ └── responsive.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── breadcrumb │ ├── demo │ │ ├── basic.md │ │ ├── withParams.md │ │ ├── debug-routes.md │ │ ├── overlay.md │ │ ├── component-token.md │ │ ├── separator-component.md │ │ └── withIcon.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── float-button │ ├── demo │ │ ├── badge-debug.md │ │ ├── basic.md │ │ ├── badge.md │ │ ├── render-panel.md │ │ ├── back-top.md │ │ ├── type.md │ │ ├── shape.md │ │ └── tooltip.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── form │ ├── demo │ │ ├── ref-item.md │ │ ├── component-token.md │ │ ├── inline-login.md │ │ ├── register.md │ │ ├── size.md │ │ ├── layout.md │ │ ├── disabled.md │ │ ├── dynamic-form-items-complex.md │ │ ├── dynamic-form-items-no-style.md │ │ ├── dynamic-rule.md │ │ ├── layout-can-wrap.md │ │ ├── required-mark.md │ │ ├── disabled-input-debug.md │ │ ├── validate-scroll-to-field.md │ │ ├── warning-only.md │ │ └── basic.md │ ├── __tests__ │ │ └── __snapshots__ │ │ │ └── list.test.tsx.snap │ └── changelog.md ├── image │ ├── demo │ │ ├── nested.md │ │ ├── basic.md │ │ ├── component-token.md │ │ ├── controlled-preview.md │ │ ├── fallback.md │ │ ├── imageRender.md │ │ ├── previewSrc.md │ │ ├── preview-group-visible.md │ │ ├── placeholder.md │ │ ├── preview-imgInfo.md │ │ └── preview-group.md │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── popconfirm │ ├── demo │ │ ├── wireframe.md │ │ ├── icon.md │ │ ├── dynamic-trigger.md │ │ ├── render-panel.md │ │ └── locale.md │ └── __tests__ │ │ └── demo-extend.test.ts ├── progress │ ├── demo │ │ ├── size.md │ │ ├── circle.md │ │ ├── line.md │ │ ├── steps.md │ │ ├── circle-mini.md │ │ ├── component-token.md │ │ ├── dynamic.md │ │ ├── line-mini.md │ │ ├── format.md │ │ └── segment.md │ ├── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts │ └── index.tsx ├── segmented │ ├── demo │ │ ├── basic.md │ │ ├── vertical.md │ │ ├── disabled.md │ │ ├── dynamic.md │ │ ├── controlled.md │ │ ├── componentToken.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 ├── watermark │ ├── demo │ │ ├── basic.md │ │ ├── portal.md │ │ └── custom.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── card │ ├── demo │ │ ├── tabs.md │ │ ├── grid-card.md │ │ ├── component-token.md │ │ ├── simple.md │ │ ├── border-less.md │ │ ├── in-column.md │ │ ├── meta.md │ │ ├── loading.md │ │ └── flexible-content.md │ └── __tests__ │ │ ├── demo.test.ts │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── cascader │ ├── demo │ │ ├── fields-name.md │ │ ├── panel.md │ │ ├── custom-trigger.md │ │ ├── size.md │ │ ├── default-value.md │ │ ├── render-panel.md │ │ ├── basic.md │ │ ├── change-on-select.md │ │ ├── hover.md │ │ ├── custom-render.md │ │ ├── custom-dropdown.md │ │ ├── placement.md │ │ ├── disabled-option.md │ │ └── showCheckedStrategy.md │ └── __tests__ │ │ └── demo-extend.test.ts ├── config-provider │ ├── style │ │ └── index.ts │ └── demo │ │ ├── size.md │ │ ├── warning.md │ │ ├── theme.md │ │ └── prefixCls.md ├── date-picker │ └── demo │ │ ├── filled-debug.md │ │ ├── multiple-debug.md │ │ ├── component-token.md │ │ ├── components.md │ │ ├── render-panel.md │ │ ├── range-picker.md │ │ ├── buddhist-era.md │ │ ├── suffix.md │ │ ├── basic.md │ │ ├── switchable.md │ │ ├── extra-footer.md │ │ ├── mode.md │ │ ├── placement.md │ │ ├── date-range.md │ │ └── variant.md ├── skeleton │ ├── demo │ │ ├── active.md │ │ ├── basic.md │ │ ├── componentToken.md │ │ ├── list.md │ │ ├── children.md │ │ ├── complex.md │ │ ├── element.md │ │ ├── basic.tsx │ │ └── active.tsx │ ├── __tests__ │ │ └── demo-extend.test.ts │ └── index.tsx ├── slider │ ├── demo │ │ ├── vertical.md │ │ ├── multiple.md │ │ ├── component-token.md │ │ ├── reverse.md │ │ ├── editable.md │ │ └── draggableTrack.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ ├── demo.test.ts │ │ └── image.test.ts ├── spin │ ├── demo │ │ ├── tip.md │ │ ├── basic.md │ │ ├── custom-indicator.md │ │ ├── basic.tsx │ │ └── nested.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── tree-select │ ├── demo │ │ ├── basic.md │ │ ├── suffix.md │ │ ├── component-token.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 │ │ ├── config.md │ │ └── 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 │ │ ├── uz_UZ.ts │ │ ├── vi_VN.ts │ │ ├── zh_CN.ts │ │ ├── zh_TW.ts │ │ └── kmr_IQ.ts │ ├── demo │ │ ├── component-token.md │ │ ├── customize-header.md │ │ ├── basic.md │ │ ├── lunar.md │ │ ├── select.md │ │ └── card.md │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── image.test.ts ├── drawer │ ├── demo │ │ ├── no-mask.md │ │ ├── basic-right.md │ │ ├── loading.md │ │ ├── component-token.md │ │ ├── config-provider.md │ │ ├── render-panel.md │ │ ├── scroll-debug.md │ │ └── placement.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── image.test.ts ├── dropdown │ ├── demo │ │ ├── arrow.md │ │ ├── basic.md │ │ ├── placement.md │ │ ├── extra.md │ │ ├── item.md │ │ ├── sub-menu.md │ │ ├── icon-debug.md │ │ ├── sub-menu-debug.md │ │ ├── render-panel.md │ │ └── trigger.md │ └── __tests__ │ │ └── demo-extend.test.ts ├── typography │ ├── demo │ │ ├── basic.md │ │ ├── suffix.md │ │ ├── editable.md │ │ ├── ellipsis-debug.md │ │ ├── title.md │ │ ├── componentToken-debug.md │ │ ├── paragraph-debug.md │ │ ├── ellipsis-controlled.md │ │ ├── text.md │ │ └── copyable.md │ └── __tests__ │ │ └── demo-extend.test.ts ├── time-picker │ ├── demo │ │ ├── variant.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 ├── back-top │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── col │ ├── style │ │ └── index.ts │ └── index.tsx ├── collapse │ ├── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts │ └── demo │ │ ├── borderless.md │ │ ├── mix.md │ │ ├── component-token.md │ │ ├── ghost.md │ │ ├── extra.md │ │ ├── accordion.md │ │ └── custom.md ├── divider │ ├── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts │ └── demo │ │ ├── component-token.md │ │ ├── customize-style.md │ │ ├── vertical.md │ │ ├── horizontal.md │ │ ├── plain.md │ │ └── with-text.md ├── row │ ├── style │ │ └── index.ts │ └── index.tsx ├── transfer │ ├── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts │ └── demo │ │ ├── search.md │ │ ├── component-token.md │ │ ├── large-data.md │ │ ├── custom-select-all-labels.md │ │ ├── oneWay.md │ │ └── table-transfer.md ├── upload │ ├── demo │ │ ├── debug-disabled.md │ │ ├── component-token.md │ │ ├── picture-circle.md │ │ ├── upload-with-aliyun-oss.md │ │ ├── file-type.md │ │ ├── customize-progress-bar.md │ │ ├── basic.md │ │ ├── defaultFileList.md │ │ └── upload-manually.md │ └── __tests__ │ │ ├── demo.test.ts │ │ └── demo-extend.test.ts ├── message │ ├── demo │ │ ├── component-token.md │ │ ├── other.md │ │ ├── render-panel.md │ │ ├── update.md │ │ ├── duration.md │ │ ├── info.md │ │ ├── custom-style.md │ │ └── loading.md │ └── __tests__ │ │ └── demo-extend.test.ts ├── notification │ ├── demo │ │ ├── update.md │ │ ├── custom-icon.md │ │ ├── render-panel.md │ │ ├── with-icon.md │ │ ├── with-btn.md │ │ ├── show-with-progress.md │ │ ├── basic.md │ │ └── custom-style.md │ └── __tests__ │ │ └── demo-extend.test.ts ├── grid │ ├── __tests__ │ │ ├── demo-extend.test.ts │ │ ├── image.test.ts │ │ └── demo.test.ts │ └── demo │ │ └── flex-stretch.md ├── icon │ └── __tests__ │ │ ├── demo-extend.test.ts │ │ └── demo.test.ts ├── _util │ └── isNumeric.ts └── version │ └── index.tsx ├── typings ├── index.d.ts └── jest.d.ts ├── index.js ├── tests ├── __mocks__ │ └── rc-virtual-list.ts └── dekko │ └── index.test.js ├── .lintstagedrc.json └── .gitpod.yml /.npmignore: -------------------------------------------------------------------------------- 1 | ~* 2 | -------------------------------------------------------------------------------- /.dumi/preset/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | ant.design 2 | -------------------------------------------------------------------------------- /.surgeignore: -------------------------------------------------------------------------------- 1 | !.dumi* 2 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | lint-staged 2 | -------------------------------------------------------------------------------- /components/statistic/interface.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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/flex/demo/align.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 设置对齐方式。 4 | 5 | ## en-US 6 | 7 | Set align. 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/modal/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 基础弹框。 4 | 5 | ## en-US 6 | 7 | Basic modal. 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/descriptions/demo/padding.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 间距 4 | 5 | ## en-US 6 | 7 | padding 8 | -------------------------------------------------------------------------------- /components/empty/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 简单的展示。 4 | 5 | ## en-US 6 | 7 | Simplest Usage. 8 | -------------------------------------------------------------------------------- /components/flex/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法。 4 | 5 | ## en-US 6 | 7 | The basic usage. 8 | -------------------------------------------------------------------------------- /components/flex/demo/debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试专用。 4 | 5 | ## en-US 6 | 7 | Use for debug. 8 | -------------------------------------------------------------------------------- /components/flex/demo/wrap.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自动换行。 4 | 5 | ## en-US 6 | 7 | Auto wrap line. 8 | -------------------------------------------------------------------------------- /components/mentions/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 基本使用。 4 | 5 | ## en-US 6 | 7 | Basic usage. 8 | -------------------------------------------------------------------------------- /components/modal/demo/dark.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 第一个对话框。 4 | 5 | ## en-US 6 | 7 | Basic modal. 8 | -------------------------------------------------------------------------------- /components/modal/demo/nested.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 嵌套弹框 4 | 5 | ## en-US 6 | 7 | Nested 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/qr-code/demo/base.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 基本用法。 4 | 5 | ## en-US 6 | 7 | Basic Usage. 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 | -------------------------------------------------------------------------------- /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/demo/align.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 默认对齐效果。 4 | 5 | ## en-US 6 | 7 | Align without Space. 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<() => void> = []; 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/qr-code/demo/Popover.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 带气泡卡片的例子。 4 | 5 | ## en-US 6 | 7 | With Popover. 8 | -------------------------------------------------------------------------------- /components/qr-code/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/splitter/demo/multiple.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 多面板 4 | 5 | ## en-US 6 | 7 | Multiple panels. 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 | -------------------------------------------------------------------------------- /components/alert/demo/action.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以在右上角自定义操作项。 4 | 5 | ## en-US 6 | 7 | Custom action. 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/debug-color-variant.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试使用 4 | 5 | ## en-US 6 | 7 | Debug usage 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/jsx.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | JSX 风格演示。 4 | 5 | ## en-US 6 | 7 | JSX Style Demo. 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/image/demo/nested.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 嵌套在弹框当中使用 4 | 5 | ## en-US 6 | 7 | Nested in the modal 8 | -------------------------------------------------------------------------------- /components/input/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | token debug 4 | 5 | ## en-US 6 | 7 | token debug 8 | -------------------------------------------------------------------------------- /components/input/demo/otp.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 一次性密码输入框。 4 | 5 | ## en-US 6 | 7 | One time password input. 8 | -------------------------------------------------------------------------------- /components/input/demo/textarea.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 用于多行输入。 4 | 5 | ## en-US 6 | 7 | For multi-line input. 8 | -------------------------------------------------------------------------------- /components/input/demo/variant.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Input 形态变体。 4 | 5 | ## en-US 6 | 7 | Variants of 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/qr-code/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/segmented/demo/vertical.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 垂直方向。 4 | 5 | ## en-US 6 | 7 | Make it vertical. 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/tree/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 组件 Token 4 | 5 | ## en-US 6 | 7 | Component Token 8 | -------------------------------------------------------------------------------- /components/watermark/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 最简单的用法。 4 | 5 | ## en-US 6 | 7 | The most basic usage. 8 | -------------------------------------------------------------------------------- /tests/__mocks__/rc-virtual-list.ts: -------------------------------------------------------------------------------- 1 | import List from 'rc-virtual-list/lib/mock'; 2 | 3 | export default List; 4 | -------------------------------------------------------------------------------- /components/breadcrumb/demo/withParams.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 带有路由参数的。 4 | 5 | ## en-US 6 | 7 | With route params. 8 | -------------------------------------------------------------------------------- /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/config-provider/style/index.ts: -------------------------------------------------------------------------------- 1 | export { useResetIconStyle as default } from '../../theme/internal'; 2 | -------------------------------------------------------------------------------- /components/date-picker/demo/filled-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Filled Debug 4 | 5 | ## en-US 6 | 7 | Filled Debug 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/filled-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Filled Debug. 4 | 5 | ## en-US 6 | 7 | Filled Debug. 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/layout/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 组件 Token 4 | 5 | ## en-US 6 | 7 | Component Token 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/rate/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调试使用。 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 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/select/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 组件 Token 4 | 5 | ## en-US 6 | 7 | Component Token 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/spin/demo/tip.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义描述文案。 4 | 5 | ## en-US 6 | 7 | Customize the description text. 8 | -------------------------------------------------------------------------------- /components/splitter/demo/vertical.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用垂直布局。 4 | 5 | ## en-US 6 | 7 | Use vertical layout. 8 | -------------------------------------------------------------------------------- /components/statistic/demo/countdown.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 倒计时组件。 4 | 5 | ## en-US 6 | 7 | Countdown component. 8 | -------------------------------------------------------------------------------- /components/table/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 组件 Token 4 | 5 | ## en-US 6 | 7 | Component Token 8 | -------------------------------------------------------------------------------- /components/table/demo/custom-empty.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义空状态。 4 | 5 | ## en-US 6 | 7 | Custom empty status. 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 | -------------------------------------------------------------------------------- /components/tree/demo/multiple-line.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 多行树节点。 4 | 5 | ## en-US 6 | 7 | Multiple line tree node. 8 | -------------------------------------------------------------------------------- /tests/dekko/index.test.js: -------------------------------------------------------------------------------- 1 | require('./dist.test'); 2 | require('./lib-es.test'); 3 | require('./use-client.test'); 4 | -------------------------------------------------------------------------------- /.dumi/pages/theme-editor-cn/index.ts: -------------------------------------------------------------------------------- 1 | import ThemeEditor from '../theme-editor'; 2 | 3 | export default ThemeEditor; 4 | -------------------------------------------------------------------------------- /.dumi/theme/slots/Header/interface.ts: -------------------------------------------------------------------------------- 1 | export interface SharedProps { 2 | isZhCN: boolean; 3 | isRTL: boolean; 4 | } 5 | -------------------------------------------------------------------------------- /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/allowClear.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义清除按钮 4 | 5 | ## en-US 6 | 7 | Customize clear button 8 | -------------------------------------------------------------------------------- /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/uz_UZ.ts: -------------------------------------------------------------------------------- 1 | import uzUZ from '../../date-picker/locale/uz_UZ'; 2 | 3 | export default uzUZ; 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/arrows.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 显示切换箭头。 4 | 5 | ## en-US 6 | 7 | Show the arrows for switching. 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/arrow.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以展示一个箭头。 4 | 5 | ## en-US 6 | 7 | You could display an arrow. 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-number/demo/filled-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Filled Debug. 4 | 5 | ## en-US 6 | 7 | Filled Debug. 8 | -------------------------------------------------------------------------------- /components/input-number/demo/variant.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 形态变体。 4 | 5 | ## en-US 6 | 7 | Variants of InputNumber. 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/mentions/demo/allowClear.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义清除按钮。 4 | 5 | ## en-US 6 | 7 | Customize clear button. 8 | -------------------------------------------------------------------------------- /components/mentions/demo/variant.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Mentions 形态变体。 4 | 5 | ## en-US 6 | 7 | Variants of Mentions. 8 | -------------------------------------------------------------------------------- /components/pagination/demo/controlled.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 受控制的页码。 4 | 5 | ## en-US 6 | 7 | Controlled page number. 8 | -------------------------------------------------------------------------------- /components/popover/demo/arrow.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `arrow` 属性隐藏箭头。 4 | 5 | ## en-US 6 | 7 | Hide arrow by `arrow`. 8 | -------------------------------------------------------------------------------- /components/qr-code/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/search-box.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 搜索和远程数据结合。 4 | 5 | ## en-US 6 | 7 | Search with remote data. 8 | -------------------------------------------------------------------------------- /components/slider/demo/multiple.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 范围多个点组合。 4 | 5 | ## en-US 6 | 7 | Multiple handles combination. 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/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/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 组件 Token 4 | 5 | ## en-US 6 | 7 | Component Token 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/alert/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义组件 Token。 4 | 5 | ## en-US 6 | 7 | Custom component token. 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/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/cascader/demo/panel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 适用于一些需要内嵌适用的场景。 4 | 5 | ## en-US 6 | 7 | Used for inline view case. 8 | -------------------------------------------------------------------------------- /components/color-picker/demo/disabled-alpha.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 禁用颜色透明度。 4 | 5 | ## en-US 6 | 7 | Disabled color alpha. 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/drawer/demo/loading.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 设置抽屉加载状态。 4 | 5 | ## en-US 6 | 7 | Set the loading status of Drawer. 8 | -------------------------------------------------------------------------------- /components/dropdown/demo/extra.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 带有快捷方式的下拉菜单。 4 | 5 | ## en-US 6 | 7 | The dropdown menu with shortcut. 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/flex/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('flex'); 4 | -------------------------------------------------------------------------------- /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/image/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义组件 Token。 4 | 5 | ## en-US 6 | 7 | Custom component token. 8 | -------------------------------------------------------------------------------- /components/list/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义组件 Token。 4 | 5 | ## en-US 6 | 7 | Custom component token. 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/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 组件 Token debug。 4 | 5 | ## en-US 6 | 7 | Debug Component Token. 8 | -------------------------------------------------------------------------------- /components/menu/demo/horizontal.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 水平的顶部导航菜单。 4 | 5 | ## en-US 6 | 7 | Horizontal top navigation menu. 8 | -------------------------------------------------------------------------------- /components/modal/demo/loading.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 设置对话框加载状态。 4 | 5 | ## en-US 6 | 7 | Set the loading status of Modal. 8 | -------------------------------------------------------------------------------- /components/radio/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 组件 token debug 4 | 5 | ## en-US 6 | 7 | Component Token debug. 8 | -------------------------------------------------------------------------------- /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/componentToken.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义组件 Token。 4 | 5 | ## en-US 6 | 7 | Custom component token. 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/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义组件 Token。 4 | 5 | ## en-US 6 | 7 | Custom component token. 8 | -------------------------------------------------------------------------------- /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/variant.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 无边框样式。 4 | 5 | ## en-US 6 | 7 | Bordered-less style component. 8 | -------------------------------------------------------------------------------- /components/tooltip/demo/disabled-children.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Disabled 子元素。 4 | 5 | ## en-US 6 | 7 | Disabled wrapper. 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/typography/demo/editable.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 提供可编辑的交互能力。 4 | 5 | ## en-US 6 | 7 | Makes Typography editable. 8 | -------------------------------------------------------------------------------- /.dumi/loading.js: -------------------------------------------------------------------------------- 1 | // must be .js file, can't modify to be .ts file! 2 | 3 | export { default } from './theme/common/Loading'; 4 | -------------------------------------------------------------------------------- /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/config-provider/demo/warning.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 调整 warning 策略。 4 | 5 | ## en-US 6 | 7 | Adjust warning strategy. 8 | -------------------------------------------------------------------------------- /components/date-picker/demo/multiple-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 非响应式间距测试。 4 | 5 | ## en-US 6 | 7 | Non-responsive spacing test. 8 | -------------------------------------------------------------------------------- /components/divider/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('divider'); 4 | -------------------------------------------------------------------------------- /components/divider/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 组件 Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 8 | -------------------------------------------------------------------------------- /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/input-number/demo/change-on-wheel.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 启用鼠标滚轮控制。 4 | 5 | ## en-US 6 | 7 | Control with mouse wheel. 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/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 组件 Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 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/qr-code/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('qr-code'); 4 | -------------------------------------------------------------------------------- /components/qr-code/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/style/index.ts: -------------------------------------------------------------------------------- 1 | // Compatible for babel-plugin-import 2 | 3 | /* istanbul ignore next */ 4 | export default {}; 5 | -------------------------------------------------------------------------------- /components/segmented/demo/componentToken.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义组件 Token。 4 | 5 | ## en-US 6 | 7 | Custom component token. 8 | -------------------------------------------------------------------------------- /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/splitter/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('splitter'); 4 | -------------------------------------------------------------------------------- /components/table/demo/hidden-columns.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `hidden` 隐藏列。 4 | 5 | ## en-US 6 | 7 | Hide columns with `hidden`. 8 | -------------------------------------------------------------------------------- /components/tag/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 8 | -------------------------------------------------------------------------------- /components/timeline/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('timeline'); 4 | -------------------------------------------------------------------------------- /components/timeline/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义组件 Token。 4 | 5 | ## en-US 6 | 7 | Custom component token. 8 | -------------------------------------------------------------------------------- /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 levels. 8 | -------------------------------------------------------------------------------- /components/upload/demo/debug-disabled.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Disabled Style Debug. 4 | 5 | ## en-US 6 | 7 | Disabled Style Debug. 8 | -------------------------------------------------------------------------------- /components/watermark/demo/portal.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 在 Modal 与 Drawer 中使用。 4 | 5 | ## en-US 6 | 7 | Use in Modal and Drawer. 8 | -------------------------------------------------------------------------------- /.dumi/theme/builtins/Sandpack/Sandpack.ts: -------------------------------------------------------------------------------- 1 | import { Sandpack } from '@codesandbox/sandpack-react'; 2 | 3 | export default Sandpack; 4 | -------------------------------------------------------------------------------- /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/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug 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/avatar/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug 8 | -------------------------------------------------------------------------------- /components/badge/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug 8 | -------------------------------------------------------------------------------- /components/button/demo/linear-gradient.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义为渐变背景按钮。 4 | 5 | ## en-US 6 | 7 | Buttons with a gradient background. 8 | -------------------------------------------------------------------------------- /components/calendar/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 8 | -------------------------------------------------------------------------------- /components/card/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 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/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 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/collapse/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug 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/dropdown/demo/sub-menu-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 传入的菜单里有多个层级。 4 | 5 | ## en-US 6 | 7 | The menu has multiple levels. 8 | -------------------------------------------------------------------------------- /components/form/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 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/imageRender.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以自定义预览内容。 4 | 5 | ## en-US 6 | 7 | You can customize the preview content. 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/mentions/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 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/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 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/slider/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 8 | -------------------------------------------------------------------------------- /components/splitter/demo/size.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 初始化面板大小,面板大小限制。 4 | 5 | ## en-US 6 | 7 | Initialize panel size, panel size limit. 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/tabs/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 8 | -------------------------------------------------------------------------------- /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/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 8 | -------------------------------------------------------------------------------- /components/typography/demo/componentToken-debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 自定义组件 Token。 4 | 5 | ## en-US 6 | 7 | Custom component token. 8 | -------------------------------------------------------------------------------- /components/upload/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 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/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/breadcrumb/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 8 | -------------------------------------------------------------------------------- /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/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/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/date-picker/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 8 | -------------------------------------------------------------------------------- /components/descriptions/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('descriptions'); 4 | -------------------------------------------------------------------------------- /components/descriptions/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 8 | -------------------------------------------------------------------------------- /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/flex/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('flex'); 4 | -------------------------------------------------------------------------------- /components/flex/demo/combination.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 嵌套使用,可以实现更复杂的布局。 4 | 5 | ## en-US 6 | 7 | Nesting can achieve more complex layouts. 8 | -------------------------------------------------------------------------------- /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-number/demo/presuffix.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 在输入框上添加前缀或后缀图标。 4 | 5 | ## en-US 6 | 7 | Add a prefix or suffix inside input. 8 | -------------------------------------------------------------------------------- /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/pagination/demo/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | Component Token Debug. 4 | 5 | ## en-US 6 | 7 | Component Token Debug. 8 | -------------------------------------------------------------------------------- /components/popover/demo/placement.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 位置有十二个方向。 4 | 5 | ## en-US 6 | 7 | There are 12 `placement` options available. 8 | -------------------------------------------------------------------------------- /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/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/tooltip/demo/placement.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 位置有 12 个方向。 4 | 5 | ## en-US 6 | 7 | There are 12 placement options available. 8 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /.dumi/theme/builtins/ColorPalettes/index.ts: -------------------------------------------------------------------------------- 1 | import ColorPalettes from '../../common/Color/ColorPalettes'; 2 | 3 | export default ColorPalettes; 4 | -------------------------------------------------------------------------------- /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/button/demo/icon.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可以通过 `icon`属性添加图标。 4 | 5 | ## en-US 6 | 7 | You can add an icon using the `icon` property. 8 | -------------------------------------------------------------------------------- /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/date-picker/demo/components.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `components` 替换对应面板。 4 | 5 | ## en-US 6 | 7 | Replace panel with `components`. 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/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/image/demo/preview-imgInfo.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 在渲染函数中获取图片的信息。 4 | 5 | ## en-US 6 | 7 | Gets image info in the render function. 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/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/qr-code/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('qr-code'); 4 | -------------------------------------------------------------------------------- /components/qr-code/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/splitter/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('splitter'); 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/transfer/demo/large-data.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 大数据下使用分页。 4 | 5 | ## en-US 6 | 7 | Store a large amount of items with pagination. 8 | -------------------------------------------------------------------------------- /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/typography/demo/ellipsis-controlled.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 受控多行文本省略。 4 | 5 | ## en-US 6 | 7 | Controlled multi line text omission. 8 | -------------------------------------------------------------------------------- /components/typography/demo/text.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 内置不同样式的文本以及超链接组件。 4 | 5 | ## en-US 6 | 7 | Provides multiple types of text and a link. 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/app/demo/config.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 对 `message`、`notification` 进行配置。 4 | 5 | ## en-US 6 | 7 | Config for `message`, `notification`. 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/lunar.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 展示农历、节气等信息。 4 | 5 | ## en-US 6 | 7 | Display lunar calendar, solar terms and other information. 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/change-on-select.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 这种交互允许只选中父级选项。 4 | 5 | ## en-US 6 | 7 | Allows the selection of only parent options. 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/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/space/demo/compact.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 Space.Compact 让表单组件之间紧凑连接且合并边框。 4 | 5 | ## en-US 6 | 7 | Compact Mode for form component. 8 | -------------------------------------------------------------------------------- /components/splitter/demo/debug.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 面板 2 宽度为 0,面板 3 禁止调整大小。 4 | 5 | ## en-US 6 | 7 | Panel 2 width is 0, panel 3 is not resizable. 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/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/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/typography/demo/copyable.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 提供可复制的交互能力。 4 | 5 | ## en-US 6 | 7 | Makes Typography copyable with the click of a button. 8 | -------------------------------------------------------------------------------- /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/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/component-token.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 组件 Token,模仿 MUI 风格的 Button 4 | 5 | ## en-US 6 | 7 | Component Token. Button with MUI style. 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/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/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/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/progress/demo/segment.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 分段展示进度,可以用于细化进度语义。 4 | 5 | ## en-US 6 | 7 | Show several parts of progress with different status. 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/select/demo/tags.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 标签形式的多选框,用户亦可自由输入。 4 | 5 | ## en-US 6 | 7 | Allow user to select tags from list or input custom tag. 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/upload/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('upload', { skip: ['crop-image.tsx'] }); 4 | -------------------------------------------------------------------------------- /components/version/index.tsx: -------------------------------------------------------------------------------- 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/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/button/demo/danger.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 在 4.0 之后,危险成为一种按钮属性而不是按钮类型。 4 | 5 | ## en-US 6 | 7 | The `danger` is a property of buttons after antd 4.0. 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/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 to disabled, only works for antd components. 8 | -------------------------------------------------------------------------------- /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/notification/demo/show-with-progress.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 显示自动关闭通知框的进度条。 4 | 5 | ## en-US 6 | 7 | Show progress bar for auto-closing notification. 8 | -------------------------------------------------------------------------------- /components/row/index.tsx: -------------------------------------------------------------------------------- 1 | import { Row } from '../grid'; 2 | import type { RowProps } from '../grid'; 3 | 4 | export type { RowProps }; 5 | export default Row; 6 | -------------------------------------------------------------------------------- /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/select/demo/search-filter-option.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `filterOption` 自定义搜索。 4 | 5 | ## en-US 6 | 7 | Customize search using `filterOption`. 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 make Transfer the one way style. 8 | -------------------------------------------------------------------------------- /components/transfer/demo/table-transfer.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 Table 组件作为自定义渲染列表。 4 | 5 | ## en-US 6 | 7 | Customize the render list with a Table component. 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 | The `block` property will make a 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/date-picker/demo/buddhist-era.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `locale` 配置支持特殊的年历格式。 4 | 5 | ## en-US 6 | 7 | Use `locale` to support special calendar format. 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/float-button/demo/type.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `type` 改变悬浮按钮的类型。 4 | 5 | ## en-US 6 | 7 | Change the type of the FloatButton with the `type` property. 8 | -------------------------------------------------------------------------------- /components/form/demo/dynamic-form-items-complex.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 多个 Form.List 嵌套的使用场景。 4 | 5 | ## en-US 6 | 7 | Multiple Form.List nested usage scenarios. 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/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/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/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/tag/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('tag', { 4 | skip: ['component-token.tsx'], 5 | }); 6 | -------------------------------------------------------------------------------- /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/tooltip/demo/disabled.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过设置 `title=""` 可以禁用 Tooltip。 4 | 5 | ## en-US 6 | 7 | The Tooltip can be disabled by setting `title=""`. 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 | -------------------------------------------------------------------------------- /components/app/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 获取 `message`、`notification`、`modal` 实例。 4 | 5 | ## en-US 6 | 7 | Get instance for `message`, `notification`, `modal`. 8 | -------------------------------------------------------------------------------- /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/calendar/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('calendar', { skip: ['lunar.tsx'] }); 4 | -------------------------------------------------------------------------------- /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/collapse/demo/accordion.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 手风琴模式,始终只有一个面板处在激活状态。 4 | 5 | ## en-US 6 | 7 | In accordion mode, only one panel can be expanded at a time. 8 | -------------------------------------------------------------------------------- /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 a panel. 8 | -------------------------------------------------------------------------------- /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/divider/demo/vertical.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `type="vertical"` 设置为行内的垂直分割线。 4 | 5 | ## en-US 6 | 7 | Use `type="vertical"` to make the divider vertical. 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/shape.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `shape` 设置不同的形状。 4 | 5 | ## en-US 6 | 7 | Change the shape of the FloatButton with the `shape` property. 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/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/slider/demo/editable.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 点击添加节点,拖出或者按键删除节点。 4 | 5 | ## en-US 6 | 7 | Click to add a node, drag out or press the key to delete the node. 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/splitter/demo/group.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 复杂组合面板,快捷折叠,禁止改变大小 4 | 5 | ## en-US 6 | 7 | Complex combination panel, quick folding, prohibited from changing size 8 | -------------------------------------------------------------------------------- /components/table/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('table', { skip: ['ajax.tsx', 'virtual-list.tsx'] }); 4 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /.dumi/theme/builtins/ColorPaletteToolDark/index.ts: -------------------------------------------------------------------------------- 1 | import ColorPaletteToolDark from '../../common/Color/ColorPaletteToolDark'; 2 | 3 | export default ColorPaletteToolDark; 4 | -------------------------------------------------------------------------------- /.lintstagedrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "*.{ts,tsx,js,jsx,css,mjs,json}": ["biome check --write --no-errors-on-unmatched"], 3 | "*.{md,yml}": ["prettier --ignore-unknown --write"] 4 | } 5 | -------------------------------------------------------------------------------- /components/app/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('app', () => { 4 | imageDemoTest('app'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/button/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('button', { 4 | skip: ['component-token.tsx'], 5 | }); 6 | -------------------------------------------------------------------------------- /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/color-picker/demo/line-gradient.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `mode` 设置颜色为单一颜色还是渐变色。 4 | 5 | ## en-US 6 | 7 | Set the color to a single or a gradient color via `mode`. 8 | -------------------------------------------------------------------------------- /components/color-picker/demo/panel-render.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `panelRender` 自由控制面板的渲染。 4 | 5 | ## en-US 6 | 7 | Rendering of the free control panel via `panelRender`. 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 | A Divider is `horizontal` by default. You can add text within Divider. 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/validate-scroll-to-field.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 校验失败时/手动滚动到错误字段。 4 | 5 | ## en-US 6 | 7 | When validation fails or manually scroll to the error field. 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/message/demo/info.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 静态方法无法消费 Context,推荐优先使用 Hooks 版本。 4 | 5 | ## en-US 6 | 7 | Static methods cannot consume Context. Please use hooks first. 8 | -------------------------------------------------------------------------------- /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/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/switch/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('switch', { 4 | skip: ['component-token.tsx'], 5 | }); 6 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /.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/alert/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('alert', { skip: ['loop-banner.tsx', 'component-token.tsx'] }); 4 | -------------------------------------------------------------------------------- /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/float-button/demo/tooltip.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 设置 tooltip 属性,即可开启气泡卡片。 4 | 5 | ## en-US 6 | 7 | Setting the `tooltip` property shows the FloatButton with a tooltip. 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/notification/demo/basic.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 静态方法无法消费 Context,推荐优先使用 Hooks 版本。 4 | 5 | ## en-US 6 | 7 | Static methods cannot consume Context. Please use hooks first. 8 | -------------------------------------------------------------------------------- /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/option-render.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 使用 `optionRender` 自定义渲染下拉选项。 4 | 5 | ## en-US 6 | 7 | Use `optionRender` to customize the rendering dropdown options 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/tabs/demo/custom-indicator.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 设置 `indicator` 属性,自定义指示条宽度和对齐方式。 4 | 5 | ## en-US 6 | 7 | Set `indicator` prop to custom indicator size and align. 8 | -------------------------------------------------------------------------------- /components/tag/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('tag', { 4 | skip: ['component-token.tsx'], 5 | }); 6 | -------------------------------------------------------------------------------- /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/col/index.tsx: -------------------------------------------------------------------------------- 1 | import { Col } from '../grid'; 2 | import type { ColProps, ColSize } from '../grid'; 3 | 4 | export type { ColProps, ColSize }; 5 | 6 | export default Col; 7 | -------------------------------------------------------------------------------- /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/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 the `plain` property. 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/flex/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('flex image', () => { 4 | imageDemoTest('flex'); 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/input/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('input', { 4 | skip: ['component-token.tsx'], 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.tsx: -------------------------------------------------------------------------------- 1 | import Pagination from './Pagination'; 2 | 3 | export type { PaginationConfig, PaginationProps } from './Pagination'; 4 | export default Pagination; 5 | -------------------------------------------------------------------------------- /components/popconfirm/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('popconfirm', { 4 | skip: ['shift.tsx'], 5 | }); 6 | -------------------------------------------------------------------------------- /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/select/demo/placement-debug.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/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/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/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('tree-select', { skip: ['component-token.tsx'] }); 4 | -------------------------------------------------------------------------------- /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-manually.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | `beforeUpload` 返回 `false` 后,手动上传文件。 4 | 5 | ## en-US 6 | 7 | Upload files manually after `beforeUpload` returns `false`. 8 | -------------------------------------------------------------------------------- /.dumi/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "resolveJsonModule": true 5 | }, 6 | "include": ["**/*", "../typings/index.d.ts"] 7 | } 8 | -------------------------------------------------------------------------------- /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/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/button/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('button', { 4 | skip: ['component-token.tsx'], 5 | }); 6 | -------------------------------------------------------------------------------- /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/cascader/demo/showCheckedStrategy.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过设置 `showCheckedStrategy` 选择回填方式。 4 | 5 | ## en-US 6 | 7 | Shows a selected item in a box using `showCheckedStrategy`. 8 | -------------------------------------------------------------------------------- /components/date-picker/demo/date-range.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 通过 `minDate` 和 `maxDate` 限定日期范围。 4 | 5 | ## en-US 6 | 7 | Limit the range of available dates by using `minDate` and `maxDate`. 8 | -------------------------------------------------------------------------------- /components/date-picker/demo/variant.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | 可选 `outlined` `filled` `borderless` 三种形态。 4 | 5 | ## en-US 6 | 7 | There are three variants: `outlined` `filled` and `borderless`. 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/dropdown/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('dropdown', { 4 | skip: ['sub-menu-debug.tsx'], 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/grid/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('grid', { 4 | testRootProps: false, 5 | nameCheckPathOnly: true, 6 | }); 7 | -------------------------------------------------------------------------------- /components/icon/__tests__/demo.test.ts: -------------------------------------------------------------------------------- 1 | import demoTest from '../../../tests/shared/demoTest'; 2 | 3 | demoTest('icon', { 4 | testRootProps: false, 5 | nameCheckPathOnly: true, 6 | }); 7 | -------------------------------------------------------------------------------- /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/qr-code/__tests__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('QRCode image', () => { 4 | imageDemoTest('qr-code'); 5 | }); 6 | -------------------------------------------------------------------------------- /components/radio/demo/radiogroup-block.md: -------------------------------------------------------------------------------- 1 | ## zh-CN 2 | 3 | `block` 属性将使 Radio.Group 撑满父容器。 4 | 5 | ## en-US 6 | 7 | The `block` property will make a Radio.Group fit to its parent width. 8 | -------------------------------------------------------------------------------- /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__/image.test.ts: -------------------------------------------------------------------------------- 1 | import { imageDemoTest } from '../../../tests/shared/imageTest'; 2 | 3 | describe('Select image', () => { 4 | imageDemoTest('select'); 5 | }); 6 | -------------------------------------------------------------------------------- /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 by setting `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/switch/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('switch', { 4 | skip: ['component-token.tsx'], 5 | }); 6 | -------------------------------------------------------------------------------- /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/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/alert/__tests__/demo-extend.test.ts: -------------------------------------------------------------------------------- 1 | import { extendTest } from '../../../tests/shared/demoTest'; 2 | 3 | extendTest('alert', { skip: ['loop-banner.tsx', 'component-token.tsx'] }); 4 | -------------------------------------------------------------------------------- /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 | --------------------------------------------------------------------------------