10000 release: v4.0.0-alpha.2 · thundergod3/coreui-react@7ff8048 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7ff8048

Browse files
committed
release: v4.0.0-alpha.2
1 parent 1e7b529 commit 7ff8048

16 files changed

+86
-102
lines changed

dist/components/carousel/CCarousel.d.ts

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,56 +2,40 @@ import React, { HTMLAttributes } from 'react';
22
export interface CCarouselProps extends HTMLAttributes<HTMLDivElement> {
33
/**
44
* Set 'animate' variable for created context. [docs]
5-
*
6-
* @type boolean
75
*/
86
animate?: boolean;
97
/**
108
* A string of all className you want applied to the base component. [docs]
11-
*
12-
* @type string
139
*/
1410
className?: string;
1511
/**
1612
* Adding in the previous and next controls. [docs]
17-
*
18-
* @type: boolean
1913
*/
2014
controls?: boolean;
2115
/**
2216
* Add darker controls, indicators, and captions. [docs]
23-
*
24-
* @type boolean
2517
*/
2618
dark?: boolean;
2719
/**
2820
* The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle. [docs]
29-
*
30-
* @type boolean | number
3121
*/
3222
interval?: boolean | number;
3323
/**
3424
* index of the active item. [docs]
35-
*
36-
* @type number
3725
*/
3826
index?: number;
3927
/**
4028
* Adding indicators at the bottom of the carousel for each item. [docs]
41-
*
42-
* @type boolean
4329
*/
4430
indicators?: boolean;
4531
/**
4632
* On slide change callback. [docs]
47-
*
48-
* @type (a:number|string|null)=>void
4933
*/
5034
onSlideChange?: (a: number | string | null) => void;
5135
/**
5236
* On slide change callback. [docs]
5337
*
54-
* @type 'slide' | 'crossfade'
38+
* @type {'slide' | 'crossfade'}
5539
* @default 'slide'
5640
*/
5741
transition?: 'slide' | 'crossfade';

dist/components/carousel/CCarouselIndicators.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ export interface CCarouselIndicatorsProps extends HTMLAttributes<HTMLOListElemen
66
className?: string;
77
/**
88
* Indicators section user classes. [docs]
9-
*
10-
* @type string
119
*/
1210
indicatorsClass?: string;
1311
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { FC, HTMLAttributes } from 'react';
1+
import React, { HTMLAttributes } from 'react';
22
export interface CDropdownDividerProps extends HTMLAttributes<HTMLHRElement> {
33
/**
44
* A string of all className you want applied to the component. [docs]
55
*/
66
className?: string;
77
}
8-
export declare const CDropdownDivider: FC<CDropdownDividerProps>;
8+
export declare const CDropdownDivider: React.ForwardRefExoticComponent<CDropdownDividerProps & React.RefAttributes<HTMLHRElement>>;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { FC, HTMLAttributes } from 'react';
1+
import React, { HTMLAttributes } from 'react';
22
export interface CHeaderDividerProps extends HTMLAttributes<HTMLDivElement> {
33
/**
44
* A string of all className you want applied to the component. [docs]
55
*/
66
className?: string;
77
}
8-
export declare const CHeaderDivider: FC<CHeaderDividerProps>;
8+
export declare const CHeaderDivider: React.ForwardRefExoticComponent<CHeaderDividerProps & React.RefAttributes<HTMLDivElement>>;

dist/components/modal/CModal.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FC, HTMLAttributes } from 'react';
1+
import React, { HTMLAttributes } from 'react';
22
export interface CModalProps extends HTMLAttributes<HTMLDivElement> {
33
/**
44
* Align the modal in the center or top of the screen. [docs]
@@ -53,4 +53,4 @@ export interface CModalProps extends HTMLAttributes<HTMLDivElement> {
5353
*/
5454
visible?: boolean;
5555
}
56-
export declare const CModal: FC<CModalProps>;
56+
export declare const CModal: React.ForwardRefExoticComponent<CModalProps & React.RefAttributes<HTMLDivElement>>;

