react-kui 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AI.en-US.md +23 -0
- package/AI.md +76 -0
- package/LICENSE +21 -21
- package/README.zh-CN.md +142 -0
- package/ai/behaviors.json +16 -0
- package/ai/cli.mjs +27 -0
- package/ai/evals/README.md +59 -0
- package/ai/evals/cases.json +207 -0
- package/ai/evals/config.json +4 -0
- package/ai/evals/evaluate.mjs +267 -0
- package/ai/evals/run.mjs +118 -0
- package/ai/kui-components.json +58292 -0
- package/ai/kui-components.schema.json +143 -0
- package/ai/mcp.mjs +290 -0
- package/ai/skills/react-kui/SKILL.md +16 -0
- package/ai/skills/react-kui/references/components.md +9 -0
- package/ai/skills/react-kui/references/mcp.md +14 -0
- package/ai/templates/form.tsx +69 -0
- package/ai/templates/index.json +23 -0
- package/ai/templates/modal-editor.tsx +80 -0
- package/ai/templates/table.tsx +85 -0
- package/ai/validate.d.mts +16 -0
- package/ai/validate.mjs +184 -0
- package/es/_virtual/_rolldown/runtime.js +21 -0
- package/es/affix/index.js +222 -0
- package/es/alert/index.js +71 -0
- package/es/anchor/anchor-context.js +13 -0
- package/es/anchor/anchor-link.js +121 -0
- package/es/anchor/anchor.js +431 -0
- package/es/auto-complete/index.js +692 -0
- package/es/avatar/avatar-group-context.js +13 -0
- package/es/avatar/avatar-group.js +145 -0
- package/es/avatar/avatar.js +204 -0
- package/es/back-top/index.js +224 -0
- package/es/badge/index.js +66 -0
- package/es/base/teleport.js +83 -0
- package/es/base/transition-props.js +56 -0
- package/es/base/transition.js +108 -0
- package/es/breadcrumb/breadcrumb-context.js +13 -0
- package/es/breadcrumb/breadcrumb-item.js +128 -0
- package/es/breadcrumb/breadcrumb.js +75 -0
- package/es/button/button-group-context.js +13 -0
- package/es/button/button-group.js +100 -0
- package/es/button/button.js +99 -0
- package/es/calendar/index.js +271 -0
- package/es/card/index.js +157 -0
- package/es/carousel/carousel-context.js +17 -0
- package/es/carousel/carousel-item.js +71 -0
- package/es/carousel/carousel.js +453 -0
- package/es/cascader/index.js +435 -0
- package/es/check-card/check-card-group.js +211 -0
- package/es/check-card/check-card.js +326 -0
- package/es/check-card/context.js +13 -0
- package/es/checkbox/checkbox-group-context.js +13 -0
- package/es/checkbox/checkbox-group.js +168 -0
- package/es/checkbox/checkbox.js +270 -0
- package/es/checkbox/index.js +14 -0
- package/es/collapse/collapse-panel.js +233 -0
- package/es/collapse/collapse.js +186 -0
- package/es/color-picker/alpha.js +131 -0
- package/es/color-picker/hue.js +111 -0
- package/es/color-picker/index.js +329 -0
- package/es/color-picker/mode.js +178 -0
- package/es/color-picker/paint.js +175 -0
- package/es/color-picker/presets.js +80 -0
- package/es/components.js +260 -0
- package/es/config/config-context.js +13 -0
- package/es/config/context.js +26 -0
- package/es/config/index.js +52 -0
- package/es/config/size-context.js +13 -0
- package/es/config/use-config-appearance.js +39 -0
- package/es/const/var.js +31 -0
- package/es/date-picker/index.js +1257 -0
- package/es/descriptions/descriptions-item.js +25 -0
- package/es/descriptions/descriptions.js +285 -0
- package/es/divider/index.js +38 -0
- package/es/drawer/index.js +432 -0
- package/es/dropdown/dropdown-button.js +139 -0
- package/es/dropdown/dropdown-context.js +16 -0
- package/es/dropdown/dropdown.js +351 -0
- package/es/dropdown/trigger.js +88 -0
- package/es/empty/index.js +133 -0
- package/es/feature-card/index.js +74 -0
- package/es/feedback-panel/index.js +179 -0
- package/es/flame-wrap/index.js +262 -0
- package/es/flame-wrap/types.js +593 -0
- package/es/flex/index.js +46 -0
- package/es/form/field-context.js +102 -0
- package/es/form/form-context.js +13 -0
- package/es/form/form-item.js +327 -0
- package/es/form/form.js +303 -0
- package/es/form/utils.js +44 -0
- package/es/grid/grid-item.js +130 -0
- package/es/grid/grid.js +177 -0
- package/es/grid/useBreakpoint.js +64 -0
- package/es/icon/index.js +161 -0
- package/es/image/group.js +121 -0
- package/es/image/image-group-context.js +13 -0
- package/es/image/image.js +314 -0
- package/es/image/instance.js +47 -0
- package/es/image/preview.js +383 -0
- package/es/image/utils.js +39 -0
- package/es/index.js +129 -0
- package/es/input/index.js +15 -0
- package/es/input/input-box.js +40 -0
- package/es/input/input-group.js +150 -0
- package/es/input/input.js +203 -0
- package/es/input/textarea.js +135 -0
- package/es/input-number/index.js +153 -0
- package/es/input-otp/index.js +142 -0
- package/es/input-tag/index.js +178 -0
- package/es/kanban/index.js +254 -0
- package/es/layout/index.js +256 -0
- package/es/layout/layout-context.js +13 -0
- package/es/list-panel/index.js +194 -0
- package/es/loading/index.js +69 -0
- package/es/loading/loading-bar.js +133 -0
- package/es/locale/de.js +69 -0
- package/es/locale/el.js +69 -0
- package/es/locale/en.js +69 -0
- package/es/locale/fr.js +69 -0
- package/es/locale/it.js +69 -0
- package/es/locale/ja.js +69 -0
- package/es/locale/ko.js +69 -0
- package/es/locale/ru.js +69 -0
- package/es/locale/th.js +69 -0
- package/es/locale/uk.js +69 -0
- package/es/locale/vi.js +69 -0
- package/es/locale/zh-CN.js +69 -0
- package/es/locale/zh-TW.js +69 -0
- package/es/mentions/index.js +710 -0
- package/es/menu/menu-context.js +20 -0
- package/es/menu/menu-divider.js +29 -0
- package/es/menu/menu-group.js +49 -0
- package/es/menu/menu-item.js +79 -0
- package/es/menu/menu-keyboard.js +35 -0
- package/es/menu/menu.js +484 -0
- package/es/menu/recursive-menu.js +68 -0
- package/es/menu/sub-menu.js +256 -0
- package/es/message/index.js +67 -0
- package/es/modal/api.js +62 -0
- package/es/modal/modal.js +589 -0
- package/es/modal/toast.js +99 -0
- package/es/node_modules/.pnpm/kui-icons@5.0.0/node_modules/kui-icons/dist/kui-icons.esm.js +189 -0
- package/es/notice/container.js +123 -0
- package/es/notice/content.js +92 -0
- package/es/notice/index.js +52 -0
- package/es/notice/instance.js +65 -0
- package/es/page/index.js +275 -0
- package/es/page-header/index.js +134 -0
- package/es/popconfirm/index.js +275 -0
- package/es/poptip/index.js +270 -0
- package/es/progress/index.js +253 -0
- package/es/qrcode/index.js +204 -0
- package/es/radio/radio-button.js +158 -0
- package/es/radio/radio-group-context.js +13 -0
- package/es/radio/radio-group.js +264 -0
- package/es/radio/radio.js +232 -0
- package/es/rate/index.js +253 -0
- package/es/rate/star.js +150 -0
- package/es/result/index.js +147 -0
- package/es/ripple/index.js +245 -0
- package/es/ripple/types.js +433 -0
- package/es/row-col/col.js +163 -0
- package/es/row-col/row.js +37 -0
- package/es/segmented/index.js +240 -0
- package/es/select/option.js +124 -0
- package/es/select/select.js +655 -0
- package/es/skeleton/skeleton-avatar.js +44 -0
- package/es/skeleton/skeleton-button.js +43 -0
- package/es/skeleton/skeleton-image.js +131 -0
- package/es/skeleton/skeleton-text.js +113 -0
- package/es/skeleton/skeleton.js +148 -0
- package/es/skeleton/use-skeleton-loading.js +53 -0
- package/es/slider/index.js +484 -0
- package/es/slider/thumb.js +158 -0
- package/es/space/index.js +94 -0
- package/es/spin/index.js +61 -0
- package/es/splitter/splitter-panel.js +50 -0
- package/es/splitter/splitter.js +310 -0
- package/es/stat-card/countup.js +157 -0
- package/es/stat-card/stat-card.js +63 -0
- package/es/stat-card/stat-number.js +125 -0
- package/es/stat-card/utils/countup.js +291 -0
- package/es/stat-card/utils/odometer.js +129 -0
- package/es/steps/index.js +139 -0
- package/es/switch/index.js +72 -0
- package/es/table/column-setting.js +179 -0
- package/es/table/index.js +506 -0
- package/es/table/utils.js +34 -0
- package/es/tabs/tab-panel.js +86 -0
- package/es/tabs/tabs.js +263 -0
- package/es/tag/index.js +74 -0
- package/es/time-line/timeline-item.js +133 -0
- package/es/time-line/timeline.js +55 -0
- package/es/tooltip/index.js +278 -0
- package/es/tour/index.js +379 -0
- package/es/transfer/index.js +511 -0
- package/es/tree/index.js +488 -0
- package/es/tree/utils.js +101 -0
- package/es/tree-select/index.js +938 -0
- package/es/typography/index.js +359 -0
- package/es/upload/file-list.js +143 -0
- package/es/upload/index.js +434 -0
- package/es/upload/picture-sort.js +142 -0
- package/es/upload/selector.js +207 -0
- package/es/utils/checked.js +24 -0
- package/es/utils/color.js +15 -0
- package/es/utils/number.js +74 -0
- package/es/utils/placement.js +151 -0
- package/es/utils/react-node.js +63 -0
- package/es/utils/share.js +12 -0
- package/es/utils/theme.js +57 -0
- package/es/utils/transition.js +58 -0
- package/es/utils/use-value.js +60 -0
- package/es/virtual-list/index.js +252 -0
- package/es/virtual-list/range.js +27 -0
- package/es/watermark/index.js +313 -0
- package/lib/index.cjs +9 -0
- package/lib/locale/de.cjs +9 -0
- package/lib/locale/el.cjs +9 -0
- package/lib/locale/en.cjs +9 -0
- package/lib/locale/fr.cjs +9 -0
- package/lib/locale/it.cjs +9 -0
- package/lib/locale/ja.cjs +9 -0
- package/lib/locale/ko.cjs +9 -0
- package/lib/locale/ru.cjs +9 -0
- package/lib/locale/th.cjs +9 -0
- package/lib/locale/uk.cjs +9 -0
- package/lib/locale/vi.cjs +9 -0
- package/lib/locale/zh-CN.cjs +9 -0
- package/lib/locale/zh-TW.cjs +9 -0
- package/package.json +175 -94
- package/readme.md +142 -82
- package/style/base.css +9 -0
- package/style/components.css +9 -0
- package/style/index.css +9 -0
- package/style/theme.css +9 -0
- package/types/affix/index.d.cts +9 -0
- package/types/affix/index.d.ts +9 -0
- package/types/alert/index.d.cts +18 -0
- package/types/alert/index.d.ts +18 -0
- package/types/anchor/anchor-context.d.cts +7 -0
- package/types/anchor/anchor-context.d.ts +7 -0
- package/types/anchor/anchor-link.d.cts +6 -0
- package/types/anchor/anchor-link.d.ts +6 -0
- package/types/anchor/anchor.d.cts +10 -0
- package/types/anchor/anchor.d.ts +10 -0
- package/types/anchor/index.d.cts +5 -0
- package/types/anchor/index.d.ts +5 -0
- package/types/auto-complete/index.d.cts +28 -0
- package/types/auto-complete/index.d.ts +28 -0
- package/types/avatar/avatar-group-context.d.cts +7 -0
- package/types/avatar/avatar-group-context.d.ts +7 -0
- package/types/avatar/avatar-group.d.cts +11 -0
- package/types/avatar/avatar-group.d.ts +11 -0
- package/types/avatar/avatar.d.cts +14 -0
- package/types/avatar/avatar.d.ts +14 -0
- package/types/avatar/index.d.cts +5 -0
- package/types/avatar/index.d.ts +5 -0
- package/types/back-top/index.d.cts +11 -0
- package/types/back-top/index.d.ts +11 -0
- package/types/badge/index.d.cts +15 -0
- package/types/badge/index.d.ts +15 -0
- package/types/base/teleport.d.cts +13 -0
- package/types/base/teleport.d.ts +13 -0
- package/types/base/transition-props.d.cts +4 -0
- package/types/base/transition-props.d.ts +4 -0
- package/types/base/transition.d.cts +27 -0
- package/types/base/transition.d.ts +27 -0
- package/types/breadcrumb/breadcrumb-context.d.cts +2 -0
- package/types/breadcrumb/breadcrumb-context.d.ts +2 -0
- package/types/breadcrumb/breadcrumb-item.d.cts +11 -0
- package/types/breadcrumb/breadcrumb-item.d.ts +11 -0
- package/types/breadcrumb/breadcrumb.d.cts +7 -0
- package/types/breadcrumb/breadcrumb.d.ts +7 -0
- package/types/breadcrumb/index.d.cts +5 -0
- package/types/breadcrumb/index.d.ts +5 -0
- package/types/button/button-group-context.d.cts +6 -0
- package/types/button/button-group-context.d.ts +6 -0
- package/types/button/button-group.d.cts +9 -0
- package/types/button/button-group.d.ts +9 -0
- package/types/button/button.d.cts +20 -0
- package/types/button/button.d.ts +20 -0
- package/types/button/index.d.cts +5 -0
- package/types/button/index.d.ts +5 -0
- package/types/calendar/index.d.cts +36 -0
- package/types/calendar/index.d.ts +36 -0
- package/types/card/index.d.cts +22 -0
- package/types/card/index.d.ts +22 -0
- package/types/carousel/carousel-context.d.cts +6 -0
- package/types/carousel/carousel-context.d.ts +6 -0
- package/types/carousel/carousel-item.d.cts +3 -0
- package/types/carousel/carousel-item.d.ts +3 -0
- package/types/carousel/carousel.d.cts +18 -0
- package/types/carousel/carousel.d.ts +18 -0
- package/types/carousel/index.d.cts +5 -0
- package/types/carousel/index.d.ts +5 -0
- package/types/cascader/index.d.cts +5 -0
- package/types/cascader/index.d.ts +5 -0
- package/types/cascader/types.d.cts +38 -0
- package/types/cascader/types.d.ts +38 -0
- package/types/check-card/check-card-group.d.cts +4 -0
- package/types/check-card/check-card-group.d.ts +4 -0
- package/types/check-card/check-card.d.cts +4 -0
- package/types/check-card/check-card.d.ts +4 -0
- package/types/check-card/context.d.cts +14 -0
- package/types/check-card/context.d.ts +14 -0
- package/types/check-card/index.d.cts +4 -0
- package/types/check-card/index.d.ts +4 -0
- package/types/check-card/types.d.cts +46 -0
- package/types/check-card/types.d.ts +46 -0
- package/types/checkbox/checkbox-group-context.d.cts +11 -0
- package/types/checkbox/checkbox-group-context.d.ts +11 -0
- package/types/checkbox/checkbox-group.d.cts +22 -0
- package/types/checkbox/checkbox-group.d.ts +22 -0
- package/types/checkbox/checkbox.d.cts +23 -0
- package/types/checkbox/checkbox.d.ts +23 -0
- package/types/checkbox/index.d.cts +6 -0
- package/types/checkbox/index.d.ts +6 -0
- package/types/collapse/collapse-panel.d.cts +12 -0
- package/types/collapse/collapse-panel.d.ts +12 -0
- package/types/collapse/collapse.d.cts +15 -0
- package/types/collapse/collapse.d.ts +15 -0
- package/types/collapse/index.d.cts +6 -0
- package/types/collapse/index.d.ts +6 -0
- package/types/color-picker/alpha.d.cts +6 -0
- package/types/color-picker/alpha.d.ts +6 -0
- package/types/color-picker/hue.d.cts +5 -0
- package/types/color-picker/hue.d.ts +5 -0
- package/types/color-picker/index.d.cts +30 -0
- package/types/color-picker/index.d.ts +30 -0
- package/types/color-picker/mode.d.cts +10 -0
- package/types/color-picker/mode.d.ts +10 -0
- package/types/color-picker/paint.d.cts +7 -0
- package/types/color-picker/paint.d.ts +7 -0
- package/types/color-picker/presets.d.cts +7 -0
- package/types/color-picker/presets.d.ts +7 -0
- package/types/components.d.cts +165 -0
- package/types/components.d.ts +165 -0
- package/types/config/config-context.d.cts +11 -0
- package/types/config/config-context.d.ts +11 -0
- package/types/config/context.d.cts +7 -0
- package/types/config/context.d.ts +7 -0
- package/types/config/index.d.cts +14 -0
- package/types/config/index.d.ts +14 -0
- package/types/config/size-context.d.cts +3 -0
- package/types/config/size-context.d.ts +3 -0
- package/types/config/use-config-appearance.d.cts +7 -0
- package/types/config/use-config-appearance.d.ts +7 -0
- package/types/const/types.d.cts +22 -0
- package/types/const/types.d.ts +22 -0
- package/types/const/var.d.cts +1 -0
- package/types/const/var.d.ts +1 -0
- package/types/date-picker/index.d.cts +54 -0
- package/types/date-picker/index.d.ts +54 -0
- package/types/descriptions/descriptions-item.d.cts +5 -0
- package/types/descriptions/descriptions-item.d.ts +5 -0
- package/types/descriptions/descriptions.d.cts +21 -0
- package/types/descriptions/descriptions.d.ts +21 -0
- package/types/descriptions/index.d.cts +4 -0
- package/types/descriptions/index.d.ts +4 -0
- package/types/directives/outsiteclick.d.cts +3 -0
- package/types/directives/outsiteclick.d.ts +3 -0
- package/types/directives/resize.d.cts +3 -0
- package/types/directives/resize.d.ts +3 -0
- package/types/directives/scroll.d.cts +3 -0
- package/types/directives/scroll.d.ts +3 -0
- package/types/directives/transfer.d.cts +2 -0
- package/types/directives/transfer.d.ts +2 -0
- package/types/divider/index.d.cts +14 -0
- package/types/divider/index.d.ts +14 -0
- package/types/drawer/index.d.cts +27 -0
- package/types/drawer/index.d.ts +27 -0
- package/types/dropdown/dropdown-button.d.cts +17 -0
- package/types/dropdown/dropdown-button.d.ts +17 -0
- package/types/dropdown/dropdown-context.d.cts +11 -0
- package/types/dropdown/dropdown-context.d.ts +11 -0
- package/types/dropdown/dropdown.d.cts +18 -0
- package/types/dropdown/dropdown.d.ts +18 -0
- package/types/dropdown/index.d.cts +4 -0
- package/types/dropdown/index.d.ts +4 -0
- package/types/dropdown/trigger.d.cts +9 -0
- package/types/dropdown/trigger.d.ts +9 -0
- package/types/empty/index.d.cts +9 -0
- package/types/empty/index.d.ts +9 -0
- package/types/feature-card/index.d.cts +20 -0
- package/types/feature-card/index.d.ts +20 -0
- package/types/feedback-panel/index.d.cts +15 -0
- package/types/feedback-panel/index.d.ts +15 -0
- package/types/flame-wrap/index.d.cts +3 -0
- package/types/flame-wrap/index.d.ts +3 -0
- package/types/flame-wrap/types.d.cts +71 -0
- package/types/flame-wrap/types.d.ts +71 -0
- package/types/flex/index.d.cts +15 -0
- package/types/flex/index.d.ts +15 -0
- package/types/form/field-context.d.cts +39 -0
- package/types/form/field-context.d.ts +39 -0
- package/types/form/form-context.d.cts +22 -0
- package/types/form/form-context.d.ts +22 -0
- package/types/form/form-item.d.cts +12 -0
- package/types/form/form-item.d.ts +12 -0
- package/types/form/form.d.cts +40 -0
- package/types/form/form.d.ts +40 -0
- package/types/form/index.d.cts +7 -0
- package/types/form/index.d.ts +7 -0
- package/types/form/types.d.cts +20 -0
- package/types/form/types.d.ts +20 -0
- package/types/form/utils.d.cts +6 -0
- package/types/form/utils.d.ts +6 -0
- package/types/grid/grid-item.d.cts +10 -0
- package/types/grid/grid-item.d.ts +10 -0
- package/types/grid/grid.d.cts +17 -0
- package/types/grid/grid.d.ts +17 -0
- package/types/grid/index.d.cts +6 -0
- package/types/grid/index.d.ts +6 -0
- package/types/grid/useBreakpoint.d.cts +11 -0
- package/types/grid/useBreakpoint.d.ts +11 -0
- package/types/icon/index.d.cts +15 -0
- package/types/icon/index.d.ts +15 -0
- package/types/image/group.d.cts +5 -0
- package/types/image/group.d.ts +5 -0
- package/types/image/image-group-context.d.cts +8 -0
- package/types/image/image-group-context.d.ts +8 -0
- package/types/image/image.d.cts +28 -0
- package/types/image/image.d.ts +28 -0
- package/types/image/index.d.cts +6 -0
- package/types/image/index.d.ts +6 -0
- package/types/image/instance.d.cts +5 -0
- package/types/image/instance.d.ts +5 -0
- package/types/image/preview.d.cts +19 -0
- package/types/image/preview.d.ts +19 -0
- package/types/image/utils.d.cts +6 -0
- package/types/image/utils.d.ts +6 -0
- package/types/index.d.cts +8 -0
- package/types/index.d.ts +8 -0
- package/types/input/index.d.cts +8 -0
- package/types/input/index.d.ts +8 -0
- package/types/input/input-box.d.cts +14 -0
- package/types/input/input-box.d.ts +14 -0
- package/types/input/input-group.d.cts +11 -0
- package/types/input/input-group.d.ts +11 -0
- package/types/input/input.d.cts +28 -0
- package/types/input/input.d.ts +28 -0
- package/types/input/textarea.d.cts +11 -0
- package/types/input/textarea.d.ts +11 -0
- package/types/input-number/index.d.cts +27 -0
- package/types/input-number/index.d.ts +27 -0
- package/types/input-otp/index.d.cts +27 -0
- package/types/input-otp/index.d.ts +27 -0
- package/types/input-tag/index.d.cts +23 -0
- package/types/input-tag/index.d.ts +23 -0
- package/types/kanban/index.d.cts +31 -0
- package/types/kanban/index.d.ts +31 -0
- package/types/layout/index.d.cts +29 -0
- package/types/layout/index.d.ts +29 -0
- package/types/layout/layout-context.d.cts +1 -0
- package/types/layout/layout-context.d.ts +1 -0
- package/types/list-panel/index.d.cts +16 -0
- package/types/list-panel/index.d.ts +16 -0
- package/types/loading/index.d.cts +10 -0
- package/types/loading/index.d.ts +10 -0
- package/types/loading/loading-bar.d.cts +12 -0
- package/types/loading/loading-bar.d.ts +12 -0
- package/types/locale/de.d.cts +65 -0
- package/types/locale/de.d.ts +65 -0
- package/types/locale/el.d.cts +65 -0
- package/types/locale/el.d.ts +65 -0
- package/types/locale/en.d.cts +65 -0
- package/types/locale/en.d.ts +65 -0
- package/types/locale/fr.d.cts +65 -0
- package/types/locale/fr.d.ts +65 -0
- package/types/locale/it.d.cts +65 -0
- package/types/locale/it.d.ts +65 -0
- package/types/locale/ja.d.cts +65 -0
- package/types/locale/ja.d.ts +65 -0
- package/types/locale/ko.d.cts +65 -0
- package/types/locale/ko.d.ts +65 -0
- package/types/locale/ru.d.cts +65 -0
- package/types/locale/ru.d.ts +65 -0
- package/types/locale/th.d.cts +65 -0
- package/types/locale/th.d.ts +65 -0
- package/types/locale/uk.d.cts +65 -0
- package/types/locale/uk.d.ts +65 -0
- package/types/locale/vi.d.cts +65 -0
- package/types/locale/vi.d.ts +65 -0
- package/types/locale/zh-CN.d.cts +65 -0
- package/types/locale/zh-CN.d.ts +65 -0
- package/types/locale/zh-TW.d.cts +65 -0
- package/types/locale/zh-TW.d.ts +65 -0
- package/types/mentions/index.d.cts +28 -0
- package/types/mentions/index.d.ts +28 -0
- package/types/menu/index.d.cts +7 -0
- package/types/menu/index.d.ts +7 -0
- package/types/menu/menu-context.d.cts +24 -0
- package/types/menu/menu-context.d.ts +24 -0
- package/types/menu/menu-divider.d.cts +3 -0
- package/types/menu/menu-divider.d.ts +3 -0
- package/types/menu/menu-group.d.cts +7 -0
- package/types/menu/menu-group.d.ts +7 -0
- package/types/menu/menu-item.d.cts +15 -0
- package/types/menu/menu-item.d.ts +15 -0
- package/types/menu/menu-keyboard.d.cts +7 -0
- package/types/menu/menu-keyboard.d.ts +7 -0
- package/types/menu/menu.d.cts +33 -0
- package/types/menu/menu.d.ts +33 -0
- package/types/menu/recursive-menu.d.cts +7 -0
- package/types/menu/recursive-menu.d.ts +7 -0
- package/types/menu/sub-menu.d.cts +12 -0
- package/types/menu/sub-menu.d.ts +12 -0
- package/types/message/index.d.cts +24 -0
- package/types/message/index.d.ts +24 -0
- package/types/modal/api.d.cts +26 -0
- package/types/modal/api.d.ts +26 -0
- package/types/modal/index.d.cts +4 -0
- package/types/modal/index.d.ts +4 -0
- package/types/modal/modal.d.cts +32 -0
- package/types/modal/modal.d.ts +32 -0
- package/types/modal/toast.d.cts +15 -0
- package/types/modal/toast.d.ts +15 -0
- package/types/notice/container.d.cts +9 -0
- package/types/notice/container.d.ts +9 -0
- package/types/notice/content.d.cts +22 -0
- package/types/notice/content.d.ts +22 -0
- package/types/notice/index.d.cts +24 -0
- package/types/notice/index.d.ts +24 -0
- package/types/notice/instance.d.cts +7 -0
- package/types/notice/instance.d.ts +7 -0
- package/types/page/index.d.cts +19 -0
- package/types/page/index.d.ts +19 -0
- package/types/page-header/index.d.cts +10 -0
- package/types/page-header/index.d.ts +10 -0
- package/types/popconfirm/index.d.cts +27 -0
- package/types/popconfirm/index.d.ts +27 -0
- package/types/poptip/index.d.cts +25 -0
- package/types/poptip/index.d.ts +25 -0
- package/types/progress/index.d.cts +21 -0
- package/types/progress/index.d.ts +21 -0
- package/types/qrcode/index.d.cts +28 -0
- package/types/qrcode/index.d.ts +28 -0
- package/types/radio/index.d.cts +7 -0
- package/types/radio/index.d.ts +7 -0
- package/types/radio/radio-button.d.cts +20 -0
- package/types/radio/radio-button.d.ts +20 -0
- package/types/radio/radio-group-context.d.cts +13 -0
- package/types/radio/radio-group-context.d.ts +13 -0
- package/types/radio/radio-group.d.cts +26 -0
- package/types/radio/radio-group.d.ts +26 -0
- package/types/radio/radio.d.cts +17 -0
- package/types/radio/radio.d.ts +17 -0
- package/types/radio/types.d.cts +5 -0
- package/types/radio/types.d.ts +5 -0
- package/types/rate/index.d.cts +22 -0
- package/types/rate/index.d.ts +22 -0
- package/types/rate/star.d.cts +19 -0
- package/types/rate/star.d.ts +19 -0
- package/types/result/index.d.cts +12 -0
- package/types/result/index.d.ts +12 -0
- package/types/ripple/index.d.cts +10 -0
- package/types/ripple/index.d.ts +10 -0
- package/types/ripple/types.d.cts +48 -0
- package/types/ripple/types.d.ts +48 -0
- package/types/row-col/col.d.cts +26 -0
- package/types/row-col/col.d.ts +26 -0
- package/types/row-col/index.d.cts +5 -0
- package/types/row-col/index.d.ts +5 -0
- package/types/row-col/row.d.cts +9 -0
- package/types/row-col/row.d.ts +9 -0
- package/types/segmented/index.d.cts +25 -0
- package/types/segmented/index.d.ts +25 -0
- package/types/select/index.d.cts +5 -0
- package/types/select/index.d.ts +5 -0
- package/types/select/option.d.cts +17 -0
- package/types/select/option.d.ts +17 -0
- package/types/select/select.d.cts +51 -0
- package/types/select/select.d.ts +51 -0
- package/types/skeleton/index.d.cts +11 -0
- package/types/skeleton/index.d.ts +11 -0
- package/types/skeleton/skeleton-avatar.d.cts +13 -0
- package/types/skeleton/skeleton-avatar.d.ts +13 -0
- package/types/skeleton/skeleton-button.d.cts +14 -0
- package/types/skeleton/skeleton-button.d.ts +14 -0
- package/types/skeleton/skeleton-image.d.cts +11 -0
- package/types/skeleton/skeleton-image.d.ts +11 -0
- package/types/skeleton/skeleton-text.d.cts +12 -0
- package/types/skeleton/skeleton-text.d.ts +12 -0
- package/types/skeleton/skeleton.d.cts +19 -0
- package/types/skeleton/skeleton.d.ts +19 -0
- package/types/skeleton/use-skeleton-loading.d.cts +1 -0
- package/types/skeleton/use-skeleton-loading.d.ts +1 -0
- package/types/slider/index.d.cts +21 -0
- package/types/slider/index.d.ts +21 -0
- package/types/slider/thumb.d.cts +17 -0
- package/types/slider/thumb.d.ts +17 -0
- package/types/space/index.d.cts +15 -0
- package/types/space/index.d.ts +15 -0
- package/types/spin/index.d.cts +11 -0
- package/types/spin/index.d.ts +11 -0
- package/types/splitter/index.d.cts +4 -0
- package/types/splitter/index.d.ts +4 -0
- package/types/splitter/splitter-panel.d.cts +7 -0
- package/types/splitter/splitter-panel.d.ts +7 -0
- package/types/splitter/splitter.d.cts +9 -0
- package/types/splitter/splitter.d.ts +9 -0
- package/types/stat-card/countup.d.cts +11 -0
- package/types/stat-card/countup.d.ts +11 -0
- package/types/stat-card/index.d.cts +5 -0
- package/types/stat-card/index.d.ts +5 -0
- package/types/stat-card/rollup.d.cts +7 -0
- package/types/stat-card/rollup.d.ts +7 -0
- package/types/stat-card/stat-card.d.cts +31 -0
- package/types/stat-card/stat-card.d.ts +31 -0
- package/types/stat-card/stat-number.d.cts +13 -0
- package/types/stat-card/stat-number.d.ts +13 -0
- package/types/stat-card/utils/countup.d.cts +128 -0
- package/types/stat-card/utils/countup.d.ts +128 -0
- package/types/stat-card/utils/odometer.d.cts +14 -0
- package/types/stat-card/utils/odometer.d.ts +14 -0
- package/types/steps/index.d.cts +20 -0
- package/types/steps/index.d.ts +20 -0
- package/types/switch/index.d.cts +21 -0
- package/types/switch/index.d.ts +21 -0
- package/types/table/column-setting.d.cts +28 -0
- package/types/table/column-setting.d.ts +28 -0
- package/types/table/index.d.cts +5 -0
- package/types/table/index.d.ts +5 -0
- package/types/table/types.d.cts +66 -0
- package/types/table/types.d.ts +66 -0
- package/types/table/utils.d.cts +14 -0
- package/types/table/utils.d.ts +14 -0
- package/types/tabs/index.d.cts +5 -0
- package/types/tabs/index.d.ts +5 -0
- package/types/tabs/tab-panel.d.cts +17 -0
- package/types/tabs/tab-panel.d.ts +17 -0
- package/types/tabs/tabs.d.cts +16 -0
- package/types/tabs/tabs.d.ts +16 -0
- package/types/tabs/types.d.cts +16 -0
- package/types/tabs/types.d.ts +16 -0
- package/types/tag/index.d.cts +16 -0
- package/types/tag/index.d.ts +16 -0
- package/types/time-line/index.d.cts +5 -0
- package/types/time-line/index.d.ts +5 -0
- package/types/time-line/timeline-item.d.cts +10 -0
- package/types/time-line/timeline-item.d.ts +10 -0
- package/types/time-line/timeline.d.cts +6 -0
- package/types/time-line/timeline.d.ts +6 -0
- package/types/tooltip/index.d.cts +23 -0
- package/types/tooltip/index.d.ts +23 -0
- package/types/tour/index.d.cts +22 -0
- package/types/tour/index.d.ts +22 -0
- package/types/transfer/index.d.cts +33 -0
- package/types/transfer/index.d.ts +33 -0
- package/types/tree/index.d.cts +51 -0
- package/types/tree/index.d.ts +51 -0
- package/types/tree/types.d.cts +27 -0
- package/types/tree/types.d.ts +27 -0
- package/types/tree/utils.d.cts +33 -0
- package/types/tree/utils.d.ts +33 -0
- package/types/tree-select/index.d.cts +60 -0
- package/types/tree-select/index.d.ts +60 -0
- package/types/typography/index.d.cts +40 -0
- package/types/typography/index.d.ts +40 -0
- package/types/upload/file-list.d.cts +19 -0
- package/types/upload/file-list.d.ts +19 -0
- package/types/upload/index.d.cts +90 -0
- package/types/upload/index.d.ts +90 -0
- package/types/upload/picture-sort.d.cts +2 -0
- package/types/upload/picture-sort.d.ts +2 -0
- package/types/upload/selector.d.cts +21 -0
- package/types/upload/selector.d.ts +21 -0
- package/types/utils/checked.d.cts +2 -0
- package/types/utils/checked.d.ts +2 -0
- package/types/utils/color.d.cts +1 -0
- package/types/utils/color.d.ts +1 -0
- package/types/utils/element.d.cts +2 -0
- package/types/utils/element.d.ts +2 -0
- package/types/utils/mouse.d.cts +1 -0
- package/types/utils/mouse.d.ts +1 -0
- package/types/utils/number.d.cts +6 -0
- package/types/utils/number.d.ts +6 -0
- package/types/utils/placement.d.cts +16 -0
- package/types/utils/placement.d.ts +16 -0
- package/types/utils/react-node.d.cts +5 -0
- package/types/utils/react-node.d.ts +5 -0
- package/types/utils/share.d.cts +12 -0
- package/types/utils/share.d.ts +12 -0
- package/types/utils/theme.d.cts +5 -0
- package/types/utils/theme.d.ts +5 -0
- package/types/utils/transition.d.cts +3 -0
- package/types/utils/transition.d.ts +3 -0
- package/types/utils/use-value.d.cts +2 -0
- package/types/utils/use-value.d.ts +2 -0
- package/types/virtual-list/index.d.cts +17 -0
- package/types/virtual-list/index.d.ts +17 -0
- package/types/virtual-list/range.d.cts +15 -0
- package/types/virtual-list/range.d.ts +15 -0
- package/types/watermark/index.d.cts +27 -0
- package/types/watermark/index.d.ts +27 -0
- package/dist/k-ui.css +0 -7
- package/dist/k-ui.js +0 -13
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ShapeType, ThemeType } from '../const/types.js';
|
|
3
|
+
export interface CollapseProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
4
|
+
openKeys?: (string | number)[];
|
|
5
|
+
defaultOpenKeys?: (string | number)[];
|
|
6
|
+
accordion?: boolean;
|
|
7
|
+
sample?: boolean;
|
|
8
|
+
theme?: ThemeType;
|
|
9
|
+
shape?: ShapeType;
|
|
10
|
+
onChange?: (key: string | number) => void;
|
|
11
|
+
onOpenKeysChange?: (keys: (string | number)[]) => void;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
declare const Collapse: React.FC<CollapseProps>;
|
|
15
|
+
export default Collapse;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as Collapse } from './collapse.cjs';
|
|
2
|
+
import { default as CollapsePanel } from './collapse-panel.cjs';
|
|
3
|
+
export type { CollapseProps } from './collapse.cjs';
|
|
4
|
+
export type { CollapsePanelProps } from './collapse-panel.cjs';
|
|
5
|
+
export { Collapse, CollapsePanel };
|
|
6
|
+
export default Collapse;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as Collapse } from './collapse.js';
|
|
2
|
+
import { default as CollapsePanel } from './collapse-panel.js';
|
|
3
|
+
export type { CollapseProps } from './collapse.js';
|
|
4
|
+
export type { CollapsePanelProps } from './collapse-panel.js';
|
|
5
|
+
export { Collapse, CollapsePanel };
|
|
6
|
+
export default Collapse;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { DropPlacementsType, ShapeType, SizeType, ThemeType } from '../const/types.cjs';
|
|
3
|
+
import { ColorMode } from './mode.cjs';
|
|
4
|
+
export interface ColorPickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
|
|
5
|
+
value?: string;
|
|
6
|
+
open?: boolean;
|
|
7
|
+
defaultOpen?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
readOnly?: boolean;
|
|
10
|
+
disabledAlpha?: boolean;
|
|
11
|
+
showText?: boolean;
|
|
12
|
+
placement?: DropPlacementsType;
|
|
13
|
+
trigger?: "hover" | "click";
|
|
14
|
+
size?: SizeType;
|
|
15
|
+
theme?: ThemeType;
|
|
16
|
+
shape?: ShapeType;
|
|
17
|
+
mode?: ColorMode;
|
|
18
|
+
presets?: string[];
|
|
19
|
+
onChange?: (color: string) => void;
|
|
20
|
+
onUpdateMode?: (mode: ColorMode) => void;
|
|
21
|
+
onOpenChange?: (open: boolean) => void;
|
|
22
|
+
children?: ReactNode;
|
|
23
|
+
/** Render only the color panel without a trigger or portal. */
|
|
24
|
+
panelOnly?: boolean;
|
|
25
|
+
}
|
|
26
|
+
declare function ColorPicker({ value, open: openProp, defaultOpen, disabled, readOnly, disabledAlpha, showText, placement, trigger, size: sizeProp, theme: themeProp, shape: shapeProp, mode: modeProp, presets, onChange, onUpdateMode, onOpenChange, className, children, panelOnly, ...rest }: ColorPickerProps): import("react").JSX.Element;
|
|
27
|
+
export type ColorPickerPanelProps = Omit<ColorPickerProps, "panelOnly" | "open" | "defaultOpen" | "children">;
|
|
28
|
+
export declare function ColorPickerPanel(props: ColorPickerPanelProps): import("react").JSX.Element;
|
|
29
|
+
declare const _default: typeof ColorPicker;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { DropPlacementsType, ShapeType, SizeType, ThemeType } from '../const/types.js';
|
|
3
|
+
import { ColorMode } from './mode.js';
|
|
4
|
+
export interface ColorPickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
|
|
5
|
+
value?: string;
|
|
6
|
+
open?: boolean;
|
|
7
|
+
defaultOpen?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
readOnly?: boolean;
|
|
10
|
+
disabledAlpha?: boolean;
|
|
11
|
+
showText?: boolean;
|
|
12
|
+
placement?: DropPlacementsType;
|
|
13
|
+
trigger?: "hover" | "click";
|
|
14
|
+
size?: SizeType;
|
|
15
|
+
theme?: ThemeType;
|
|
16
|
+
shape?: ShapeType;
|
|
17
|
+
mode?: ColorMode;
|
|
18
|
+
presets?: string[];
|
|
19
|
+
onChange?: (color: string) => void;
|
|
20
|
+
onUpdateMode?: (mode: ColorMode) => void;
|
|
21
|
+
onOpenChange?: (open: boolean) => void;
|
|
22
|
+
children?: ReactNode;
|
|
23
|
+
/** Render only the color panel without a trigger or portal. */
|
|
24
|
+
panelOnly?: boolean;
|
|
25
|
+
}
|
|
26
|
+
declare function ColorPicker({ value, open: openProp, defaultOpen, disabled, readOnly, disabledAlpha, showText, placement, trigger, size: sizeProp, theme: themeProp, shape: shapeProp, mode: modeProp, presets, onChange, onUpdateMode, onOpenChange, className, children, panelOnly, ...rest }: ColorPickerProps): import("react").JSX.Element;
|
|
27
|
+
export type ColorPickerPanelProps = Omit<ColorPickerProps, "panelOnly" | "open" | "defaultOpen" | "children">;
|
|
28
|
+
export declare function ColorPickerPanel(props: ColorPickerPanelProps): import("react").JSX.Element;
|
|
29
|
+
declare const _default: typeof ColorPicker;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ColorInstance } from 'color';
|
|
2
|
+
export type ColorMode = "hex" | "rgb" | "hsl";
|
|
3
|
+
export interface ModeProps {
|
|
4
|
+
value: string | ColorInstance;
|
|
5
|
+
mode?: ColorMode;
|
|
6
|
+
disabledAlpha?: boolean;
|
|
7
|
+
onUpdateMode?: (mode: ColorMode) => void;
|
|
8
|
+
onUpdateColorValue?: (color: ColorInstance) => void;
|
|
9
|
+
}
|
|
10
|
+
export default function Mode({ value, mode, disabledAlpha, onUpdateMode, onUpdateColorValue, }: ModeProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ColorInstance } from 'color';
|
|
2
|
+
export type ColorMode = "hex" | "rgb" | "hsl";
|
|
3
|
+
export interface ModeProps {
|
|
4
|
+
value: string | ColorInstance;
|
|
5
|
+
mode?: ColorMode;
|
|
6
|
+
disabledAlpha?: boolean;
|
|
7
|
+
onUpdateMode?: (mode: ColorMode) => void;
|
|
8
|
+
onUpdateColorValue?: (color: ColorInstance) => void;
|
|
9
|
+
}
|
|
10
|
+
export default function Mode({ value, mode, disabledAlpha, onUpdateMode, onUpdateColorValue, }: ModeProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ColorInstance, ColorObject } from 'color';
|
|
2
|
+
export interface PaintProps {
|
|
3
|
+
hue?: number;
|
|
4
|
+
value: string | ColorInstance;
|
|
5
|
+
onUpdateRGB?: (color: ColorObject) => void;
|
|
6
|
+
}
|
|
7
|
+
export default function Paint({ hue, value, onUpdateRGB }: PaintProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ColorInstance, ColorObject } from 'color';
|
|
2
|
+
export interface PaintProps {
|
|
3
|
+
hue?: number;
|
|
4
|
+
value: string | ColorInstance;
|
|
5
|
+
onUpdateRGB?: (color: ColorObject) => void;
|
|
6
|
+
}
|
|
7
|
+
export default function Paint({ hue, value, onUpdateRGB }: PaintProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ColorInstance } from 'color';
|
|
2
|
+
export interface PresetsProps {
|
|
3
|
+
color: string | ColorInstance;
|
|
4
|
+
presets?: string[];
|
|
5
|
+
onUpdateColor?: (color: ColorInstance) => void;
|
|
6
|
+
}
|
|
7
|
+
export default function Presets({ color, presets, onUpdateColor }: PresetsProps): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ColorInstance } from 'color';
|
|
2
|
+
export interface PresetsProps {
|
|
3
|
+
color: string | ColorInstance;
|
|
4
|
+
presets?: string[];
|
|
5
|
+
onUpdateColor?: (color: ColorInstance) => void;
|
|
6
|
+
}
|
|
7
|
+
export default function Presets({ color, presets, onUpdateColor }: PresetsProps): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
export { default as Affix } from './affix/index.cjs';
|
|
2
|
+
export type { AffixProps } from './affix/index.cjs';
|
|
3
|
+
export { default as Alert } from './alert/index.cjs';
|
|
4
|
+
export type { AlertProps } from './alert/index.cjs';
|
|
5
|
+
export { default as Calendar } from './calendar/index.cjs';
|
|
6
|
+
export type { CalendarDateCell, CalendarEventData, CalendarProps } from './calendar/index.cjs';
|
|
7
|
+
export { default as Kanban } from './kanban/index.cjs';
|
|
8
|
+
export type { KanbanColumnData, KanbanItemData, KanbanMoveEvent, KanbanProps } from './kanban/index.cjs';
|
|
9
|
+
export { default as ListPanel } from './list-panel/index.cjs';
|
|
10
|
+
export type { ListPanelProps } from './list-panel/index.cjs';
|
|
11
|
+
export { default as AutoComplete } from './auto-complete/index.cjs';
|
|
12
|
+
export type { AutoCompleteOption, AutoCompleteProps } from './auto-complete/index.cjs';
|
|
13
|
+
export { Anchor, AnchorLink } from './anchor/index.cjs';
|
|
14
|
+
export type { AnchorLinkProps, AnchorProps } from './anchor/index.cjs';
|
|
15
|
+
export { Avatar, AvatarGroup } from './avatar/index.cjs';
|
|
16
|
+
export type { AvatarGroupProps, AvatarProps } from './avatar/index.cjs';
|
|
17
|
+
export { Breadcrumb, BreadcrumbItem } from './breadcrumb/index.cjs';
|
|
18
|
+
export type { BreadcrumbItemProps, BreadcrumbProps } from './breadcrumb/index.cjs';
|
|
19
|
+
export { default as BackTop } from './back-top/index.cjs';
|
|
20
|
+
export type { BackTopProps } from './back-top/index.cjs';
|
|
21
|
+
export { default as Badge } from './badge/index.cjs';
|
|
22
|
+
export type { BadgeProps, BadgeStatusType } from './badge/index.cjs';
|
|
23
|
+
export { Button, ButtonGroup } from './button/index.cjs';
|
|
24
|
+
export type { ButtonGroupProps, ButtonProps } from './button/index.cjs';
|
|
25
|
+
export { default as Card, CardMeta } from './card/index.cjs';
|
|
26
|
+
export type { CardMetaProps, CardProps } from './card/index.cjs';
|
|
27
|
+
export { Carousel, CarouselItem } from './carousel/index.cjs';
|
|
28
|
+
export type { CarouselItemProps, CarouselProps, CarouselRef } from './carousel/index.cjs';
|
|
29
|
+
export { Checkbox, CheckboxGroup } from './checkbox/index.cjs';
|
|
30
|
+
export type { ChangeEvent, CheckboxGroupProps, CheckboxOption, CheckboxProps } from './checkbox/index.cjs';
|
|
31
|
+
export { CheckCard, CheckCardGroup } from './check-card/index.cjs';
|
|
32
|
+
export type { CheckCardChangeEvent, CheckCardGroupProps, CheckCardOption, CheckCardProps, CheckCardTheme, CheckCardValue, } from './check-card/index.cjs';
|
|
33
|
+
export { Collapse, CollapsePanel } from './collapse/index.cjs';
|
|
34
|
+
export type { CollapsePanelProps, CollapseProps } from './collapse/index.cjs';
|
|
35
|
+
export { default as ColorPicker, ColorPickerPanel } from './color-picker/index.cjs';
|
|
36
|
+
export type { ColorPickerPanelProps, ColorPickerProps } from './color-picker/index.cjs';
|
|
37
|
+
export { default as DatePicker, DatePickerPanel } from './date-picker/index.cjs';
|
|
38
|
+
export type { DatePickerInput, DatePickerModeType, DatePickerOutput, DatePickerPanelProps, DatePickerPreset, DatePickerProps, DatePickerValueType, } from './date-picker/index.cjs';
|
|
39
|
+
export { Descriptions, DescriptionsItem } from './descriptions/index.cjs';
|
|
40
|
+
export type { DescriptionsColumn, DescriptionsItemProps, DescriptionsProps } from './descriptions/index.cjs';
|
|
41
|
+
export { default as Drawer } from './drawer/index.cjs';
|
|
42
|
+
export type { DrawerProps, DrawerTarget } from './drawer/index.cjs';
|
|
43
|
+
export { Dropdown, DropdownButton } from './dropdown/index.cjs';
|
|
44
|
+
export type { DropdownButtonProps, DropdownProps } from './dropdown/index.cjs';
|
|
45
|
+
export { default as Divider } from './divider/index.cjs';
|
|
46
|
+
export type { DividerProps } from './divider/index.cjs';
|
|
47
|
+
export { default as Empty } from './empty/index.cjs';
|
|
48
|
+
export type { EmptyProps } from './empty/index.cjs';
|
|
49
|
+
export { Form, FormItem } from './form/index.cjs';
|
|
50
|
+
export type { FormContext, FormExpose, FormItemProps, FormProps, FormRule, FormRules, FormSubmitEvent, FormValidateTrigger, } from './form/index.cjs';
|
|
51
|
+
export { default as Flex } from './flex/index.cjs';
|
|
52
|
+
export type { FlexAlignType, FlexJustifyType, FlexProps, FlexSizeType } from './flex/index.cjs';
|
|
53
|
+
export { default as FeatureCard } from './feature-card/index.cjs';
|
|
54
|
+
export type { FeatureCardProps } from './feature-card/index.cjs';
|
|
55
|
+
export { default as FlameWrap } from './flame-wrap/index.cjs';
|
|
56
|
+
export type { FlameWrapInstance, FlameWrapOptions, FlameWrapProps } from './flame-wrap/types.cjs';
|
|
57
|
+
export { default as FeedbackPanel } from './feedback-panel/index.cjs';
|
|
58
|
+
export type { FeedbackPanelKind, FeedbackPanelProps } from './feedback-panel/index.cjs';
|
|
59
|
+
export { Grid, GridItem } from './grid/index.cjs';
|
|
60
|
+
export type { GridItemProps, GridProps } from './grid/index.cjs';
|
|
61
|
+
export { ImageGroup, KImage } from './image/index.cjs';
|
|
62
|
+
export type { ImageGroupProps, ImagePreviewProps, ImageProps, ImageRef, ImageType } from './image/index.cjs';
|
|
63
|
+
export { default as Icon } from './icon/index.cjs';
|
|
64
|
+
export type { IconProps, IconType } from './icon/index.cjs';
|
|
65
|
+
export { Input, InputGroup, TextArea } from './input/index.cjs';
|
|
66
|
+
export type { InputGroupProps, InputProps, TextAreaProps } from './input/index.cjs';
|
|
67
|
+
export { default as InputTag } from './input-tag/index.cjs';
|
|
68
|
+
export type { InputTagProps } from './input-tag/index.cjs';
|
|
69
|
+
export { default as InputNumber } from './input-number/index.cjs';
|
|
70
|
+
export type { InputNumberProps } from './input-number/index.cjs';
|
|
71
|
+
export { default as InputOTP } from './input-otp/index.cjs';
|
|
72
|
+
export type { InputOTPProps, InputOTPRef, InputOTPValidator } from './input-otp/index.cjs';
|
|
73
|
+
export { Content, Footer, Header, Layout, Sider } from './layout/index.cjs';
|
|
74
|
+
export type { LayoutProps, SiderProps } from './layout/index.cjs';
|
|
75
|
+
export { default as loading } from './loading/index.cjs';
|
|
76
|
+
export type { LoadingProps } from './loading/index.cjs';
|
|
77
|
+
export { Menu, MenuDivider, MenuGroup, MenuItem, SubMenu } from './menu/index.cjs';
|
|
78
|
+
export type { MenuGroupProps, MenuItemProps, MenuOptionsProps, MenuProps, MenuSelectEvent, SubMenuProps, } from './menu/index.cjs';
|
|
79
|
+
export { default as message } from './message/index.cjs';
|
|
80
|
+
export type { MessageOptions } from './message/index.cjs';
|
|
81
|
+
export { default as Mentions } from './mentions/index.cjs';
|
|
82
|
+
export type { MentionOption, MentionsProps } from './mentions/index.cjs';
|
|
83
|
+
export { MessagePanel } from './notice/content.cjs';
|
|
84
|
+
export type { MessagePanelProps } from './notice/content.cjs';
|
|
85
|
+
export { modal, default as Modal, ModalPanel } from './modal/index.cjs';
|
|
86
|
+
export type { ModalApiProps, ModalPanelProps, ModalProps } from './modal/index.cjs';
|
|
87
|
+
export { default as notice } from './notice/index.cjs';
|
|
88
|
+
export type { NoticeOptions } from './notice/index.cjs';
|
|
89
|
+
export { NoticePanel } from './notice/content.cjs';
|
|
90
|
+
export type { NoticePanelProps } from './notice/content.cjs';
|
|
91
|
+
export { default as Page } from './page/index.cjs';
|
|
92
|
+
export type { PageProps } from './page/index.cjs';
|
|
93
|
+
export { default as PageHeader } from './page-header/index.cjs';
|
|
94
|
+
export type { PageHeaderProps } from './page-header/index.cjs';
|
|
95
|
+
export { default as Poptip, PoptipPanel } from './poptip/index.cjs';
|
|
96
|
+
export type { PoptipPanelProps, PoptipProps } from './poptip/index.cjs';
|
|
97
|
+
export { default as Popconfirm, PopconfirmPanel } from './popconfirm/index.cjs';
|
|
98
|
+
export type { PopconfirmPanelProps, PopconfirmProps } from './popconfirm/index.cjs';
|
|
99
|
+
export { default as Progress } from './progress/index.cjs';
|
|
100
|
+
export type { ProgressProps, ProgressStatus, ProgressStroke, ProgressType } from './progress/index.cjs';
|
|
101
|
+
export { default as Ripple } from './ripple/index.cjs';
|
|
102
|
+
export type { RippleInstance, RippleOptions, RippleProps, RippleTrigger } from './ripple/index.cjs';
|
|
103
|
+
export { default as QRCode } from './qrcode/index.cjs';
|
|
104
|
+
export type { QRCodeErrorLevel, QRCodeProps, QRCodeRef, QRCodeStatus } from './qrcode/index.cjs';
|
|
105
|
+
export { Radio, RadioButton, RadioGroup } from './radio/index.cjs';
|
|
106
|
+
export type { RadioButtonProps, RadioGroupProps, RadioOption, RadioProps } from './radio/index.cjs';
|
|
107
|
+
export { default as Segmented } from './segmented/index.cjs';
|
|
108
|
+
export type { SegmentedOption, SegmentedProps, SegmentedValue } from './segmented/index.cjs';
|
|
109
|
+
export { default as Rate } from './rate/index.cjs';
|
|
110
|
+
export type { RateProps } from './rate/index.cjs';
|
|
111
|
+
export { default as Result } from './result/index.cjs';
|
|
112
|
+
export type { ResultProps, ResultStatus } from './result/index.cjs';
|
|
113
|
+
export { Option, Select } from './select/index.cjs';
|
|
114
|
+
export type { OptionProps, SelectOption, SelectProps } from './select/index.cjs';
|
|
115
|
+
export { default as ConfigProvider } from './config/index.cjs';
|
|
116
|
+
export type { ConfigProviderProps, Locale } from './config/index.cjs';
|
|
117
|
+
export { Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonText } from './skeleton/index.cjs';
|
|
118
|
+
export type { SkeletonAvatarProps, SkeletonButtonProps, SkeletonImageProps, SkeletonProps, SkeletonTextProps, } from './skeleton/index.cjs';
|
|
119
|
+
export { StatCard, StatNumber } from './stat-card/index.cjs';
|
|
120
|
+
export type { StatCardProps, StatNumberItem, StatNumberProps } from './stat-card/index.cjs';
|
|
121
|
+
export { default as Slider } from './slider/index.cjs';
|
|
122
|
+
export type { SliderProps } from './slider/index.cjs';
|
|
123
|
+
export { default as Space } from './space/index.cjs';
|
|
124
|
+
export type { SpaceProps } from './space/index.cjs';
|
|
125
|
+
export { default as Spin } from './spin/index.cjs';
|
|
126
|
+
export type { SpinProps } from './spin/index.cjs';
|
|
127
|
+
export { Step, default as Steps } from './steps/index.cjs';
|
|
128
|
+
export type { StepProps, StepsProps, StepStatus } from './steps/index.cjs';
|
|
129
|
+
export { default as Switch } from './switch/index.cjs';
|
|
130
|
+
export type { SwitchProps } from './switch/index.cjs';
|
|
131
|
+
export { Splitter, SplitterPanel } from './splitter/index.cjs';
|
|
132
|
+
export type { SplitterPanelProps, SplitterProps } from './splitter/index.cjs';
|
|
133
|
+
export { default as Table, TableColumnSetting } from './table/index.cjs';
|
|
134
|
+
export type { Column, SortState, TableKey, TableProps, TableTreeRow } from './table/index.cjs';
|
|
135
|
+
export { default as Tooltip, TooltipPanel } from './tooltip/index.cjs';
|
|
136
|
+
export type { TooltipPanelProps, TooltipProps } from './tooltip/index.cjs';
|
|
137
|
+
export { default as Tour } from './tour/index.cjs';
|
|
138
|
+
export type { TourProps, TourStep } from './tour/index.cjs';
|
|
139
|
+
export { TabPanel, Tabs } from './tabs/index.cjs';
|
|
140
|
+
export type { TabPanelProps, TabsProps } from './tabs/index.cjs';
|
|
141
|
+
export { TimeLine, TimeLineItem } from './time-line/index.cjs';
|
|
142
|
+
export type { TimelineItemProps, TimelineMode, TimelineProps } from './time-line/index.cjs';
|
|
143
|
+
export { default as Tree } from './tree/index.cjs';
|
|
144
|
+
export type { TreeDropEvent, TreeDropPosition, TreeExpandEvent, TreeExpose, TreeFieldNames, TreeNode, TreeNodeData, TreeProps, } from './tree/index.cjs';
|
|
145
|
+
export { default as TreeSelect } from './tree-select/index.cjs';
|
|
146
|
+
export type { TreeSelectProps } from './tree-select/index.cjs';
|
|
147
|
+
export { default as Cascader } from './cascader/index.cjs';
|
|
148
|
+
export type { CascaderLoadData, CascaderOption, CascaderProps, CascaderValue } from './cascader/index.cjs';
|
|
149
|
+
export { default as Tag } from './tag/index.cjs';
|
|
150
|
+
export type { TagProps } from './tag/index.cjs';
|
|
151
|
+
export { Col, Row } from './row-col/index.cjs';
|
|
152
|
+
export type { ColProps, ColResponsiveSize, ColSize, RowProps } from './row-col/index.cjs';
|
|
153
|
+
export { default as Upload } from './upload/index.cjs';
|
|
154
|
+
export type { UploadChangeEvent, UploadContext, UploadCustomRequest, UploadFile, UploadProps, UploadRef, UploadRequestHandle, UploadRequestOptions, UploadSortEvent, } from './upload/index.cjs';
|
|
155
|
+
export { default as Watermark } from './watermark/index.cjs';
|
|
156
|
+
export type { WatermarkLayoutType, WatermarkProps, WatermarkTextItem } from './watermark/index.cjs';
|
|
157
|
+
export { default as theme } from './utils/theme.cjs';
|
|
158
|
+
export type { AlignType, BooleanType, ButtonType, ColorType, DirectionType, DrawerPlacementsType, DropPlacementsType, PlacementsType, RadioType, ShapeType, SizeType, SpinModeType, ThemeType, TriggerType, UploadStatusType, ValueType, } from './const/types.cjs';
|
|
159
|
+
export { default as VirtualList } from './virtual-list/index.cjs';
|
|
160
|
+
export type { VirtualListKey, VirtualListProps, VirtualListRef } from './virtual-list/index.cjs';
|
|
161
|
+
export { getVirtualRange } from './virtual-list/range.cjs';
|
|
162
|
+
export { default as Transfer } from './transfer/index.cjs';
|
|
163
|
+
export type { TransferChangeEvent, TransferItem, TransferKey, TransferProps } from './transfer/index.cjs';
|
|
164
|
+
export { default as Typography, TypographyParagraph, TypographyText, TypographyTitle, } from './typography/index.cjs';
|
|
165
|
+
export type { TypographyCopyableOptions, TypographyEditableOptions, TypographyEllipsisOptions, TypographyProps, TypographyTag, TypographyType, } from './typography/index.cjs';
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
export { default as Affix } from './affix/index.js';
|
|
2
|
+
export type { AffixProps } from './affix/index.js';
|
|
3
|
+
export { default as Alert } from './alert/index.js';
|
|
4
|
+
export type { AlertProps } from './alert/index.js';
|
|
5
|
+
export { default as Calendar } from './calendar/index.js';
|
|
6
|
+
export type { CalendarDateCell, CalendarEventData, CalendarProps } from './calendar/index.js';
|
|
7
|
+
export { default as Kanban } from './kanban/index.js';
|
|
8
|
+
export type { KanbanColumnData, KanbanItemData, KanbanMoveEvent, KanbanProps } from './kanban/index.js';
|
|
9
|
+
export { default as ListPanel } from './list-panel/index.js';
|
|
10
|
+
export type { ListPanelProps } from './list-panel/index.js';
|
|
11
|
+
export { default as AutoComplete } from './auto-complete/index.js';
|
|
12
|
+
export type { AutoCompleteOption, AutoCompleteProps } from './auto-complete/index.js';
|
|
13
|
+
export { Anchor, AnchorLink } from './anchor/index.js';
|
|
14
|
+
export type { AnchorLinkProps, AnchorProps } from './anchor/index.js';
|
|
15
|
+
export { Avatar, AvatarGroup } from './avatar/index.js';
|
|
16
|
+
export type { AvatarGroupProps, AvatarProps } from './avatar/index.js';
|
|
17
|
+
export { Breadcrumb, BreadcrumbItem } from './breadcrumb/index.js';
|
|
18
|
+
export type { BreadcrumbItemProps, BreadcrumbProps } from './breadcrumb/index.js';
|
|
19
|
+
export { default as BackTop } from './back-top/index.js';
|
|
20
|
+
export type { BackTopProps } from './back-top/index.js';
|
|
21
|
+
export { default as Badge } from './badge/index.js';
|
|
22
|
+
export type { BadgeProps, BadgeStatusType } from './badge/index.js';
|
|
23
|
+
export { Button, ButtonGroup } from './button/index.js';
|
|
24
|
+
export type { ButtonGroupProps, ButtonProps } from './button/index.js';
|
|
25
|
+
export { default as Card, CardMeta } from './card/index.js';
|
|
26
|
+
export type { CardMetaProps, CardProps } from './card/index.js';
|
|
27
|
+
export { Carousel, CarouselItem } from './carousel/index.js';
|
|
28
|
+
export type { CarouselItemProps, CarouselProps, CarouselRef } from './carousel/index.js';
|
|
29
|
+
export { Checkbox, CheckboxGroup } from './checkbox/index.js';
|
|
30
|
+
export type { ChangeEvent, CheckboxGroupProps, CheckboxOption, CheckboxProps } from './checkbox/index.js';
|
|
31
|
+
export { CheckCard, CheckCardGroup } from './check-card/index.js';
|
|
32
|
+
export type { CheckCardChangeEvent, CheckCardGroupProps, CheckCardOption, CheckCardProps, CheckCardTheme, CheckCardValue, } from './check-card/index.js';
|
|
33
|
+
export { Collapse, CollapsePanel } from './collapse/index.js';
|
|
34
|
+
export type { CollapsePanelProps, CollapseProps } from './collapse/index.js';
|
|
35
|
+
export { default as ColorPicker, ColorPickerPanel } from './color-picker/index.js';
|
|
36
|
+
export type { ColorPickerPanelProps, ColorPickerProps } from './color-picker/index.js';
|
|
37
|
+
export { default as DatePicker, DatePickerPanel } from './date-picker/index.js';
|
|
38
|
+
export type { DatePickerInput, DatePickerModeType, DatePickerOutput, DatePickerPanelProps, DatePickerPreset, DatePickerProps, DatePickerValueType, } from './date-picker/index.js';
|
|
39
|
+
export { Descriptions, DescriptionsItem } from './descriptions/index.js';
|
|
40
|
+
export type { DescriptionsColumn, DescriptionsItemProps, DescriptionsProps } from './descriptions/index.js';
|
|
41
|
+
export { default as Drawer } from './drawer/index.js';
|
|
42
|
+
export type { DrawerProps, DrawerTarget } from './drawer/index.js';
|
|
43
|
+
export { Dropdown, DropdownButton } from './dropdown/index.js';
|
|
44
|
+
export type { DropdownButtonProps, DropdownProps } from './dropdown/index.js';
|
|
45
|
+
export { default as Divider } from './divider/index.js';
|
|
46
|
+
export type { DividerProps } from './divider/index.js';
|
|
47
|
+
export { default as Empty } from './empty/index.js';
|
|
48
|
+
export type { EmptyProps } from './empty/index.js';
|
|
49
|
+
export { Form, FormItem } from './form/index.js';
|
|
50
|
+
export type { FormContext, FormExpose, FormItemProps, FormProps, FormRule, FormRules, FormSubmitEvent, FormValidateTrigger, } from './form/index.js';
|
|
51
|
+
export { default as Flex } from './flex/index.js';
|
|
52
|
+
export type { FlexAlignType, FlexJustifyType, FlexProps, FlexSizeType } from './flex/index.js';
|
|
53
|
+
export { default as FeatureCard } from './feature-card/index.js';
|
|
54
|
+
export type { FeatureCardProps } from './feature-card/index.js';
|
|
55
|
+
export { default as FlameWrap } from './flame-wrap/index.js';
|
|
56
|
+
export type { FlameWrapInstance, FlameWrapOptions, FlameWrapProps } from './flame-wrap/types.js';
|
|
57
|
+
export { default as FeedbackPanel } from './feedback-panel/index.js';
|
|
58
|
+
export type { FeedbackPanelKind, FeedbackPanelProps } from './feedback-panel/index.js';
|
|
59
|
+
export { Grid, GridItem } from './grid/index.js';
|
|
60
|
+
export type { GridItemProps, GridProps } from './grid/index.js';
|
|
61
|
+
export { ImageGroup, KImage } from './image/index.js';
|
|
62
|
+
export type { ImageGroupProps, ImagePreviewProps, ImageProps, ImageRef, ImageType } from './image/index.js';
|
|
63
|
+
export { default as Icon } from './icon/index.js';
|
|
64
|
+
export type { IconProps, IconType } from './icon/index.js';
|
|
65
|
+
export { Input, InputGroup, TextArea } from './input/index.js';
|
|
66
|
+
export type { InputGroupProps, InputProps, TextAreaProps } from './input/index.js';
|
|
67
|
+
export { default as InputTag } from './input-tag/index.js';
|
|
68
|
+
export type { InputTagProps } from './input-tag/index.js';
|
|
69
|
+
export { default as InputNumber } from './input-number/index.js';
|
|
70
|
+
export type { InputNumberProps } from './input-number/index.js';
|
|
71
|
+
export { default as InputOTP } from './input-otp/index.js';
|
|
72
|
+
export type { InputOTPProps, InputOTPRef, InputOTPValidator } from './input-otp/index.js';
|
|
73
|
+
export { Content, Footer, Header, Layout, Sider } from './layout/index.js';
|
|
74
|
+
export type { LayoutProps, SiderProps } from './layout/index.js';
|
|
75
|
+
export { default as loading } from './loading/index.js';
|
|
76
|
+
export type { LoadingProps } from './loading/index.js';
|
|
77
|
+
export { Menu, MenuDivider, MenuGroup, MenuItem, SubMenu } from './menu/index.js';
|
|
78
|
+
export type { MenuGroupProps, MenuItemProps, MenuOptionsProps, MenuProps, MenuSelectEvent, SubMenuProps, } from './menu/index.js';
|
|
79
|
+
export { default as message } from './message/index.js';
|
|
80
|
+
export type { MessageOptions } from './message/index.js';
|
|
81
|
+
export { default as Mentions } from './mentions/index.js';
|
|
82
|
+
export type { MentionOption, MentionsProps } from './mentions/index.js';
|
|
83
|
+
export { MessagePanel } from './notice/content.js';
|
|
84
|
+
export type { MessagePanelProps } from './notice/content.js';
|
|
85
|
+
export { modal, default as Modal, ModalPanel } from './modal/index.js';
|
|
86
|
+
export type { ModalApiProps, ModalPanelProps, ModalProps } from './modal/index.js';
|
|
87
|
+
export { default as notice } from './notice/index.js';
|
|
88
|
+
export type { NoticeOptions } from './notice/index.js';
|
|
89
|
+
export { NoticePanel } from './notice/content.js';
|
|
90
|
+
export type { NoticePanelProps } from './notice/content.js';
|
|
91
|
+
export { default as Page } from './page/index.js';
|
|
92
|
+
export type { PageProps } from './page/index.js';
|
|
93
|
+
export { default as PageHeader } from './page-header/index.js';
|
|
94
|
+
export type { PageHeaderProps } from './page-header/index.js';
|
|
95
|
+
export { default as Poptip, PoptipPanel } from './poptip/index.js';
|
|
96
|
+
export type { PoptipPanelProps, PoptipProps } from './poptip/index.js';
|
|
97
|
+
export { default as Popconfirm, PopconfirmPanel } from './popconfirm/index.js';
|
|
98
|
+
export type { PopconfirmPanelProps, PopconfirmProps } from './popconfirm/index.js';
|
|
99
|
+
export { default as Progress } from './progress/index.js';
|
|
100
|
+
export type { ProgressProps, ProgressStatus, ProgressStroke, ProgressType } from './progress/index.js';
|
|
101
|
+
export { default as Ripple } from './ripple/index.js';
|
|
102
|
+
export type { RippleInstance, RippleOptions, RippleProps, RippleTrigger } from './ripple/index.js';
|
|
103
|
+
export { default as QRCode } from './qrcode/index.js';
|
|
104
|
+
export type { QRCodeErrorLevel, QRCodeProps, QRCodeRef, QRCodeStatus } from './qrcode/index.js';
|
|
105
|
+
export { Radio, RadioButton, RadioGroup } from './radio/index.js';
|
|
106
|
+
export type { RadioButtonProps, RadioGroupProps, RadioOption, RadioProps } from './radio/index.js';
|
|
107
|
+
export { default as Segmented } from './segmented/index.js';
|
|
108
|
+
export type { SegmentedOption, SegmentedProps, SegmentedValue } from './segmented/index.js';
|
|
109
|
+
export { default as Rate } from './rate/index.js';
|
|
110
|
+
export type { RateProps } from './rate/index.js';
|
|
111
|
+
export { default as Result } from './result/index.js';
|
|
112
|
+
export type { ResultProps, ResultStatus } from './result/index.js';
|
|
113
|
+
export { Option, Select } from './select/index.js';
|
|
114
|
+
export type { OptionProps, SelectOption, SelectProps } from './select/index.js';
|
|
115
|
+
export { default as ConfigProvider } from './config/index.js';
|
|
116
|
+
export type { ConfigProviderProps, Locale } from './config/index.js';
|
|
117
|
+
export { Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonText } from './skeleton/index.js';
|
|
118
|
+
export type { SkeletonAvatarProps, SkeletonButtonProps, SkeletonImageProps, SkeletonProps, SkeletonTextProps, } from './skeleton/index.js';
|
|
119
|
+
export { StatCard, StatNumber } from './stat-card/index.js';
|
|
120
|
+
export type { StatCardProps, StatNumberItem, StatNumberProps } from './stat-card/index.js';
|
|
121
|
+
export { default as Slider } from './slider/index.js';
|
|
122
|
+
export type { SliderProps } from './slider/index.js';
|
|
123
|
+
export { default as Space } from './space/index.js';
|
|
124
|
+
export type { SpaceProps } from './space/index.js';
|
|
125
|
+
export { default as Spin } from './spin/index.js';
|
|
126
|
+
export type { SpinProps } from './spin/index.js';
|
|
127
|
+
export { Step, default as Steps } from './steps/index.js';
|
|
128
|
+
export type { StepProps, StepsProps, StepStatus } from './steps/index.js';
|
|
129
|
+
export { default as Switch } from './switch/index.js';
|
|
130
|
+
export type { SwitchProps } from './switch/index.js';
|
|
131
|
+
export { Splitter, SplitterPanel } from './splitter/index.js';
|
|
132
|
+
export type { SplitterPanelProps, SplitterProps } from './splitter/index.js';
|
|
133
|
+
export { default as Table, TableColumnSetting } from './table/index.js';
|
|
134
|
+
export type { Column, SortState, TableKey, TableProps, TableTreeRow } from './table/index.js';
|
|
135
|
+
export { default as Tooltip, TooltipPanel } from './tooltip/index.js';
|
|
136
|
+
export type { TooltipPanelProps, TooltipProps } from './tooltip/index.js';
|
|
137
|
+
export { default as Tour } from './tour/index.js';
|
|
138
|
+
export type { TourProps, TourStep } from './tour/index.js';
|
|
139
|
+
export { TabPanel, Tabs } from './tabs/index.js';
|
|
140
|
+
export type { TabPanelProps, TabsProps } from './tabs/index.js';
|
|
141
|
+
export { TimeLine, TimeLineItem } from './time-line/index.js';
|
|
142
|
+
export type { TimelineItemProps, TimelineMode, TimelineProps } from './time-line/index.js';
|
|
143
|
+
export { default as Tree } from './tree/index.js';
|
|
144
|
+
export type { TreeDropEvent, TreeDropPosition, TreeExpandEvent, TreeExpose, TreeFieldNames, TreeNode, TreeNodeData, TreeProps, } from './tree/index.js';
|
|
145
|
+
export { default as TreeSelect } from './tree-select/index.js';
|
|
146
|
+
export type { TreeSelectProps } from './tree-select/index.js';
|
|
147
|
+
export { default as Cascader } from './cascader/index.js';
|
|
148
|
+
export type { CascaderLoadData, CascaderOption, CascaderProps, CascaderValue } from './cascader/index.js';
|
|
149
|
+
export { default as Tag } from './tag/index.js';
|
|
150
|
+
export type { TagProps } from './tag/index.js';
|
|
151
|
+
export { Col, Row } from './row-col/index.js';
|
|
152
|
+
export type { ColProps, ColResponsiveSize, ColSize, RowProps } from './row-col/index.js';
|
|
153
|
+
export { default as Upload } from './upload/index.js';
|
|
154
|
+
export type { UploadChangeEvent, UploadContext, UploadCustomRequest, UploadFile, UploadProps, UploadRef, UploadRequestHandle, UploadRequestOptions, UploadSortEvent, } from './upload/index.js';
|
|
155
|
+
export { default as Watermark } from './watermark/index.js';
|
|
156
|
+
export type { WatermarkLayoutType, WatermarkProps, WatermarkTextItem } from './watermark/index.js';
|
|
157
|
+
export { default as theme } from './utils/theme.js';
|
|
158
|
+
export type { AlignType, BooleanType, ButtonType, ColorType, DirectionType, DrawerPlacementsType, DropPlacementsType, PlacementsType, RadioType, ShapeType, SizeType, SpinModeType, ThemeType, TriggerType, UploadStatusType, ValueType, } from './const/types.js';
|
|
159
|
+
export { default as VirtualList } from './virtual-list/index.js';
|
|
160
|
+
export type { VirtualListKey, VirtualListProps, VirtualListRef } from './virtual-list/index.js';
|
|
161
|
+
export { getVirtualRange } from './virtual-list/range.js';
|
|
162
|
+
export { default as Transfer } from './transfer/index.js';
|
|
163
|
+
export type { TransferChangeEvent, TransferItem, TransferKey, TransferProps } from './transfer/index.js';
|
|
164
|
+
export { default as Typography, TypographyParagraph, TypographyText, TypographyTitle, } from './typography/index.js';
|
|
165
|
+
export type { TypographyCopyableOptions, TypographyEditableOptions, TypographyEllipsisOptions, TypographyProps, TypographyTag, TypographyType, } from './typography/index.js';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as zhCN } from '../locale/zh-CN.cjs';
|
|
2
|
+
import { ShapeType, SizeType, ThemeType } from '../const/types.cjs';
|
|
3
|
+
export type Locale = typeof zhCN & Record<string, unknown>;
|
|
4
|
+
export interface ConfigContextValue {
|
|
5
|
+
locale: Locale | null;
|
|
6
|
+
getPopupContainer?: () => HTMLElement | null | undefined;
|
|
7
|
+
size?: SizeType;
|
|
8
|
+
shape?: ShapeType;
|
|
9
|
+
theme?: ThemeType;
|
|
10
|
+
}
|
|
11
|
+
export declare const ConfigContext: import('react').Context<ConfigContextValue>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as zhCN } from '../locale/zh-CN.js';
|
|
2
|
+
import { ShapeType, SizeType, ThemeType } from '../const/types.js';
|
|
3
|
+
export type Locale = typeof zhCN & Record<string, unknown>;
|
|
4
|
+
export interface ConfigContextValue {
|
|
5
|
+
locale: Locale | null;
|
|
6
|
+
getPopupContainer?: () => HTMLElement | null | undefined;
|
|
7
|
+
size?: SizeType;
|
|
8
|
+
shape?: ShapeType;
|
|
9
|
+
theme?: ThemeType;
|
|
10
|
+
}
|
|
11
|
+
export declare const ConfigContext: import('react').Context<ConfigContextValue>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Locale } from './config-context.cjs';
|
|
3
|
+
import { ShapeType, SizeType, ThemeType } from '../const/types.cjs';
|
|
4
|
+
export type { Locale } from './config-context.cjs';
|
|
5
|
+
export interface ConfigProviderProps {
|
|
6
|
+
locale?: Locale | null;
|
|
7
|
+
getPopupContainer?: () => HTMLElement | null | undefined;
|
|
8
|
+
size?: SizeType;
|
|
9
|
+
shape?: ShapeType;
|
|
10
|
+
theme?: ThemeType;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
declare const ConfigProvider: React.FC<ConfigProviderProps>;
|
|
14
|
+
export default ConfigProvider;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Locale } from './config-context.js';
|
|
3
|
+
import { ShapeType, SizeType, ThemeType } from '../const/types.js';
|
|
4
|
+
export type { Locale } from './config-context.js';
|
|
5
|
+
export interface ConfigProviderProps {
|
|
6
|
+
locale?: Locale | null;
|
|
7
|
+
getPopupContainer?: () => HTMLElement | null | undefined;
|
|
8
|
+
size?: SizeType;
|
|
9
|
+
shape?: ShapeType;
|
|
10
|
+
theme?: ThemeType;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
declare const ConfigProvider: React.FC<ConfigProviderProps>;
|
|
14
|
+
export default ConfigProvider;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ShapeType } from '../const/types.cjs';
|
|
2
|
+
export declare function useConfigAppearance(): {
|
|
3
|
+
size: import('../index.cjs').SizeType | undefined;
|
|
4
|
+
shape: ShapeType | undefined;
|
|
5
|
+
theme: import('../index.cjs').ThemeType | undefined;
|
|
6
|
+
};
|
|
7
|
+
export declare function normalizeSurfaceShape(shape: ShapeType | undefined): "round" | "default" | "square" | undefined;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ShapeType } from '../const/types.js';
|
|
2
|
+
export declare function useConfigAppearance(): {
|
|
3
|
+
size: import('../index.js').SizeType | undefined;
|
|
4
|
+
shape: ShapeType | undefined;
|
|
5
|
+
theme: import('../index.js').ThemeType | undefined;
|
|
6
|
+
};
|
|
7
|
+
export declare function normalizeSurfaceShape(shape: ShapeType | undefined): "round" | "default" | "square" | undefined;
|