Skip to content

Commit 0cec556

Browse files
committed
release: v4.1.0
1 parent fdaf0e7 commit 0cec556

File tree

9 files changed

+1677
-1356
lines changed

9 files changed

+1677
-1356
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
Several quick start options are available:
4545

46-
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.0.2.zip)
46+
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.1.0.zip)
4747
- Clone the repo: `git clone https://github.com/coreui/coreui-react.git`
4848
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/react`
4949
- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/react`

lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"packages/*"
55
],
66
"useWorkspaces": true,
7-
"version": "4.0.2"
7+
"version": "4.1.0"
88
}

packages/coreui-react/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
Several quick start options are available:
4545

46-
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.0.2.zip)
46+
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.1.0.zip)
4747
- Clone the repo: `git clone https://github.com/coreui/coreui-react.git`
4848
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/react`
4949
- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/react`

packages/coreui-react/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/react",
3-
"version": "4.0.2",
3+
"version": "4.1.0",
44
"description": "UI Components Library for React.js",
55
"keywords": [
66
"react",

packages/coreui-react/src/components/placeholder/CPlaceholder.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import classNames from 'classnames'
55
import { Colors, colorPropType } from '../Types'
66

77
export interface CPlaceholderProps extends HTMLAttributes<HTMLSpanElement> {
8+
/**
9+
* Set animation type to better convey the perception of something being actively loaded.
10+
*/
811
animation?: 'glow' | 'wave'
912
/**
1013
* A string of all className you want applied to the component.

packages/docs/content/4.0/components/navbar.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1338,9 +1338,9 @@ return (
13381338

13391339
### Offcanvas
13401340

1341-
Transform your expanding and collapsing navbar into an offcanvas drawer with the offcanvas plugin. We extend both the offcanvas default styles and use our `.navbar-expand-*` classes to create a dynamic and flexible navigation sidebar.
1341+
Transform your expanding and collapsing navbar into an offcanvas drawer with the offcanvas plugin. We extend both the offcanvas default styles and use our `expand="*"` prop to create a dynamic and flexible navigation sidebar.
13421342

1343-
In the example below, to create an offcanvas navbar that is always collapsed across all breakpoints, omit the `.navbar-expand-*` class entirely.
1343+
In the example below, to create an offcanvas navbar that is always collapsed across all breakpoints, omit the `expand="*"` prop entirely.
13441344

13451345
export const OffcanvasExample = () => {
13461346
const [visible, setVisible] = useState(false)

packages/docs/content/4.0/components/placeholder.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: React Placeholder Component
3-
name: Alert
3+
name: Placeholder
44
description: Use loading react placeholders for your components or pages to indicate something may still be loading.
55
menu: Components
66
route: /components/placeholder

packages/docs/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/react-docs",
3-
"version": "4.0.2",
3+
"version": "4.1.0",
44
"private": true,
55
"description": "",
66
"homepage": "https://coreui.io/react/",
@@ -28,7 +28,7 @@
2828
},
2929
"dependencies": {
3030
"@coreui/chartjs": "^3.0.0",
31-
"@coreui/coreui": "^4.0.5",
31+
"@coreui/coreui": "^4.1.0",
3232
"@coreui/icons": "^2.1.0",
3333
"@coreui/icons-react": "^2.0.0",
3434
"@coreui/react-chartjs": "^2.0.0",

yarn.lock

+1,665-1,347
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)