dist/components/modal/CModalBody.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { FC, HTMLAttributes } from 'react';
1+
import React, { HTMLAttributes } from 'react';
22
export interface CModalBodyProps extends HTMLAttributes<HTMLDivElement> {
33
/**
44
* A string of all className you want applied to the base component. [docs]
55
*/
66
className?: string;
77
}
8-
export declare const CModalBody: FC<CModalBodyProps>;
8+
export declare const CModalBody: React.ForwardRefExoticComponent<CModalBodyProps & React.RefAttributes<HTMLDivElement>>;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { FC, HTMLAttributes } from 'react';
1+
import React, { HTMLAttributes } from 'react';
22
export interface CModalContentProps extends HTMLAttributes<HTMLDivElement> {
33
/**
44
* A string of all className you want applied to the base component. [docs]
55
*/
66
className?: string;
77
}
8-
export declare const CModalContent: FC<CModalContentProps>;
8+
export declare const CModalContent: React.ForwardRefExoticComponent<CModalContentProps & React.RefAttributes<HTMLDivElement>>;

dist/components/modal/CModalDialog.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FC, HTMLAttributes } from 'react';
1+
import React, { HTMLAttributes } from 'react';
22
export interface CModalDialogProps extends HTMLAttributes<HTMLDivElement> {
33
/**
44
* Align the modal in the center or top of the screen. [docs]
@@ -23,4 +23,4 @@ export interface CModalDialogProps extends HTMLAttributes<HTMLDivElement> {
2323
*/
2424
size?: 'sm' | 'lg' | 'xl';
2525
}
26-
export declare const CModalDialog: FC<CModalDialogProps>;
26+
export declare const CModalDialog: React.ForwardRefExoticComponent<CModalDialogProps & React.RefAttributes<HTMLDivElement>>;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { FC, HTMLAttributes } from 'react';
1+
import React, { HTMLAttributes } from 'react';
22
export interface CModalFooterProps extends HTMLAttributes<HTMLDivElement> {
33
/**
44
* A string of all className you want applied to the base component. [docs]
55
*/
66
className?: string;
77
}
8-
export declare const CModalFooter: FC<CModalFooterProps>;
8+
export declare const CModalFooter: React.ForwardRefExoticComponent<CModalFooterProps & React.RefAttributes<HTMLDivElement>>;

dist/components/modal/CModalHeader.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FC, HTMLAttributes } from 'react';
1+
import React, { HTMLAttributes } from 'react';
22
export interface CModalHeaderProps extends HTMLAttributes<HTMLDivElement> {
33
/**
44
* A string of all className you want applied to the base component. [docs]
@@ -9,4 +9,4 @@ export interface CModalHeaderProps extends HTMLAttributes<HTMLDivElement> {
99
*/
1010
onDismiss?: () => void;
1111
}
12-
export declare const CModalHeader: FC<CModalHeaderProps>;
12+
export declare const CModalHeader: React.ForwardRefExoticComponent<CModalHeaderProps & React.RefAttributes<HTMLDivElement>>;

dist/components/modal/CModalTitle.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ElementType, FC, HTMLAttributes } from 'react';
1+
import React, { ElementType, HTMLAttributes } from 'react';
22
export interface CModalTitleProps extends HTMLAttributes<HTMLHeadingElement> {
33
/**
44
* A string of all className you want applied to the base component. [docs]
@@ -11,4 +11,4 @@ export interface CModalTitleProps extends HTMLAttributes<HTMLHeadingElement> {
1111
*/
1212
component?: string | ElementType;
1313
}
14-
export declare const CModalTitle: FC<CModalTitleProps>;
14+
export declare const CModalTitle: React.ForwardRefExoticComponent<CModalTitleProps & React.RefAttributes<HTMLHeadElement>>;

dist/index.es.js

Lines changed: 32 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.es.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
0