Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(types): remove duplicate types/lib/index.d.ts #2316

Merged
merged 1 commit into from Sep 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion types/lib/Accordion.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface AccordionProps extends React.HTMLAttributes<HTMLElement> {
tag?: React.ElementType;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/AccordionBody.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface AccordionBodyProps extends React.HTMLAttributes<HTMLElement> {
tag?: React.ElementType;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/AccordionHeader.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface AccordionHeaderProps extends React.HTMLAttributes<HTMLElement> {
tag?: React.ElementType;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/AccordionItem.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface AccordionItemProps extends React.HTMLAttributes<HTMLElement> {
tag?: React.ElementType;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/Alert.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';
import { FadeProps } from './Fade';

export interface UncontrolledAlertProps
Expand Down
2 changes: 1 addition & 1 deletion types/lib/Badge.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface BadgeProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/Breadcrumb.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface BreadcrumbProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/BreadcrumbItem.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface BreadcrumbItemProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/Button.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface ButtonProps
extends React.ButtonHTMLAttributes<HTMLButtonElement> {
Expand Down
2 changes: 1 addition & 1 deletion types/lib/ButtonGroup.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface ButtonGroupProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/ButtonToolbar.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface ButtonToolbarProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/Card.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface CardProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/CardBody.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface CardBodyProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/CardColumns.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface CardColumnsProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/CardDeck.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface CardDeckProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/CardFooter.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface CardFooterProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/CardGroup.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface CardGroupProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/CardHeader.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface CardHeaderProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/CardImg.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface CardImgProps
extends React.ImgHTMLAttributes<HTMLImageElement> {
Expand Down
2 changes: 1 addition & 1 deletion types/lib/CardImgOverlay.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface CardImgOverlayProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/CardLink.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface CardLinkProps
extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
Expand Down
2 changes: 1 addition & 1 deletion types/lib/CardSubtitle.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface CardSubtitleProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/CardText.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface CardTextProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/CardTitle.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface CardTitleProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/Carousel.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

interface CommonCarouselProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/CarouselCaption.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface CarouselCaptionProps
extends React.HTMLAttributes<HTMLElement> {
Expand Down
2 changes: 1 addition & 1 deletion types/lib/CarouselControl.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface CarouselControlProps
extends React.HTMLAttributes<HTMLElement> {
Expand Down
2 changes: 1 addition & 1 deletion types/lib/CarouselIndicators.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface CarouselIndicatorsProps
extends React.HTMLAttributes<HTMLElement> {
Expand Down
2 changes: 1 addition & 1 deletion types/lib/CarouselItem.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface CarouselItemProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/Col.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export type ColumnProps =
| string
Expand Down
2 changes: 1 addition & 1 deletion types/lib/Collapse.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface CollapseProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/Container.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface ContainerProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/Dropdown.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export type Direction = 'up' | 'down' | 'start' | 'end';

Expand Down
2 changes: 1 addition & 1 deletion types/lib/DropdownItem.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface DropdownItemProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/DropdownMenu.d.ts
@@ -1,6 +1,6 @@
import * as React from 'react';
import type { Modifier } from '@popperjs/core';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface DropdownMenuProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/DropdownToggle.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface DropdownToggleProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/Fade.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface FadeProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/Form.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface FormProps extends React.FormHTMLAttributes<HTMLFormElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/FormFeedback.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface FormFeedbackProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/FormGroup.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface FormGroupProps extends React.HTMLAttributes<HTMLDivElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/FormText.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface FormTextProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/Input.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export type InputType =
| 'text'
Expand Down
2 changes: 1 addition & 1 deletion types/lib/InputGroup.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface InputGroupProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/InputGroupText.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface InputGroupTextProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/Label.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';
import { ColumnProps } from './Col';

export interface LabelProps
Expand Down
2 changes: 1 addition & 1 deletion types/lib/List.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface ListProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/ListGroup.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface ListGroupProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/ListGroupItem.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface ListGroupItemProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/ListGroupItemHeading.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface ListGroupItemHeadingProps
extends React.HTMLAttributes<HTMLElement> {
Expand Down
2 changes: 1 addition & 1 deletion types/lib/ListGroupItemText.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface ListGroupItemTextProps
extends React.HTMLAttributes<HTMLElement> {
Expand Down
2 changes: 1 addition & 1 deletion types/lib/ListInlineItem.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface ListInlineItemProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/Media.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface MediaProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/Modal.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';
import { FadeProps } from './Fade';

export interface ModalProps extends React.HTMLAttributes<HTMLElement> {
Expand Down
2 changes: 1 addition & 1 deletion types/lib/ModalBody.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface ModalBodyProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/ModalFooter.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface ModalFooterProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/ModalHeader.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface ModalHeaderProps extends React.HTMLAttributes<HTMLElement> {
[key: string]: any;
Expand Down
2 changes: 1 addition & 1 deletion types/lib/Nav.d.ts
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CSSModule } from './index';
import { CSSModule } from './utils';

export interface NavProps extends React.HTMLAttributes<HTMLUListElement> {
[key: string]: any;
Expand Down