@coreui/react 4.4.1 → 4.5.0
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/README.md +1 -1
- package/dist/components/carousel/CCarousel.d.ts +6 -0
- package/dist/components/form/CFormControlWrapper.d.ts +6 -0
- package/dist/index.es.js +651 -622
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +651 -622
- package/dist/index.js.map +1 -1
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/isVisible.d.ts +2 -0
- package/package.json +3 -3
- package/src/components/carousel/CCarousel.tsx +38 -10
- package/src/components/form/CFormControlWrapper.tsx +20 -1
- package/src/components/form/CFormInput.tsx +2 -0
- package/src/components/form/CFormSelect.tsx +2 -0
- package/src/components/form/CFormTextarea.tsx +2 -0
- package/src/components/modal/CModal.tsx +4 -1
- package/src/components/sidebar/CSidebar.tsx +1 -10
- package/src/utils/index.ts +3 -0
- package/src/utils/isVisible.ts +11 -0
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
|
|
47
47
|
Several quick start options are available:
|
|
48
48
|
|
|
49
|
-
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.
|
|
49
|
+
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.5.0.zip)
|
|
50
50
|
- Clone the repo: `git clone https://github.com/coreui/coreui-react.git`
|
|
51
51
|
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/react`
|
|
52
52
|
- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/react`
|
|
@@ -36,6 +36,12 @@ export interface CCarouselProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
36
36
|
* If set to 'hover', pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave. If set to false, hovering over the carousel won't pause it.
|
|
37
37
|
*/
|
|
38
38
|
pause?: boolean | 'hover';
|
|
39
|
+
/**
|
|
40
|
+
* Set whether the carousel should support left/right swipe interactions on touchscreen devices.
|
|
41
|
+
*
|
|
42
|
+
* @since 4.5.0
|
|
43
|
+
*/
|
|
44
|
+
touch?: boolean;
|
|
39
45
|
/**
|
|
40
46
|
* Set type of the transition.
|
|
41
47
|
*/
|
|
@@ -5,6 +5,12 @@ export interface CFormControlWrapperProps extends CFormControlValidationProps {
|
|
|
5
5
|
* @ignore
|
|
6
6
|
*/
|
|
7
7
|
children?: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* A string of all className you want applied to the floating label wrapper.
|
|
10
|
+
*
|
|
11
|
+
* @since 4.5.0
|
|
12
|
+
*/
|
|
13
|
+
floatingClassName?: string;
|
|
8
14
|
/**
|
|
9
15
|
* Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
10
16
|
*
|