ant-design/components/index.tsx
lijianan a05b9d92c5
feat: Float Button (#37520)
* feat: add FloatButton

* feat: add FloatButton

* feat: FloatButton

* feat: FloatButton

* fix: fix

* feat: FloatButton

* feat: FloatButton

* feat: FloatButton

* feat: FloatButton

* feat: FloatButton

* fix: add groupShape

* feat: mergeShape

* fix: fix

* fix: fix style

* fix: style fix

* fix: fix

* fix: style fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix style

* fix: fix style

* fix: fix style

* fix: style fix

* feat: back-top

* fix: style bug fix

* fix: fix erroe

* fix: add tiggerElement

* fix: add tiggerElement

* fix: add tiggerElement

* fix: add tiggerElement

* feat: add useMemo

* docs: add docs

* fix: bugFix

* fix: bugFix

* fix: bugfix

* fix: style fix

* fix: bugfix

* test: add test case

* fix: style fix

* fix: style fix

* fix: fix style

* fix: fix style

* fix: fix trigger action

* fix: fix style

* feat: add demo

* fix: add demo

* feat: add docs

* fix: style ifx

* feat: update maxSize of bundlesize

* feat: add animation for group

* fix: fix

* fix: fix style

* fix: fix test case

* fix: fix test case

* fix: fix type

* fix: fix type

* fix: update bundlesize

* fix: fix

* fix: fix style

* fix: fix style

* fix: updata snap

* fix: fix CI

* fix: fix style

* fix: rename float button motion

* fix: fix style

* fix: bugFix

* fix: fix style

* fix: bugFix

* fix: update docs

* refactor: float button trigger

* test: fix test case & update snapshot

* fix: delete rest

* docs: update demo

* test: update snapshot

* fix: fix eslint error

* test: update snapshot

* style: update icon fontSize to 18

* fix: fix style

* fix: style fix

* fix: test case fix

* test: add test case

* fix: style fix

* test: update snap

* fix: style fix

* fix: style fix

* fix: style fix

* docs: demo update

* fix: style fix

* docs: update demo

* test: update snapshot

Co-authored-by: 黑雨 <wangning4567@163.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-09-23 14:31:16 +08:00

169 lines
7.2 KiB
TypeScript

/* @remove-on-es-build-begin */
// this file is not used if use https://github.com/ant-design/babel-plugin-import
const ENV = process.env.NODE_ENV;
if (
ENV !== 'production' &&
ENV !== 'test' &&
typeof console !== 'undefined' &&
console.warn && // eslint-disable-line no-console
typeof window !== 'undefined'
) {
// eslint-disable-next-line no-console
console.warn(
'You are using a whole package of antd, ' +
'please use https://www.npmjs.com/package/babel-plugin-import to reduce app bundle size.',
);
}
/* @remove-on-es-build-end */
export { default as Affix } from './affix';
export type { AffixProps } from './affix';
export { default as Alert } from './alert';
export type { AlertProps } from './alert';
export { default as Anchor } from './anchor';
export type { AnchorLinkProps, AnchorProps } from './anchor';
export { default as AutoComplete } from './auto-complete';
export type { AutoCompleteProps } from './auto-complete';
export { default as Avatar } from './avatar';
export type { AvatarProps } from './avatar';
export { default as FloatButton } from './float-button';
export type { FloatButtonProps } from './float-button/interface';
export { default as BackTop } from './back-top';
export type { BackTopProps } from './back-top';
export { default as Badge } from './badge';
export type { BadgeProps } from './badge';
export { default as Breadcrumb } from './breadcrumb';
export type { BreadcrumbItemProps, BreadcrumbProps } from './breadcrumb';
export { default as Button } from './button';
export type { ButtonProps } from './button';
export { default as Calendar } from './calendar';
export type { CalendarProps } from './calendar';
export { default as Card } from './card';
export type { CardProps } from './card';
export { default as Carousel } from './carousel';
export type { CarouselProps } from './carousel';
export { default as Cascader } from './cascader';
export type { CascaderProps } from './cascader';
export { default as Checkbox } from './checkbox';
export type { CheckboxOptionType, CheckboxProps } from './checkbox';
export { default as Col } from './col';
export type { ColProps } from './col';
export { default as Collapse } from './collapse';
export type { CollapsePanelProps, CollapseProps } from './collapse';
export { default as ConfigProvider } from './config-provider';
export { default as DatePicker } from './date-picker';
export type { DatePickerProps } from './date-picker';
export { default as Descriptions } from './descriptions';
export type { DescriptionsProps } from './descriptions';
export { default as Divider } from './divider';
export type { DividerProps } from './divider';
export { default as Drawer } from './drawer';
export type { DrawerProps } from './drawer';
export { default as Dropdown } from './dropdown';
export type {
DropdownProps,
// typo, but we need to support it for backwards compatibility
// https://github.com/ant-design/ant-design/pull/35161
DropdownProps as DropDownProps,
} from './dropdown';
export { default as Empty } from './empty';
export type { EmptyProps } from './empty';
export { default as Form } from './form';
export type {
FormInstance,
FormItemProps,
FormListFieldData,
FormListOperation,
FormProps,
Rule as FormRule,
} from './form';
export { default as Grid } from './grid';
export { default as Image } from './image';
export type { ImageProps } from './image';
export { default as Input } from './input';
export type { InputProps, InputRef } from './input';
export { default as InputNumber } from './input-number';
export type { InputNumberProps } from './input-number';
export { default as Layout } from './layout';
export type { LayoutProps, SiderProps } from './layout';
export { default as List } from './list';
export type { ListProps } from './list';
export { default as Mentions } from './mentions';
export type { MentionProps } from './mentions';
export { default as Menu } from './menu';
export type { MenuItemProps, MenuProps, MenuTheme, SubMenuProps, MenuRef } from './menu';
export { default as message } from './message';
export type { ArgsProps as MessageArgsProps } from './message';
export { default as Modal } from './modal';
export type { ModalFuncProps, ModalProps } from './modal';
export { default as notification } from './notification';
export { default as Pagination } from './pagination';
export type { PaginationProps } from './pagination';
export { default as Popconfirm } from './popconfirm';
export type { PopconfirmProps } from './popconfirm';
export { default as Popover } from './popover';
export type { PopoverProps } from './popover';
export { default as Progress } from './progress';
export type { ProgressProps } from './progress';
export { default as Radio } from './radio';
export type { RadioChangeEvent, RadioGroupProps, RadioProps } from './radio';
export { default as Rate } from './rate';
export type { RateProps } from './rate';
export { default as Result } from './result';
export type { ResultProps } from './result';
export { default as Row } from './row';
export type { RowProps } from './row';
export { default as Segmented } from './segmented';
export type { SegmentedProps } from './segmented';
export { default as Select } from './select';
export type { RefSelectProps, SelectProps } from './select';
export { default as Skeleton } from './skeleton';
export type { SkeletonProps } from './skeleton';
export { default as Slider } from './slider';
export type { SliderSingleProps } from './slider';
export { default as Space } from './space';
export type { SpaceProps } from './space';
export { default as Spin } from './spin';
export type { SpinProps } from './spin';
export { default as Statistic } from './statistic';
export type { StatisticProps } from './statistic';
export { default as Steps } from './steps';
export type { StepProps, StepsProps } from './steps';
export { default as Switch } from './switch';
export type { SwitchProps } from './switch';
export { default as Table } from './table';
export type {
ColumnGroupType as TableColumnGroupType,
ColumnProps as TableColumnProps,
ColumnsType as TableColumnsType,
ColumnType as TableColumnType,
TablePaginationConfig,
TableProps,
} from './table';
export { default as Tabs } from './tabs';
export type { TabPaneProps, TabsProps } from './tabs';
export { default as Tag } from './tag';
export type { TagProps, TagType } from './tag';
export { default as theme } from './theme/export';
export { default as TimePicker } from './time-picker';
export type { TimePickerProps, TimeRangePickerProps } from './time-picker';
export { default as Timeline } from './timeline';
export type { TimelineItemProps, TimelineProps } from './timeline';
export { default as Tooltip } from './tooltip';
export type { TooltipProps } from './tooltip';
export { default as Transfer } from './transfer';
export type { TransferProps } from './transfer';
export { default as Tree } from './tree';
export type {
AntTreeNodeProps as TreeNodeProps,
DataNode as TreeDataNode,
TreeProps,
} from './tree';
export { default as TreeSelect } from './tree-select';
export type { TreeSelectProps } from './tree-select';
export { default as Typography } from './typography';
export type { TypographyProps } from './typography';
export { default as Upload } from './upload';
export type { UploadFile, UploadProps } from './upload';
export { default as version } from './version';