Skip to content

Commit

Permalink
release: v4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mrholek committed Nov 29, 2021
1 parent fdaf0e7 commit 0cec556
Show file tree
Hide file tree
Showing 9 changed files with 1,677 additions and 1,356 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

Several quick start options are available:

- [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.0.2.zip)
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.1.0.zip)
- Clone the repo: `git clone https://github.com/coreui/coreui-react.git`
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/react`
- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/react`
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"packages/*"
],
"useWorkspaces": true,
"version": "4.0.2"
"version": "4.1.0"
}
2 changes: 1 addition & 1 deletion packages/coreui-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

Several quick start options are available:

- [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.0.2.zip)
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.1.0.zip)
- Clone the repo: `git clone https://github.com/coreui/coreui-react.git`
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/react`
- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/react`
Expand Down
2 changes: 1 addition & 1 deletion packages/coreui-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coreui/react",
"version": "4.0.2",
"version": "4.1.0",
"description": "UI Components Library for React.js",
"keywords": [
"react",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import classNames from 'classnames'
import { Colors, colorPropType } from '../Types'

export interface CPlaceholderProps extends HTMLAttributes<HTMLSpanElement> {
/**
* Set animation type to better convey the perception of something being actively loaded.
*/
animation?: 'glow' | 'wave'
/**
* A string of all className you want applied to the component.
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/content/4.0/components/navbar.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1338,9 +1338,9 @@ return (

### Offcanvas

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.
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.

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

export const OffcanvasExample = () => {
const [visible, setVisible] = useState(false)
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/content/4.0/components/placeholder.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: React Placeholder Component
name: Alert
name: Placeholder
description: Use loading react placeholders for your components or pages to indicate something may still be loading.
menu: Components
route: /components/placeholder
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coreui/react-docs",
"version": "4.0.2",
"version": "4.1.0",
"private": true,
"description": "",
"homepage": "https://coreui.io/react/",
Expand Down Expand Up @@ -28,7 +28,7 @@
},
"dependencies": {
"@coreui/chartjs": "^3.0.0",
"@coreui/coreui": "^4.0.5",
"@coreui/coreui": "^4.1.0",
"@coreui/icons": "^2.1.0",
"@coreui/icons-react": "^2.0.0",
"@coreui/react-chartjs": "^2.0.0",
Expand Down
3,012 changes: 1,665 additions & 1,347 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 0cec556

Please sign in to comment.