diff --git a/components/index.d.ts b/components/index.d.ts index c0a1c455e..d5e443df2 100644 --- a/components/index.d.ts +++ b/components/index.d.ts @@ -1,47 +1,95 @@ +/* eslint-disable import/export */ export { default as Button } from './button' -export { default as Card } from './card/index' +export * from './button' +export { default as Card } from './card' +export * from './card/index' export { default as Checkbox } from './checkbox' +export * from './checkbox' export { default as Carousel } from './carousel' +export * from './carousel' export { default as Cascader } from './cascader' +export * from './cascader' export { default as Collapse } from './collapse' +export * from './collapse' export { default as Badge } from './badge' +export * from './badge' export { default as Counter } from './counter' +export * from './counter' export { default as DatePicker } from './date-picker' +export * from './date-picker' export { default as TimePicker } from './date-picker/TimePicker' +export * from './date-picker/TimePicker' export { default as Dropdown } from './dropdown' +export * from './dropdown' export { default as Form } from './form' +export * from './form' export { default as Grid } from './grid' +export * from './grid' export { default as Input } from './input' +export * from './input' export { default as Loading } from './loading' +export * from './loading' export { default as Menu } from './menu' +export * from './menu' export { default as Message } from './message' +export * from './message' export { default as Modal } from './modal' +export * from './modal' export { default as Notification } from './notification' +export * from './notification' export { default as Pagination } from './pagination' +export * from './pagination' export { default as Popover } from './popover' +export * from './popover' export { default as Progress } from './progress' +export * from './progress' export { default as Radio } from './radio' +export * from './radio' export { default as Rate } from './rate' +export * from './rate' export { default as Select } from './select' +export * from './select' export { default as Stepper } from './stepper' +export * from './stepper' export { default as Switch } from './switch' +export * from './switch' export { default as Table } from './table' +export * from './table' export { default as Tabs } from './tabs' +export * from './tabs' export { default as Tag } from './tag' +export * from './tag' export { default as Timeline } from './timeline' +export * from './timeline' export { default as Tooltip } from './tooltip' +export * from './tooltip' export { default as Transfer } from './transfer' +export * from './transfer' export { default as Tree } from './tree' +export * from './tree' export { default as Upload } from './upload' +export * from './upload' export { default as Watermark } from './watermark' +export * from './watermark' export { default as List } from './list' +export * from './list' export { default as SelectTree } from './select-tree' +export * from './select-tree' export { default as Filter } from './filter' +export * from './filter' export { default as Drawer } from './drawer' +export * from './drawer' export { default as Search } from './search' +export * from './search' export { default as Slider } from './slider' +export * from './slider' export { default as Preview } from './preview' +export * from './preview' export { default as Popper } from './popper' +export * from './popper' export { default as Icon } from './icon' +export * from './icon' export { default as Charts } from './charts' -export { ThemeContext, LocaleContext } from './context' +export * from './charts' + +export * from './context' diff --git a/package.json b/package.json index 989eb163b..334f74472 100644 --- a/package.json +++ b/package.json @@ -38,10 +38,9 @@ "license": "MIT", "main": "index.js", "module": "es/index.js", - "file": [ - "dist", - "es", - "types/*.d.ts" + "types": "es/index.d.ts", + "files": [ + "es" ], "sideEffects": [ "es/**/style/*",