react-kui 3.0.0 → 3.1.1
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 +86 -1
- package/AI.md +68 -4
- package/ai/behaviors.json +114 -14
- package/ai/cli.mjs +180 -17
- package/ai/descriptions.json +446 -0
- package/ai/kui-components.json +4591 -3846
- package/ai/mcp.mjs +2 -189
- package/ai/query.mjs +195 -0
- package/ai/skills/react-kui/SKILL.md +41 -9
- package/ai/skills/react-kui/references/mcp.md +11 -1
- package/ai/skills/react-kui/references/react-to-vue.md +110 -0
- package/ai/skills/react-kui/references/vue-to-react.md +86 -0
- package/ai/validate.mjs +18 -0
- package/es/_virtual/_rolldown/runtime.js +1 -1
- package/es/affix/index.js +1 -1
- package/es/alert/index.js +29 -15
- package/es/anchor/anchor-context.js +1 -1
- package/es/anchor/anchor-link.js +1 -1
- package/es/anchor/anchor.js +1 -1
- package/es/auto-complete/index.js +378 -437
- package/es/avatar/avatar-group-context.js +1 -1
- package/es/avatar/avatar-group.js +1 -1
- package/es/avatar/avatar.js +2 -2
- package/es/back-top/index.js +3 -3
- package/es/badge/index.js +6 -2
- package/es/base/teleport.js +19 -30
- package/es/base/transition-props.js +1 -1
- package/es/base/transition.js +3 -3
- package/es/breadcrumb/breadcrumb-context.js +1 -1
- package/es/breadcrumb/breadcrumb-item.js +1 -1
- package/es/breadcrumb/breadcrumb.js +1 -1
- package/es/button/button-group-context.js +1 -1
- package/es/button/button-group.js +1 -1
- package/es/button/button.js +2 -2
- package/es/calendar/index.js +1 -1
- package/es/card/index.js +1 -1
- package/es/carousel/carousel-context.js +1 -1
- package/es/carousel/carousel-item.js +1 -1
- package/es/carousel/carousel.js +522 -274
- package/es/carousel/drag.js +169 -0
- package/es/cascader/index.js +104 -170
- package/es/check-card/check-card-group.js +1 -1
- package/es/check-card/check-card.js +143 -143
- package/es/check-card/context.js +1 -1
- package/es/checkbox/checkbox-group-context.js +1 -1
- package/es/checkbox/checkbox-group.js +1 -1
- package/es/checkbox/checkbox.js +131 -112
- package/es/checkbox/index.js +1 -1
- package/es/collapse/collapse-panel.js +2 -2
- package/es/collapse/collapse.js +96 -103
- package/es/color-picker/alpha.js +81 -63
- package/es/color-picker/hue.js +69 -51
- package/es/color-picker/index.js +79 -128
- package/es/color-picker/mode.js +1 -1
- package/es/color-picker/paint.js +85 -67
- package/es/color-picker/presets.js +1 -1
- package/es/components.js +4 -2
- package/es/config/config-context.js +1 -1
- package/es/config/context.js +1 -1
- package/es/config/index.js +1 -1
- package/es/config/size-context.js +1 -1
- package/es/config/use-config-appearance.js +1 -1
- package/es/const/var.js +1 -1
- package/es/date-picker/index.js +591 -678
- package/es/descriptions/descriptions-item.js +1 -1
- package/es/descriptions/descriptions.js +2 -2
- package/es/divider/index.js +1 -1
- package/es/drawer/index.js +193 -190
- package/es/dropdown/dropdown-button.js +1 -1
- package/es/dropdown/dropdown-context.js +1 -1
- package/es/dropdown/dropdown.js +173 -331
- package/es/dropdown/trigger.js +1 -1
- package/es/empty/index.js +1 -1
- package/es/feature-card/index.js +1 -1
- package/es/feedback-panel/index.js +1 -1
- package/es/flame-wrap/index.js +1 -1
- package/es/flame-wrap/types.js +1 -1
- package/es/flex/index.js +1 -1
- package/es/form/field-context.js +1 -1
- package/es/form/form-context.js +1 -1
- package/es/form/form-item.js +2 -2
- package/es/form/form.js +1 -1
- package/es/form/utils.js +1 -1
- package/es/grid/grid-item.js +1 -1
- package/es/grid/grid.js +1 -1
- package/es/grid/useBreakpoint.js +1 -1
- package/es/icon/index.js +1 -1
- package/es/image/group.js +1 -1
- package/es/image/image-group-context.js +1 -1
- package/es/image/image.js +1 -1
- package/es/image/instance.js +1 -1
- package/es/image/preview.js +2 -2
- package/es/image/utils.js +1 -1
- package/es/index.js +3 -2
- package/es/input/index.js +1 -1
- package/es/input/input-base.js +202 -0
- package/es/input/input-box.js +1 -1
- package/es/input/input-group.js +2 -2
- package/es/input/input.js +19 -188
- package/es/input/textarea.js +1 -1
- package/es/input-number/index.js +4 -4
- package/es/input-otp/index.js +2 -1
- package/es/input-tag/index.js +13 -43
- package/es/kanban/index.js +1 -1
- package/es/layout/index.js +1 -1
- package/es/layout/layout-context.js +1 -1
- package/es/list-panel/index.js +1 -1
- package/es/loading/index.js +1 -1
- package/es/loading/loading-bar.js +1 -1
- package/es/locale/de.js +1 -1
- package/es/locale/el.js +1 -1
- package/es/locale/en.js +1 -1
- package/es/locale/fr.js +1 -1
- package/es/locale/it.js +1 -1
- package/es/locale/ja.js +1 -1
- package/es/locale/ko.js +1 -1
- package/es/locale/ru.js +1 -1
- package/es/locale/th.js +1 -1
- package/es/locale/uk.js +1 -1
- package/es/locale/vi.js +1 -1
- package/es/locale/zh-CN.js +1 -1
- package/es/locale/zh-TW.js +1 -1
- package/es/mentions/index.js +341 -387
- package/es/menu/menu-context.js +1 -1
- package/es/menu/menu-divider.js +1 -1
- package/es/menu/menu-group.js +1 -1
- package/es/menu/menu-item.js +3 -3
- package/es/menu/menu-keyboard.js +1 -1
- package/es/menu/menu.js +215 -220
- package/es/menu/recursive-menu.js +1 -1
- package/es/menu/sub-menu.js +3 -3
- package/es/message/index.js +1 -1
- package/es/modal/api.js +1 -1
- package/es/modal/modal.js +247 -244
- package/es/modal/toast.js +1 -1
- package/es/node_modules/.pnpm/kui-icons@5.0.0/node_modules/kui-icons/dist/kui-icons.esm.js +1 -1
- package/es/notice/container.js +1 -1
- package/es/notice/content.js +1 -1
- package/es/notice/index.js +1 -1
- package/es/notice/instance.js +1 -1
- package/es/page/index.js +101 -78
- package/es/page/responsive.js +96 -0
- package/es/page-header/index.js +1 -1
- package/es/popconfirm/index.js +89 -241
- package/es/poptip/index.js +83 -243
- package/es/popup/index.js +429 -0
- package/es/popup/layers.js +33 -0
- package/es/progress/index.js +1 -1
- package/es/qrcode/index.js +1 -1
- package/es/radio/radio-button.js +53 -53
- package/es/radio/radio-group-context.js +1 -1
- package/es/radio/radio-group.js +1 -1
- package/es/radio/radio.js +110 -91
- package/es/rate/index.js +58 -57
- package/es/rate/star.js +1 -1
- package/es/result/index.js +1 -1
- package/es/ripple/index.js +1 -1
- package/es/ripple/types.js +1 -1
- package/es/row-col/col.js +1 -1
- package/es/row-col/row.js +1 -1
- package/es/segmented/index.js +1 -1
- package/es/select/option.js +69 -61
- package/es/select/select.js +78 -213
- package/es/skeleton/skeleton-avatar.js +1 -1
- package/es/skeleton/skeleton-button.js +1 -1
- package/es/skeleton/skeleton-image.js +1 -1
- package/es/skeleton/skeleton-text.js +1 -1
- package/es/skeleton/skeleton.js +1 -1
- package/es/skeleton/use-skeleton-loading.js +1 -1
- package/es/slider/index.js +89 -55
- package/es/slider/thumb.js +2 -1
- package/es/space/index.js +2 -2
- package/es/spin/index.js +1 -1
- package/es/splitter/splitter-panel.js +1 -1
- package/es/splitter/splitter.js +1 -1
- package/es/stat-card/countup.js +8 -4
- package/es/stat-card/rollup.js +122 -0
- package/es/stat-card/stat-card.js +1 -1
- package/es/stat-card/stat-number.js +1 -1
- package/es/stat-card/utils/countup.js +2 -2
- package/es/stat-card/utils/odometer.js +104 -107
- package/es/steps/index.js +1 -1
- package/es/switch/index.js +7 -6
- package/es/table/column-setting.js +1 -1
- package/es/table/index.js +33 -29
- package/es/table/utils.js +1 -1
- package/es/tabs/tab-panel.js +1 -1
- package/es/tabs/tabs.js +15 -6
- package/es/tag/index.js +9 -5
- package/es/time-line/timeline-item.js +1 -1
- package/es/time-line/timeline.js +1 -1
- package/es/tooltip/index.js +127 -248
- package/es/tour/index.js +198 -193
- package/es/transfer/index.js +245 -246
- package/es/tree/index.js +72 -67
- package/es/tree/utils.js +1 -1
- package/es/tree-select/index.js +562 -655
- package/es/typography/index.js +1 -1
- package/es/upload/file-list.js +3 -1
- package/es/upload/index.js +8 -8
- package/es/upload/picture-sort.js +1 -1
- package/es/upload/selector.js +121 -116
- package/es/utils/checked.js +1 -1
- package/es/utils/color.js +1 -1
- package/es/utils/number.js +1 -1
- package/es/utils/placement.js +1 -1
- package/es/utils/popup.js +42 -0
- package/es/utils/react-node.js +1 -1
- package/es/utils/selection-tags.js +55 -0
- package/es/utils/share.js +1 -1
- package/es/utils/theme.js +1 -1
- package/es/utils/transition.js +1 -1
- package/es/utils/use-value.js +1 -1
- package/es/virtual-list/index.js +1 -1
- package/es/virtual-list/range.js +1 -1
- package/es/watermark/index.js +1 -1
- package/lib/index.cjs +2 -2
- package/lib/locale/de.cjs +1 -1
- package/lib/locale/el.cjs +1 -1
- package/lib/locale/en.cjs +1 -1
- package/lib/locale/fr.cjs +1 -1
- package/lib/locale/it.cjs +1 -1
- package/lib/locale/ja.cjs +1 -1
- package/lib/locale/ko.cjs +1 -1
- package/lib/locale/ru.cjs +1 -1
- package/lib/locale/th.cjs +1 -1
- package/lib/locale/uk.cjs +1 -1
- package/lib/locale/vi.cjs +1 -1
- package/lib/locale/zh-CN.cjs +1 -1
- package/lib/locale/zh-TW.cjs +1 -1
- package/package.json +35 -29
- package/style/base.css +1 -1
- package/style/components.css +2 -2
- package/style/index.css +2 -2
- package/style/theme.css +2 -2
- package/types/affix/index.d.cts +1 -1
- package/types/affix/index.d.ts +1 -1
- package/types/alert/index.d.cts +2 -1
- package/types/alert/index.d.ts +2 -1
- package/types/anchor/anchor-link.d.cts +1 -1
- package/types/anchor/anchor-link.d.ts +1 -1
- package/types/anchor/anchor.d.cts +1 -1
- package/types/anchor/anchor.d.ts +1 -1
- package/types/auto-complete/index.d.cts +1 -2
- package/types/auto-complete/index.d.ts +1 -2
- package/types/avatar/avatar-group.d.cts +1 -1
- package/types/avatar/avatar-group.d.ts +1 -1
- package/types/avatar/avatar.d.cts +1 -1
- package/types/avatar/avatar.d.ts +1 -1
- package/types/back-top/index.d.cts +1 -1
- package/types/back-top/index.d.ts +1 -1
- package/types/badge/index.d.cts +1 -1
- package/types/badge/index.d.ts +1 -1
- package/types/base/transition.d.cts +1 -0
- package/types/base/transition.d.ts +1 -0
- package/types/breadcrumb/breadcrumb-item.d.cts +1 -1
- package/types/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/types/breadcrumb/breadcrumb.d.cts +1 -1
- package/types/breadcrumb/breadcrumb.d.ts +1 -1
- package/types/button/button-group.d.cts +1 -1
- package/types/button/button-group.d.ts +1 -1
- package/types/button/button.d.cts +1 -1
- package/types/button/button.d.ts +1 -1
- package/types/calendar/index.d.cts +1 -1
- package/types/calendar/index.d.ts +1 -1
- package/types/card/index.d.cts +2 -2
- package/types/card/index.d.ts +2 -2
- package/types/carousel/carousel-item.d.cts +1 -1
- package/types/carousel/carousel-item.d.ts +1 -1
- package/types/carousel/carousel.d.cts +2 -1
- package/types/carousel/carousel.d.ts +2 -1
- package/types/carousel/drag.d.cts +19 -0
- package/types/carousel/drag.d.ts +19 -0
- package/types/cascader/index.d.cts +1 -1
- package/types/cascader/index.d.ts +1 -1
- package/types/cascader/types.d.cts +1 -2
- package/types/cascader/types.d.ts +1 -2
- package/types/check-card/types.d.cts +2 -3
- package/types/check-card/types.d.ts +2 -3
- package/types/checkbox/checkbox-group.d.cts +1 -1
- package/types/checkbox/checkbox-group.d.ts +1 -1
- package/types/checkbox/checkbox.d.cts +1 -2
- package/types/checkbox/checkbox.d.ts +1 -2
- package/types/checkbox/index.d.cts +1 -1
- package/types/checkbox/index.d.ts +1 -1
- package/types/collapse/collapse-panel.d.cts +1 -1
- package/types/collapse/collapse-panel.d.ts +1 -1
- package/types/collapse/collapse.d.cts +1 -2
- package/types/collapse/collapse.d.ts +1 -2
- package/types/color-picker/alpha.d.cts +2 -1
- package/types/color-picker/alpha.d.ts +2 -1
- package/types/color-picker/hue.d.cts +2 -1
- package/types/color-picker/hue.d.ts +2 -1
- package/types/color-picker/index.d.cts +3 -4
- package/types/color-picker/index.d.ts +3 -4
- package/types/color-picker/paint.d.cts +2 -1
- package/types/color-picker/paint.d.ts +2 -1
- package/types/components.d.cts +17 -13
- package/types/components.d.ts +17 -13
- package/types/date-picker/index.d.cts +3 -4
- package/types/date-picker/index.d.ts +3 -4
- package/types/descriptions/descriptions.d.cts +1 -1
- package/types/descriptions/descriptions.d.ts +1 -1
- package/types/divider/index.d.cts +1 -1
- package/types/divider/index.d.ts +1 -1
- package/types/drawer/index.d.cts +0 -1
- package/types/drawer/index.d.ts +0 -1
- package/types/dropdown/dropdown-button.d.cts +1 -1
- package/types/dropdown/dropdown-button.d.ts +1 -1
- package/types/dropdown/dropdown.d.cts +1 -2
- package/types/dropdown/dropdown.d.ts +1 -2
- package/types/empty/index.d.cts +1 -1
- package/types/empty/index.d.ts +1 -1
- package/types/feature-card/index.d.cts +1 -1
- package/types/feature-card/index.d.ts +1 -1
- package/types/feedback-panel/index.d.cts +1 -1
- package/types/feedback-panel/index.d.ts +1 -1
- package/types/flex/index.d.cts +1 -1
- package/types/flex/index.d.ts +1 -1
- package/types/form/form.d.cts +1 -1
- package/types/form/form.d.ts +1 -1
- package/types/grid/grid-item.d.cts +1 -1
- package/types/grid/grid-item.d.ts +1 -1
- package/types/grid/grid.d.cts +1 -1
- package/types/grid/grid.d.ts +1 -1
- package/types/icon/index.d.cts +1 -1
- package/types/icon/index.d.ts +1 -1
- package/types/image/group.d.cts +1 -1
- package/types/image/group.d.ts +1 -1
- package/types/image/image.d.cts +1 -1
- package/types/image/image.d.ts +1 -1
- package/types/input/index.d.cts +1 -1
- package/types/input/index.d.ts +1 -1
- package/types/input/input-base.d.cts +31 -0
- package/types/input/input-base.d.ts +31 -0
- package/types/input/input-box.d.cts +1 -1
- package/types/input/input-box.d.ts +1 -1
- package/types/input/input-group.d.cts +1 -1
- package/types/input/input-group.d.ts +1 -1
- package/types/input/input.d.cts +2 -25
- package/types/input/input.d.ts +2 -25
- package/types/input/textarea.d.cts +1 -1
- package/types/input/textarea.d.ts +1 -1
- package/types/input-number/index.d.cts +1 -1
- package/types/input-number/index.d.ts +1 -1
- package/types/input-otp/index.d.cts +1 -1
- package/types/input-otp/index.d.ts +1 -1
- package/types/input-tag/index.d.cts +1 -1
- package/types/input-tag/index.d.ts +1 -1
- package/types/kanban/index.d.cts +1 -1
- package/types/kanban/index.d.ts +1 -1
- package/types/layout/index.d.cts +2 -2
- package/types/layout/index.d.ts +2 -2
- package/types/list-panel/index.d.cts +1 -1
- package/types/list-panel/index.d.ts +1 -1
- package/types/mentions/index.d.cts +1 -1
- package/types/mentions/index.d.ts +1 -1
- package/types/menu/menu.d.cts +1 -2
- package/types/menu/menu.d.ts +1 -2
- package/types/modal/modal.d.cts +1 -2
- package/types/modal/modal.d.ts +1 -2
- package/types/page/index.d.cts +2 -1
- package/types/page/index.d.ts +2 -1
- package/types/page/responsive.d.cts +1 -0
- package/types/page/responsive.d.ts +1 -0
- package/types/page-header/index.d.cts +1 -1
- package/types/page-header/index.d.ts +1 -1
- package/types/popconfirm/index.d.cts +1 -2
- package/types/popconfirm/index.d.ts +1 -2
- package/types/poptip/index.d.cts +1 -2
- package/types/poptip/index.d.ts +1 -2
- package/types/popup/index.d.cts +48 -0
- package/types/popup/index.d.ts +48 -0
- package/types/popup/layers.d.cts +9 -0
- package/types/popup/layers.d.ts +9 -0
- package/types/popup/types.d.cts +15 -0
- package/types/popup/types.d.ts +15 -0
- package/types/progress/index.d.cts +1 -1
- package/types/progress/index.d.ts +1 -1
- package/types/qrcode/index.d.cts +1 -1
- package/types/qrcode/index.d.ts +1 -1
- package/types/radio/index.d.cts +1 -0
- package/types/radio/index.d.ts +1 -0
- package/types/radio/radio-button.d.cts +1 -2
- package/types/radio/radio-button.d.ts +1 -2
- package/types/radio/radio-group.d.cts +1 -1
- package/types/radio/radio-group.d.ts +1 -1
- package/types/radio/radio.d.cts +1 -2
- package/types/radio/radio.d.ts +1 -2
- package/types/rate/index.d.cts +1 -1
- package/types/rate/index.d.ts +1 -1
- package/types/result/index.d.cts +1 -1
- package/types/result/index.d.ts +1 -1
- package/types/row-col/col.d.cts +1 -1
- package/types/row-col/col.d.ts +1 -1
- package/types/row-col/row.d.cts +1 -1
- package/types/row-col/row.d.ts +1 -1
- package/types/segmented/index.d.cts +1 -1
- package/types/segmented/index.d.ts +1 -1
- package/types/select/index.d.cts +2 -2
- package/types/select/index.d.ts +2 -2
- package/types/select/option.d.cts +1 -1
- package/types/select/option.d.ts +1 -1
- package/types/select/select.d.cts +1 -2
- package/types/select/select.d.ts +1 -2
- package/types/skeleton/skeleton-avatar.d.cts +1 -1
- package/types/skeleton/skeleton-avatar.d.ts +1 -1
- package/types/skeleton/skeleton-button.d.cts +1 -1
- package/types/skeleton/skeleton-button.d.ts +1 -1
- package/types/skeleton/skeleton-image.d.cts +1 -1
- package/types/skeleton/skeleton-image.d.ts +1 -1
- package/types/skeleton/skeleton-text.d.cts +1 -1
- package/types/skeleton/skeleton-text.d.ts +1 -1
- package/types/skeleton/skeleton.d.cts +1 -1
- package/types/skeleton/skeleton.d.ts +1 -1
- package/types/slider/index.d.cts +1 -1
- package/types/slider/index.d.ts +1 -1
- package/types/space/index.d.cts +1 -1
- package/types/space/index.d.ts +1 -1
- package/types/spin/index.d.cts +1 -1
- package/types/spin/index.d.ts +1 -1
- package/types/splitter/splitter-panel.d.cts +1 -1
- package/types/splitter/splitter-panel.d.ts +1 -1
- package/types/splitter/splitter.d.cts +1 -1
- package/types/splitter/splitter.d.ts +1 -1
- package/types/stat-card/countup.d.cts +1 -1
- package/types/stat-card/countup.d.ts +1 -1
- package/types/stat-card/rollup.d.cts +3 -2
- package/types/stat-card/rollup.d.ts +3 -2
- package/types/stat-card/stat-card.d.cts +1 -1
- package/types/stat-card/stat-card.d.ts +1 -1
- package/types/stat-card/stat-number.d.cts +1 -1
- package/types/stat-card/stat-number.d.ts +1 -1
- package/types/stat-card/utils/countup.d.cts +1 -1
- package/types/stat-card/utils/countup.d.ts +1 -1
- package/types/stat-card/utils/odometer.d.cts +7 -4
- package/types/stat-card/utils/odometer.d.ts +7 -4
- package/types/steps/index.d.cts +1 -1
- package/types/steps/index.d.ts +1 -1
- package/types/switch/index.d.cts +1 -2
- package/types/switch/index.d.ts +1 -2
- package/types/table/index.d.cts +1 -1
- package/types/table/index.d.ts +1 -1
- package/types/table/types.d.cts +2 -4
- package/types/table/types.d.ts +2 -4
- package/types/tabs/index.d.cts +1 -0
- package/types/tabs/index.d.ts +1 -0
- package/types/tabs/tab-panel.d.cts +1 -1
- package/types/tabs/tab-panel.d.ts +1 -1
- package/types/tabs/tabs.d.cts +1 -1
- package/types/tabs/tabs.d.ts +1 -1
- package/types/tag/index.d.cts +2 -1
- package/types/tag/index.d.ts +2 -1
- package/types/time-line/timeline-item.d.cts +1 -1
- package/types/time-line/timeline-item.d.ts +1 -1
- package/types/time-line/timeline.d.cts +1 -1
- package/types/time-line/timeline.d.ts +1 -1
- package/types/tooltip/index.d.cts +2 -2
- package/types/tooltip/index.d.ts +2 -2
- package/types/tour/index.d.cts +0 -2
- package/types/tour/index.d.ts +0 -2
- package/types/transfer/index.d.cts +2 -3
- package/types/transfer/index.d.ts +2 -3
- package/types/tree/index.d.cts +2 -4
- package/types/tree/index.d.ts +2 -4
- package/types/tree-select/index.d.cts +2 -3
- package/types/tree-select/index.d.ts +2 -3
- package/types/typography/index.d.cts +1 -1
- package/types/typography/index.d.ts +1 -1
- package/types/upload/index.d.cts +1 -2
- package/types/upload/index.d.ts +1 -2
- package/types/upload/selector.d.cts +1 -1
- package/types/upload/selector.d.ts +1 -1
- package/types/utils/popup.d.cts +11 -0
- package/types/utils/popup.d.ts +11 -0
- package/types/utils/selection-tags.d.cts +19 -0
- package/types/utils/selection-tags.d.ts +19 -0
- package/types/virtual-list/index.d.cts +1 -1
- package/types/virtual-list/index.d.ts +1 -1
- package/types/watermark/index.d.cts +1 -1
- package/types/watermark/index.d.ts +1 -1
|
@@ -5,9 +5,8 @@ export interface ChangeEvent {
|
|
|
5
5
|
label?: React.ReactNode;
|
|
6
6
|
checked: boolean;
|
|
7
7
|
}
|
|
8
|
-
export interface CheckboxProps extends Omit<React.HTMLAttributes<HTMLLabelElement>, "onChange"> {
|
|
8
|
+
export interface CheckboxProps extends Omit<React.HTMLAttributes<HTMLLabelElement>, "onChange" | "defaultValue" | "defaultChecked"> {
|
|
9
9
|
checked?: boolean;
|
|
10
|
-
defaultChecked?: boolean;
|
|
11
10
|
valueType?: ValueType;
|
|
12
11
|
value?: unknown;
|
|
13
12
|
label?: React.ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as Checkbox } from './checkbox.cjs';
|
|
2
2
|
import { default as CheckboxGroup } from './checkbox-group.cjs';
|
|
3
|
-
export type { ChangeEvent, CheckboxProps } from './checkbox.cjs';
|
|
3
|
+
export type { ChangeEvent, ChangeEvent as CheckboxChangeEvent, CheckboxProps } from './checkbox.cjs';
|
|
4
4
|
export type { CheckboxGroupProps, CheckboxOption } from './checkbox-group.cjs';
|
|
5
5
|
export { Checkbox, CheckboxGroup };
|
|
6
6
|
export default Checkbox;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as Checkbox } from './checkbox.js';
|
|
2
2
|
import { default as CheckboxGroup } from './checkbox-group.js';
|
|
3
|
-
export type { ChangeEvent, CheckboxProps } from './checkbox.js';
|
|
3
|
+
export type { ChangeEvent, ChangeEvent as CheckboxChangeEvent, CheckboxProps } from './checkbox.js';
|
|
4
4
|
export type { CheckboxGroupProps, CheckboxOption } from './checkbox-group.js';
|
|
5
5
|
export { Checkbox, CheckboxGroup };
|
|
6
6
|
export default Checkbox;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
export interface CollapsePanelProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
2
|
+
export interface CollapsePanelProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "defaultValue" | "defaultChecked"> {
|
|
3
3
|
title?: React.ReactNode;
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
active?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
export interface CollapsePanelProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
2
|
+
export interface CollapsePanelProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "defaultValue" | "defaultChecked"> {
|
|
3
3
|
title?: React.ReactNode;
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
active?: boolean;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ShapeType, ThemeType } from '../const/types.cjs';
|
|
3
|
-
export interface CollapseProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
3
|
+
export interface CollapseProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue" | "defaultChecked"> {
|
|
4
4
|
openKeys?: (string | number)[];
|
|
5
|
-
defaultOpenKeys?: (string | number)[];
|
|
6
5
|
accordion?: boolean;
|
|
7
6
|
sample?: boolean;
|
|
8
7
|
theme?: ThemeType;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ShapeType, ThemeType } from '../const/types.js';
|
|
3
|
-
export interface CollapseProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
3
|
+
export interface CollapseProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue" | "defaultChecked"> {
|
|
4
4
|
openKeys?: (string | number)[];
|
|
5
|
-
defaultOpenKeys?: (string | number)[];
|
|
6
5
|
accordion?: boolean;
|
|
7
6
|
sample?: boolean;
|
|
8
7
|
theme?: ThemeType;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ColorInstance } from 'color';
|
|
2
2
|
export interface AlphaProps {
|
|
3
|
+
disabled?: boolean;
|
|
3
4
|
value: string | ColorInstance;
|
|
4
5
|
onUpdateAlpha?: (alpha: number) => void;
|
|
5
6
|
}
|
|
6
|
-
export default function Alpha({ value, onUpdateAlpha }: AlphaProps): import("react").JSX.Element;
|
|
7
|
+
export default function Alpha({ disabled, value, onUpdateAlpha }: AlphaProps): import("react").JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ColorInstance } from 'color';
|
|
2
2
|
export interface AlphaProps {
|
|
3
|
+
disabled?: boolean;
|
|
3
4
|
value: string | ColorInstance;
|
|
4
5
|
onUpdateAlpha?: (alpha: number) => void;
|
|
5
6
|
}
|
|
6
|
-
export default function Alpha({ value, onUpdateAlpha }: AlphaProps): import("react").JSX.Element;
|
|
7
|
+
export default function Alpha({ disabled, value, onUpdateAlpha }: AlphaProps): import("react").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export interface HueProps {
|
|
2
|
+
disabled?: boolean;
|
|
2
3
|
hue?: number;
|
|
3
4
|
onUpdateHue?: (hue: number) => void;
|
|
4
5
|
}
|
|
5
|
-
export default function Hue({ hue, onUpdateHue }: HueProps): import("react").JSX.Element;
|
|
6
|
+
export default function Hue({ disabled, hue, onUpdateHue }: HueProps): import("react").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export interface HueProps {
|
|
2
|
+
disabled?: boolean;
|
|
2
3
|
hue?: number;
|
|
3
4
|
onUpdateHue?: (hue: number) => void;
|
|
4
5
|
}
|
|
5
|
-
export default function Hue({ hue, onUpdateHue }: HueProps): import("react").JSX.Element;
|
|
6
|
+
export default function Hue({ disabled, hue, onUpdateHue }: HueProps): import("react").JSX.Element;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
import { DropPlacementsType, ShapeType, SizeType, ThemeType } from '../const/types.cjs';
|
|
3
3
|
import { ColorMode } from './mode.cjs';
|
|
4
|
-
export interface ColorPickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
|
|
4
|
+
export interface ColorPickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue" | "defaultChecked"> {
|
|
5
5
|
value?: string;
|
|
6
6
|
open?: boolean;
|
|
7
|
-
defaultOpen?: boolean;
|
|
8
7
|
disabled?: boolean;
|
|
9
8
|
readOnly?: boolean;
|
|
10
9
|
disabledAlpha?: boolean;
|
|
@@ -23,8 +22,8 @@ export interface ColorPickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "
|
|
|
23
22
|
/** Render only the color panel without a trigger or portal. */
|
|
24
23
|
panelOnly?: boolean;
|
|
25
24
|
}
|
|
26
|
-
declare function ColorPicker({ value, open: openProp,
|
|
27
|
-
export type ColorPickerPanelProps = Omit<ColorPickerProps, "panelOnly" | "open" | "
|
|
25
|
+
declare function ColorPicker({ value, open: openProp, 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;
|
|
26
|
+
export type ColorPickerPanelProps = Omit<ColorPickerProps, "panelOnly" | "open" | "children">;
|
|
28
27
|
export declare function ColorPickerPanel(props: ColorPickerPanelProps): import("react").JSX.Element;
|
|
29
28
|
declare const _default: typeof ColorPicker;
|
|
30
29
|
export default _default;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
import { DropPlacementsType, ShapeType, SizeType, ThemeType } from '../const/types.js';
|
|
3
3
|
import { ColorMode } from './mode.js';
|
|
4
|
-
export interface ColorPickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
|
|
4
|
+
export interface ColorPickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue" | "defaultChecked"> {
|
|
5
5
|
value?: string;
|
|
6
6
|
open?: boolean;
|
|
7
|
-
defaultOpen?: boolean;
|
|
8
7
|
disabled?: boolean;
|
|
9
8
|
readOnly?: boolean;
|
|
10
9
|
disabledAlpha?: boolean;
|
|
@@ -23,8 +22,8 @@ export interface ColorPickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "
|
|
|
23
22
|
/** Render only the color panel without a trigger or portal. */
|
|
24
23
|
panelOnly?: boolean;
|
|
25
24
|
}
|
|
26
|
-
declare function ColorPicker({ value, open: openProp,
|
|
27
|
-
export type ColorPickerPanelProps = Omit<ColorPickerProps, "panelOnly" | "open" | "
|
|
25
|
+
declare function ColorPicker({ value, open: openProp, 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;
|
|
26
|
+
export type ColorPickerPanelProps = Omit<ColorPickerProps, "panelOnly" | "open" | "children">;
|
|
28
27
|
export declare function ColorPickerPanel(props: ColorPickerPanelProps): import("react").JSX.Element;
|
|
29
28
|
declare const _default: typeof ColorPicker;
|
|
30
29
|
export default _default;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ColorInstance, ColorObject } from 'color';
|
|
2
2
|
export interface PaintProps {
|
|
3
|
+
disabled?: boolean;
|
|
3
4
|
hue?: number;
|
|
4
5
|
value: string | ColorInstance;
|
|
5
6
|
onUpdateRGB?: (color: ColorObject) => void;
|
|
6
7
|
}
|
|
7
|
-
export default function Paint({ hue, value, onUpdateRGB }: PaintProps): import("react").JSX.Element;
|
|
8
|
+
export default function Paint({ disabled, hue, value, onUpdateRGB }: PaintProps): import("react").JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ColorInstance, ColorObject } from 'color';
|
|
2
2
|
export interface PaintProps {
|
|
3
|
+
disabled?: boolean;
|
|
3
4
|
hue?: number;
|
|
4
5
|
value: string | ColorInstance;
|
|
5
6
|
onUpdateRGB?: (color: ColorObject) => void;
|
|
6
7
|
}
|
|
7
|
-
export default function Paint({ hue, value, onUpdateRGB }: PaintProps): import("react").JSX.Element;
|
|
8
|
+
export default function Paint({ disabled, hue, value, onUpdateRGB }: PaintProps): import("react").JSX.Element;
|
package/types/components.d.cts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { default as Affix } from './affix/index.cjs';
|
|
2
|
+
export { default as Popup } from './popup/index.cjs';
|
|
3
|
+
export type { PopupProps, PopupRef, PopupTrigger, PopupOpenReason, PopupOpenChangeDetail } from './popup/index.cjs';
|
|
2
4
|
export type { AffixProps } from './affix/index.cjs';
|
|
3
5
|
export { default as Alert } from './alert/index.cjs';
|
|
4
6
|
export type { AlertProps } from './alert/index.cjs';
|
|
@@ -27,7 +29,7 @@ export type { CardMetaProps, CardProps } from './card/index.cjs';
|
|
|
27
29
|
export { Carousel, CarouselItem } from './carousel/index.cjs';
|
|
28
30
|
export type { CarouselItemProps, CarouselProps, CarouselRef } from './carousel/index.cjs';
|
|
29
31
|
export { Checkbox, CheckboxGroup } from './checkbox/index.cjs';
|
|
30
|
-
export type { ChangeEvent, CheckboxGroupProps, CheckboxOption, CheckboxProps } from './checkbox/index.cjs';
|
|
32
|
+
export type { ChangeEvent, CheckboxChangeEvent, CheckboxGroupProps, CheckboxOption, CheckboxProps, } from './checkbox/index.cjs';
|
|
31
33
|
export { CheckCard, CheckCardGroup } from './check-card/index.cjs';
|
|
32
34
|
export type { CheckCardChangeEvent, CheckCardGroupProps, CheckCardOption, CheckCardProps, CheckCardTheme, CheckCardValue, } from './check-card/index.cjs';
|
|
33
35
|
export { Collapse, CollapsePanel } from './collapse/index.cjs';
|
|
@@ -57,13 +59,13 @@ export type { FlameWrapInstance, FlameWrapOptions, FlameWrapProps } from './flam
|
|
|
57
59
|
export { default as FeedbackPanel } from './feedback-panel/index.cjs';
|
|
58
60
|
export type { FeedbackPanelKind, FeedbackPanelProps } from './feedback-panel/index.cjs';
|
|
59
61
|
export { Grid, GridItem } from './grid/index.cjs';
|
|
60
|
-
export type { GridItemProps, GridProps } from './grid/index.cjs';
|
|
62
|
+
export type { GridBreakpoint, GridResponsive, GridItemProps, GridProps } from './grid/index.cjs';
|
|
61
63
|
export { ImageGroup, KImage } from './image/index.cjs';
|
|
62
64
|
export type { ImageGroupProps, ImagePreviewProps, ImageProps, ImageRef, ImageType } from './image/index.cjs';
|
|
63
65
|
export { default as Icon } from './icon/index.cjs';
|
|
64
66
|
export type { IconProps, IconType } from './icon/index.cjs';
|
|
65
67
|
export { Input, InputGroup, TextArea } from './input/index.cjs';
|
|
66
|
-
export type { InputGroupProps, InputProps, TextAreaProps } from './input/index.cjs';
|
|
68
|
+
export type { InputGroupProps, InputProps, InputRef, TextAreaProps } from './input/index.cjs';
|
|
67
69
|
export { default as InputTag } from './input-tag/index.cjs';
|
|
68
70
|
export type { InputTagProps } from './input-tag/index.cjs';
|
|
69
71
|
export { default as InputNumber } from './input-number/index.cjs';
|
|
@@ -77,15 +79,15 @@ export type { LoadingProps } from './loading/index.cjs';
|
|
|
77
79
|
export { Menu, MenuDivider, MenuGroup, MenuItem, SubMenu } from './menu/index.cjs';
|
|
78
80
|
export type { MenuGroupProps, MenuItemProps, MenuOptionsProps, MenuProps, MenuSelectEvent, SubMenuProps, } from './menu/index.cjs';
|
|
79
81
|
export { default as message } from './message/index.cjs';
|
|
80
|
-
export type { MessageOptions } from './message/index.cjs';
|
|
82
|
+
export type { MessageOptions, MessageApi } from './message/index.cjs';
|
|
81
83
|
export { default as Mentions } from './mentions/index.cjs';
|
|
82
84
|
export type { MentionOption, MentionsProps } from './mentions/index.cjs';
|
|
83
85
|
export { MessagePanel } from './notice/content.cjs';
|
|
84
86
|
export type { MessagePanelProps } from './notice/content.cjs';
|
|
85
87
|
export { modal, default as Modal, ModalPanel } from './modal/index.cjs';
|
|
86
|
-
export type { ModalApiProps, ModalPanelProps, ModalProps } from './modal/index.cjs';
|
|
88
|
+
export type { ModalApi, ModalInstance, ModalApiProps, ModalPanelProps, ModalProps } from './modal/index.cjs';
|
|
87
89
|
export { default as notice } from './notice/index.cjs';
|
|
88
|
-
export type { NoticeOptions } from './notice/index.cjs';
|
|
90
|
+
export type { NoticeOptions, NoticeApi } from './notice/index.cjs';
|
|
89
91
|
export { NoticePanel } from './notice/content.cjs';
|
|
90
92
|
export type { NoticePanelProps } from './notice/content.cjs';
|
|
91
93
|
export { default as Page } from './page/index.cjs';
|
|
@@ -103,7 +105,7 @@ export type { RippleInstance, RippleOptions, RippleProps, RippleTrigger } from '
|
|
|
103
105
|
export { default as QRCode } from './qrcode/index.cjs';
|
|
104
106
|
export type { QRCodeErrorLevel, QRCodeProps, QRCodeRef, QRCodeStatus } from './qrcode/index.cjs';
|
|
105
107
|
export { Radio, RadioButton, RadioGroup } from './radio/index.cjs';
|
|
106
|
-
export type { RadioButtonProps, RadioGroupProps, RadioOption, RadioProps } from './radio/index.cjs';
|
|
108
|
+
export type { RadioButtonProps, RadioGroupProps, RadioOption, RadioProps, RadioChangeEvent, } from './radio/index.cjs';
|
|
107
109
|
export { default as Segmented } from './segmented/index.cjs';
|
|
108
110
|
export type { SegmentedOption, SegmentedProps, SegmentedValue } from './segmented/index.cjs';
|
|
109
111
|
export { default as Rate } from './rate/index.cjs';
|
|
@@ -111,11 +113,11 @@ export type { RateProps } from './rate/index.cjs';
|
|
|
111
113
|
export { default as Result } from './result/index.cjs';
|
|
112
114
|
export type { ResultProps, ResultStatus } from './result/index.cjs';
|
|
113
115
|
export { Option, Select } from './select/index.cjs';
|
|
114
|
-
export type { OptionProps, SelectOption, SelectProps } from './select/index.cjs';
|
|
116
|
+
export type { OptionProps, OptionSelectEvent, SelectOption, SelectProps, SelectValue, } from './select/index.cjs';
|
|
115
117
|
export { default as ConfigProvider } from './config/index.cjs';
|
|
116
118
|
export type { ConfigProviderProps, Locale } from './config/index.cjs';
|
|
117
119
|
export { Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonText } from './skeleton/index.cjs';
|
|
118
|
-
export type { SkeletonAvatarProps, SkeletonButtonProps, SkeletonImageProps, SkeletonProps, SkeletonTextProps, } from './skeleton/index.cjs';
|
|
120
|
+
export type { SkeletonAvatarConfig, SkeletonAvatarProps, SkeletonButtonProps, SkeletonImageProps, SkeletonProps, SkeletonTextProps, } from './skeleton/index.cjs';
|
|
119
121
|
export { StatCard, StatNumber } from './stat-card/index.cjs';
|
|
120
122
|
export type { StatCardProps, StatNumberItem, StatNumberProps } from './stat-card/index.cjs';
|
|
121
123
|
export { default as Slider } from './slider/index.cjs';
|
|
@@ -131,19 +133,19 @@ export type { SwitchProps } from './switch/index.cjs';
|
|
|
131
133
|
export { Splitter, SplitterPanel } from './splitter/index.cjs';
|
|
132
134
|
export type { SplitterPanelProps, SplitterProps } from './splitter/index.cjs';
|
|
133
135
|
export { default as Table, TableColumnSetting } from './table/index.cjs';
|
|
134
|
-
export type { Column, SortState, TableKey, TableProps, TableTreeRow } from './table/index.cjs';
|
|
136
|
+
export type { Column, SortState, TableColumnSettingProps, TableKey, TableProps, TableTreeRow, } from './table/index.cjs';
|
|
135
137
|
export { default as Tooltip, TooltipPanel } from './tooltip/index.cjs';
|
|
136
138
|
export type { TooltipPanelProps, TooltipProps } from './tooltip/index.cjs';
|
|
137
139
|
export { default as Tour } from './tour/index.cjs';
|
|
138
140
|
export type { TourProps, TourStep } from './tour/index.cjs';
|
|
139
141
|
export { TabPanel, Tabs } from './tabs/index.cjs';
|
|
140
|
-
export type { TabPanelProps, TabsProps } from './tabs/index.cjs';
|
|
142
|
+
export type { TabPanelProps, TabsProps, TabKey } from './tabs/index.cjs';
|
|
141
143
|
export { TimeLine, TimeLineItem } from './time-line/index.cjs';
|
|
142
144
|
export type { TimelineItemProps, TimelineMode, TimelineProps } from './time-line/index.cjs';
|
|
143
145
|
export { default as Tree } from './tree/index.cjs';
|
|
144
146
|
export type { TreeDropEvent, TreeDropPosition, TreeExpandEvent, TreeExpose, TreeFieldNames, TreeNode, TreeNodeData, TreeProps, } from './tree/index.cjs';
|
|
145
147
|
export { default as TreeSelect } from './tree-select/index.cjs';
|
|
146
|
-
export type { TreeSelectProps } from './tree-select/index.cjs';
|
|
148
|
+
export type { TreeSelectProps, TreeSelectValue } from './tree-select/index.cjs';
|
|
147
149
|
export { default as Cascader } from './cascader/index.cjs';
|
|
148
150
|
export type { CascaderLoadData, CascaderOption, CascaderProps, CascaderValue } from './cascader/index.cjs';
|
|
149
151
|
export { default as Tag } from './tag/index.cjs';
|
|
@@ -153,7 +155,7 @@ export type { ColProps, ColResponsiveSize, ColSize, RowProps } from './row-col/i
|
|
|
153
155
|
export { default as Upload } from './upload/index.cjs';
|
|
154
156
|
export type { UploadChangeEvent, UploadContext, UploadCustomRequest, UploadFile, UploadProps, UploadRef, UploadRequestHandle, UploadRequestOptions, UploadSortEvent, } from './upload/index.cjs';
|
|
155
157
|
export { default as Watermark } from './watermark/index.cjs';
|
|
156
|
-
export type { WatermarkLayoutType, WatermarkProps, WatermarkTextItem } from './watermark/index.cjs';
|
|
158
|
+
export type { Font as WatermarkFont, WatermarkLayoutType, WatermarkProps, WatermarkTextItem, } from './watermark/index.cjs';
|
|
157
159
|
export { default as theme } from './utils/theme.cjs';
|
|
158
160
|
export type { AlignType, BooleanType, ButtonType, ColorType, DirectionType, DrawerPlacementsType, DropPlacementsType, PlacementsType, RadioType, ShapeType, SizeType, SpinModeType, ThemeType, TriggerType, UploadStatusType, ValueType, } from './const/types.cjs';
|
|
159
161
|
export { default as VirtualList } from './virtual-list/index.cjs';
|
|
@@ -163,3 +165,5 @@ export { default as Transfer } from './transfer/index.cjs';
|
|
|
163
165
|
export type { TransferChangeEvent, TransferItem, TransferKey, TransferProps } from './transfer/index.cjs';
|
|
164
166
|
export { default as Typography, TypographyParagraph, TypographyText, TypographyTitle, } from './typography/index.cjs';
|
|
165
167
|
export type { TypographyCopyableOptions, TypographyEditableOptions, TypographyEllipsisOptions, TypographyProps, TypographyTag, TypographyType, } from './typography/index.cjs';
|
|
168
|
+
export type { ColorMode } from './color-picker/mode.cjs';
|
|
169
|
+
export type { ImagePreviewApi } from './image/preview.cjs';
|
package/types/components.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { default as Affix } from './affix/index.js';
|
|
2
|
+
export { default as Popup } from './popup/index.js';
|
|
3
|
+
export type { PopupProps, PopupRef, PopupTrigger, PopupOpenReason, PopupOpenChangeDetail } from './popup/index.js';
|
|
2
4
|
export type { AffixProps } from './affix/index.js';
|
|
3
5
|
export { default as Alert } from './alert/index.js';
|
|
4
6
|
export type { AlertProps } from './alert/index.js';
|
|
@@ -27,7 +29,7 @@ export type { CardMetaProps, CardProps } from './card/index.js';
|
|
|
27
29
|
export { Carousel, CarouselItem } from './carousel/index.js';
|
|
28
30
|
export type { CarouselItemProps, CarouselProps, CarouselRef } from './carousel/index.js';
|
|
29
31
|
export { Checkbox, CheckboxGroup } from './checkbox/index.js';
|
|
30
|
-
export type { ChangeEvent, CheckboxGroupProps, CheckboxOption, CheckboxProps } from './checkbox/index.js';
|
|
32
|
+
export type { ChangeEvent, CheckboxChangeEvent, CheckboxGroupProps, CheckboxOption, CheckboxProps, } from './checkbox/index.js';
|
|
31
33
|
export { CheckCard, CheckCardGroup } from './check-card/index.js';
|
|
32
34
|
export type { CheckCardChangeEvent, CheckCardGroupProps, CheckCardOption, CheckCardProps, CheckCardTheme, CheckCardValue, } from './check-card/index.js';
|
|
33
35
|
export { Collapse, CollapsePanel } from './collapse/index.js';
|
|
@@ -57,13 +59,13 @@ export type { FlameWrapInstance, FlameWrapOptions, FlameWrapProps } from './flam
|
|
|
57
59
|
export { default as FeedbackPanel } from './feedback-panel/index.js';
|
|
58
60
|
export type { FeedbackPanelKind, FeedbackPanelProps } from './feedback-panel/index.js';
|
|
59
61
|
export { Grid, GridItem } from './grid/index.js';
|
|
60
|
-
export type { GridItemProps, GridProps } from './grid/index.js';
|
|
62
|
+
export type { GridBreakpoint, GridResponsive, GridItemProps, GridProps } from './grid/index.js';
|
|
61
63
|
export { ImageGroup, KImage } from './image/index.js';
|
|
62
64
|
export type { ImageGroupProps, ImagePreviewProps, ImageProps, ImageRef, ImageType } from './image/index.js';
|
|
63
65
|
export { default as Icon } from './icon/index.js';
|
|
64
66
|
export type { IconProps, IconType } from './icon/index.js';
|
|
65
67
|
export { Input, InputGroup, TextArea } from './input/index.js';
|
|
66
|
-
export type { InputGroupProps, InputProps, TextAreaProps } from './input/index.js';
|
|
68
|
+
export type { InputGroupProps, InputProps, InputRef, TextAreaProps } from './input/index.js';
|
|
67
69
|
export { default as InputTag } from './input-tag/index.js';
|
|
68
70
|
export type { InputTagProps } from './input-tag/index.js';
|
|
69
71
|
export { default as InputNumber } from './input-number/index.js';
|
|
@@ -77,15 +79,15 @@ export type { LoadingProps } from './loading/index.js';
|
|
|
77
79
|
export { Menu, MenuDivider, MenuGroup, MenuItem, SubMenu } from './menu/index.js';
|
|
78
80
|
export type { MenuGroupProps, MenuItemProps, MenuOptionsProps, MenuProps, MenuSelectEvent, SubMenuProps, } from './menu/index.js';
|
|
79
81
|
export { default as message } from './message/index.js';
|
|
80
|
-
export type { MessageOptions } from './message/index.js';
|
|
82
|
+
export type { MessageOptions, MessageApi } from './message/index.js';
|
|
81
83
|
export { default as Mentions } from './mentions/index.js';
|
|
82
84
|
export type { MentionOption, MentionsProps } from './mentions/index.js';
|
|
83
85
|
export { MessagePanel } from './notice/content.js';
|
|
84
86
|
export type { MessagePanelProps } from './notice/content.js';
|
|
85
87
|
export { modal, default as Modal, ModalPanel } from './modal/index.js';
|
|
86
|
-
export type { ModalApiProps, ModalPanelProps, ModalProps } from './modal/index.js';
|
|
88
|
+
export type { ModalApi, ModalInstance, ModalApiProps, ModalPanelProps, ModalProps } from './modal/index.js';
|
|
87
89
|
export { default as notice } from './notice/index.js';
|
|
88
|
-
export type { NoticeOptions } from './notice/index.js';
|
|
90
|
+
export type { NoticeOptions, NoticeApi } from './notice/index.js';
|
|
89
91
|
export { NoticePanel } from './notice/content.js';
|
|
90
92
|
export type { NoticePanelProps } from './notice/content.js';
|
|
91
93
|
export { default as Page } from './page/index.js';
|
|
@@ -103,7 +105,7 @@ export type { RippleInstance, RippleOptions, RippleProps, RippleTrigger } from '
|
|
|
103
105
|
export { default as QRCode } from './qrcode/index.js';
|
|
104
106
|
export type { QRCodeErrorLevel, QRCodeProps, QRCodeRef, QRCodeStatus } from './qrcode/index.js';
|
|
105
107
|
export { Radio, RadioButton, RadioGroup } from './radio/index.js';
|
|
106
|
-
export type { RadioButtonProps, RadioGroupProps, RadioOption, RadioProps } from './radio/index.js';
|
|
108
|
+
export type { RadioButtonProps, RadioGroupProps, RadioOption, RadioProps, RadioChangeEvent, } from './radio/index.js';
|
|
107
109
|
export { default as Segmented } from './segmented/index.js';
|
|
108
110
|
export type { SegmentedOption, SegmentedProps, SegmentedValue } from './segmented/index.js';
|
|
109
111
|
export { default as Rate } from './rate/index.js';
|
|
@@ -111,11 +113,11 @@ export type { RateProps } from './rate/index.js';
|
|
|
111
113
|
export { default as Result } from './result/index.js';
|
|
112
114
|
export type { ResultProps, ResultStatus } from './result/index.js';
|
|
113
115
|
export { Option, Select } from './select/index.js';
|
|
114
|
-
export type { OptionProps, SelectOption, SelectProps } from './select/index.js';
|
|
116
|
+
export type { OptionProps, OptionSelectEvent, SelectOption, SelectProps, SelectValue, } from './select/index.js';
|
|
115
117
|
export { default as ConfigProvider } from './config/index.js';
|
|
116
118
|
export type { ConfigProviderProps, Locale } from './config/index.js';
|
|
117
119
|
export { Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonText } from './skeleton/index.js';
|
|
118
|
-
export type { SkeletonAvatarProps, SkeletonButtonProps, SkeletonImageProps, SkeletonProps, SkeletonTextProps, } from './skeleton/index.js';
|
|
120
|
+
export type { SkeletonAvatarConfig, SkeletonAvatarProps, SkeletonButtonProps, SkeletonImageProps, SkeletonProps, SkeletonTextProps, } from './skeleton/index.js';
|
|
119
121
|
export { StatCard, StatNumber } from './stat-card/index.js';
|
|
120
122
|
export type { StatCardProps, StatNumberItem, StatNumberProps } from './stat-card/index.js';
|
|
121
123
|
export { default as Slider } from './slider/index.js';
|
|
@@ -131,19 +133,19 @@ export type { SwitchProps } from './switch/index.js';
|
|
|
131
133
|
export { Splitter, SplitterPanel } from './splitter/index.js';
|
|
132
134
|
export type { SplitterPanelProps, SplitterProps } from './splitter/index.js';
|
|
133
135
|
export { default as Table, TableColumnSetting } from './table/index.js';
|
|
134
|
-
export type { Column, SortState, TableKey, TableProps, TableTreeRow } from './table/index.js';
|
|
136
|
+
export type { Column, SortState, TableColumnSettingProps, TableKey, TableProps, TableTreeRow, } from './table/index.js';
|
|
135
137
|
export { default as Tooltip, TooltipPanel } from './tooltip/index.js';
|
|
136
138
|
export type { TooltipPanelProps, TooltipProps } from './tooltip/index.js';
|
|
137
139
|
export { default as Tour } from './tour/index.js';
|
|
138
140
|
export type { TourProps, TourStep } from './tour/index.js';
|
|
139
141
|
export { TabPanel, Tabs } from './tabs/index.js';
|
|
140
|
-
export type { TabPanelProps, TabsProps } from './tabs/index.js';
|
|
142
|
+
export type { TabPanelProps, TabsProps, TabKey } from './tabs/index.js';
|
|
141
143
|
export { TimeLine, TimeLineItem } from './time-line/index.js';
|
|
142
144
|
export type { TimelineItemProps, TimelineMode, TimelineProps } from './time-line/index.js';
|
|
143
145
|
export { default as Tree } from './tree/index.js';
|
|
144
146
|
export type { TreeDropEvent, TreeDropPosition, TreeExpandEvent, TreeExpose, TreeFieldNames, TreeNode, TreeNodeData, TreeProps, } from './tree/index.js';
|
|
145
147
|
export { default as TreeSelect } from './tree-select/index.js';
|
|
146
|
-
export type { TreeSelectProps } from './tree-select/index.js';
|
|
148
|
+
export type { TreeSelectProps, TreeSelectValue } from './tree-select/index.js';
|
|
147
149
|
export { default as Cascader } from './cascader/index.js';
|
|
148
150
|
export type { CascaderLoadData, CascaderOption, CascaderProps, CascaderValue } from './cascader/index.js';
|
|
149
151
|
export { default as Tag } from './tag/index.js';
|
|
@@ -153,7 +155,7 @@ export type { ColProps, ColResponsiveSize, ColSize, RowProps } from './row-col/i
|
|
|
153
155
|
export { default as Upload } from './upload/index.js';
|
|
154
156
|
export type { UploadChangeEvent, UploadContext, UploadCustomRequest, UploadFile, UploadProps, UploadRef, UploadRequestHandle, UploadRequestOptions, UploadSortEvent, } from './upload/index.js';
|
|
155
157
|
export { default as Watermark } from './watermark/index.js';
|
|
156
|
-
export type { WatermarkLayoutType, WatermarkProps, WatermarkTextItem } from './watermark/index.js';
|
|
158
|
+
export type { Font as WatermarkFont, WatermarkLayoutType, WatermarkProps, WatermarkTextItem, } from './watermark/index.js';
|
|
157
159
|
export { default as theme } from './utils/theme.js';
|
|
158
160
|
export type { AlignType, BooleanType, ButtonType, ColorType, DirectionType, DrawerPlacementsType, DropPlacementsType, PlacementsType, RadioType, ShapeType, SizeType, SpinModeType, ThemeType, TriggerType, UploadStatusType, ValueType, } from './const/types.js';
|
|
159
161
|
export { default as VirtualList } from './virtual-list/index.js';
|
|
@@ -163,3 +165,5 @@ export { default as Transfer } from './transfer/index.js';
|
|
|
163
165
|
export type { TransferChangeEvent, TransferItem, TransferKey, TransferProps } from './transfer/index.js';
|
|
164
166
|
export { default as Typography, TypographyParagraph, TypographyText, TypographyTitle, } from './typography/index.js';
|
|
165
167
|
export type { TypographyCopyableOptions, TypographyEditableOptions, TypographyEllipsisOptions, TypographyProps, TypographyTag, TypographyType, } from './typography/index.js';
|
|
168
|
+
export type { ColorMode } from './color-picker/mode.js';
|
|
169
|
+
export type { ImagePreviewApi } from './image/preview.js';
|
|
@@ -10,7 +10,7 @@ export interface DatePickerPreset {
|
|
|
10
10
|
label: string;
|
|
11
11
|
value: () => DatePickerInput | DatePickerInput[];
|
|
12
12
|
}
|
|
13
|
-
export interface DatePickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "children" | "defaultValue"> {
|
|
13
|
+
export interface DatePickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "children" | "defaultValue" | "defaultChecked"> {
|
|
14
14
|
value?: DatePickerInput | DatePickerInput[];
|
|
15
15
|
startDate?: DatePickerInput;
|
|
16
16
|
endDate?: DatePickerInput;
|
|
@@ -20,7 +20,6 @@ export interface DatePickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "o
|
|
|
20
20
|
disabled?: boolean;
|
|
21
21
|
readOnly?: boolean;
|
|
22
22
|
open?: boolean;
|
|
23
|
-
defaultOpen?: boolean;
|
|
24
23
|
clearable?: boolean;
|
|
25
24
|
editable?: boolean;
|
|
26
25
|
placeholder?: string | string[];
|
|
@@ -47,8 +46,8 @@ export interface DatePickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "o
|
|
|
47
46
|
/** Render only the picker panel without a trigger or portal. */
|
|
48
47
|
panelOnly?: boolean;
|
|
49
48
|
}
|
|
50
|
-
declare function DatePicker({ value, startDate, endDate, valueType, mode, presets, disabled, readOnly, open,
|
|
51
|
-
export type DatePickerPanelProps = Omit<DatePickerProps, "panelOnly" | "open"
|
|
49
|
+
declare function DatePicker({ value, startDate, endDate, valueType, mode, presets, disabled, readOnly, open, clearable, editable, placeholder, format, disabledDate, disabledTime, size: sizeProp, dateIcon, theme: themeProp, shape: shapeProp, bordered, placement, header, footer, onChange, onStartDateChange, onEndDateChange, onOpenChange, onClear, panelOnly, className, style, ...rest }: DatePickerProps): import("react").JSX.Element;
|
|
50
|
+
export type DatePickerPanelProps = Omit<DatePickerProps, "panelOnly" | "open">;
|
|
52
51
|
export declare function DatePickerPanel(props: DatePickerPanelProps): import("react").JSX.Element;
|
|
53
52
|
declare const _default: typeof DatePicker;
|
|
54
53
|
export default _default;
|
|
@@ -10,7 +10,7 @@ export interface DatePickerPreset {
|
|
|
10
10
|
label: string;
|
|
11
11
|
value: () => DatePickerInput | DatePickerInput[];
|
|
12
12
|
}
|
|
13
|
-
export interface DatePickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "children" | "defaultValue"> {
|
|
13
|
+
export interface DatePickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "children" | "defaultValue" | "defaultChecked"> {
|
|
14
14
|
value?: DatePickerInput | DatePickerInput[];
|
|
15
15
|
startDate?: DatePickerInput;
|
|
16
16
|
endDate?: DatePickerInput;
|
|
@@ -20,7 +20,6 @@ export interface DatePickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "o
|
|
|
20
20
|
disabled?: boolean;
|
|
21
21
|
readOnly?: boolean;
|
|
22
22
|
open?: boolean;
|
|
23
|
-
defaultOpen?: boolean;
|
|
24
23
|
clearable?: boolean;
|
|
25
24
|
editable?: boolean;
|
|
26
25
|
placeholder?: string | string[];
|
|
@@ -47,8 +46,8 @@ export interface DatePickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "o
|
|
|
47
46
|
/** Render only the picker panel without a trigger or portal. */
|
|
48
47
|
panelOnly?: boolean;
|
|
49
48
|
}
|
|
50
|
-
declare function DatePicker({ value, startDate, endDate, valueType, mode, presets, disabled, readOnly, open,
|
|
51
|
-
export type DatePickerPanelProps = Omit<DatePickerProps, "panelOnly" | "open"
|
|
49
|
+
declare function DatePicker({ value, startDate, endDate, valueType, mode, presets, disabled, readOnly, open, clearable, editable, placeholder, format, disabledDate, disabledTime, size: sizeProp, dateIcon, theme: themeProp, shape: shapeProp, bordered, placement, header, footer, onChange, onStartDateChange, onEndDateChange, onOpenChange, onClear, panelOnly, className, style, ...rest }: DatePickerProps): import("react").JSX.Element;
|
|
50
|
+
export type DatePickerPanelProps = Omit<DatePickerProps, "panelOnly" | "open">;
|
|
52
51
|
export declare function DatePickerPanel(props: DatePickerPanelProps): import("react").JSX.Element;
|
|
53
52
|
declare const _default: typeof DatePicker;
|
|
54
53
|
export default _default;
|
|
@@ -7,7 +7,7 @@ export interface DescriptionsItemProps {
|
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
}
|
|
9
9
|
export type DescriptionsColumn = ResponsiveValue<number>;
|
|
10
|
-
export interface DescriptionsProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
10
|
+
export interface DescriptionsProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "defaultValue" | "defaultChecked"> {
|
|
11
11
|
bordered?: boolean;
|
|
12
12
|
column?: DescriptionsColumn;
|
|
13
13
|
layout?: DirectionType;
|
|
@@ -7,7 +7,7 @@ export interface DescriptionsItemProps {
|
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
}
|
|
9
9
|
export type DescriptionsColumn = ResponsiveValue<number>;
|
|
10
|
-
export interface DescriptionsProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
10
|
+
export interface DescriptionsProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "defaultValue" | "defaultChecked"> {
|
|
11
11
|
bordered?: boolean;
|
|
12
12
|
column?: DescriptionsColumn;
|
|
13
13
|
layout?: DirectionType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { DirectionType } from '../const/types.cjs';
|
|
3
|
-
export interface DividerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
export interface DividerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "defaultValue" | "defaultChecked"> {
|
|
4
4
|
type?: DirectionType;
|
|
5
5
|
text?: string;
|
|
6
6
|
dashed?: boolean;
|
package/types/divider/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { DirectionType } from '../const/types.js';
|
|
3
|
-
export interface DividerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
export interface DividerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "defaultValue" | "defaultChecked"> {
|
|
4
4
|
type?: DirectionType;
|
|
5
5
|
text?: string;
|
|
6
6
|
dashed?: boolean;
|
package/types/drawer/index.d.cts
CHANGED
|
@@ -3,7 +3,6 @@ import { DrawerPlacementsType } from '../const/types.cjs';
|
|
|
3
3
|
export type DrawerTarget = HTMLElement | RefObject<HTMLElement | null> | (() => HTMLElement | null | undefined);
|
|
4
4
|
export interface DrawerProps {
|
|
5
5
|
open?: boolean;
|
|
6
|
-
defaultOpen?: boolean;
|
|
7
6
|
title?: React.ReactNode;
|
|
8
7
|
width?: number | string;
|
|
9
8
|
height?: number | string;
|
package/types/drawer/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { DrawerPlacementsType } from '../const/types.js';
|
|
|
3
3
|
export type DrawerTarget = HTMLElement | RefObject<HTMLElement | null> | (() => HTMLElement | null | undefined);
|
|
4
4
|
export interface DrawerProps {
|
|
5
5
|
open?: boolean;
|
|
6
|
-
defaultOpen?: boolean;
|
|
7
6
|
title?: React.ReactNode;
|
|
8
7
|
width?: number | string;
|
|
9
8
|
height?: number | string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { DropPlacementsType, ShapeType, SizeType, ThemeType } from '../const/types.cjs';
|
|
3
3
|
import { IconType } from '../icon/index.cjs';
|
|
4
|
-
export interface DropdownButtonProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onClick"> {
|
|
4
|
+
export interface DropdownButtonProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onClick" | "defaultValue" | "defaultChecked"> {
|
|
5
5
|
size?: SizeType;
|
|
6
6
|
shape?: ShapeType;
|
|
7
7
|
disabled?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { DropPlacementsType, ShapeType, SizeType, ThemeType } from '../const/types.js';
|
|
3
3
|
import { IconType } from '../icon/index.js';
|
|
4
|
-
export interface DropdownButtonProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onClick"> {
|
|
4
|
+
export interface DropdownButtonProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onClick" | "defaultValue" | "defaultChecked"> {
|
|
5
5
|
size?: SizeType;
|
|
6
6
|
shape?: ShapeType;
|
|
7
7
|
disabled?: boolean;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { DropPlacementsType, TriggerType } from '../const/types.cjs';
|
|
3
|
-
export interface DropdownProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "show"> {
|
|
3
|
+
export interface DropdownProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "show" | "defaultValue" | "defaultChecked"> {
|
|
4
4
|
trigger?: TriggerType;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
arrow?: boolean;
|
|
7
7
|
open?: boolean;
|
|
8
|
-
defaultOpen?: boolean;
|
|
9
8
|
/** @deprecated Use `open` instead. */
|
|
10
9
|
show?: boolean;
|
|
11
10
|
placement?: DropPlacementsType;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { DropPlacementsType, TriggerType } from '../const/types.js';
|
|
3
|
-
export interface DropdownProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "show"> {
|
|
3
|
+
export interface DropdownProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "show" | "defaultValue" | "defaultChecked"> {
|
|
4
4
|
trigger?: TriggerType;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
arrow?: boolean;
|
|
7
7
|
open?: boolean;
|
|
8
|
-
defaultOpen?: boolean;
|
|
9
8
|
/** @deprecated Use `open` instead. */
|
|
10
9
|
show?: boolean;
|
|
11
10
|
placement?: DropPlacementsType;
|
package/types/empty/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
export interface EmptyProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
2
|
+
export interface EmptyProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "defaultValue" | "defaultChecked"> {
|
|
3
3
|
description?: string | boolean | React.ReactNode;
|
|
4
4
|
image?: string | React.ReactNode;
|
|
5
5
|
imageStyle?: React.CSSProperties;
|
package/types/empty/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
export interface EmptyProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
2
|
+
export interface EmptyProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "defaultValue" | "defaultChecked"> {
|
|
3
3
|
description?: string | boolean | React.ReactNode;
|
|
4
4
|
image?: string | React.ReactNode;
|
|
5
5
|
imageStyle?: React.CSSProperties;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
import { ShapeType, ThemeType } from '../const/types.cjs';
|
|
3
3
|
import { IconType } from '../icon/index.cjs';
|
|
4
|
-
export interface FeatureCardProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
|
|
4
|
+
export interface FeatureCardProps extends Omit<HTMLAttributes<HTMLDivElement>, "title" | "defaultValue" | "defaultChecked"> {
|
|
5
5
|
icon?: IconType[] | ReactNode;
|
|
6
6
|
title?: ReactNode;
|
|
7
7
|
desc?: ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
import { ShapeType, ThemeType } from '../const/types.js';
|
|
3
3
|
import { IconType } from '../icon/index.js';
|
|
4
|
-
export interface FeatureCardProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
|
|
4
|
+
export interface FeatureCardProps extends Omit<HTMLAttributes<HTMLDivElement>, "title" | "defaultValue" | "defaultChecked"> {
|
|
5
5
|
icon?: IconType[] | ReactNode;
|
|
6
6
|
title?: ReactNode;
|
|
7
7
|
desc?: ReactNode;
|