Skip to content

Commit 1b3fe15

Browse files
committed
release: v2.0.0-rc.1
1 parent 50beaf7 commit 1b3fe15

15 files changed

+155
-197
lines changed

NWB.md

-25
This file was deleted.

README.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![npm package][npm-badge]][npm]
44
[![NPM downloads][npm-download]][npm]
5-
![react](https://img.shields.io/badge/react-^17.0.1-lightgrey.svg?style=flat-square&logo=react)
5+
![react](https://img.shields.io/badge/react-^17.0.2-lightgrey.svg?style=flat-square&logo=react)
66

77

88
[npm-badge]: https://img.shields.io/npm/v/@coreui/icons-react/latest?style=flat-square
@@ -31,10 +31,6 @@ yarn add @coreui/icons-react
3131
import { CIcon } from '@coreui/icons-react';
3232
import { cifAU } from '@coreui/icons';
3333
```
34-
or:
35-
```scss
36-
@import '~@coreui/icons/css/all.css';
37-
```
3834

3935
##### usage:
4036
```jsx
@@ -43,7 +39,7 @@ class CoreUIIcons extends Component {
4339
...
4440
render() {
4541
return (
46-
<CIcon name="cil-list" size="2xl"/>
42+
<CIcon name="cil-list" size="xxl"/>
4743
)
4844
}
4945
...

dist/CIcon.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ export interface CIconProps extends DOMAttributes<SVGSVGElement> {
1414
*/
1515
content?: string | Array<string>;
1616
/**
17-
* Size of the icon. Available sizes: 'sm', 'lg', 'xl', '2xl'...'9xl', 'custom', 'custom-size'. [docs]
17+
* Size of the icon. Available sizes: 'sm', 'lg', 'xl', 'xxl', '3xl...9xl', 'custom', 'custom-size'. [docs]
1818
*/
19-
size?: 'custom-size' | 'sm' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl' | '9xl';
19+
size?: 'custom-size' | 'sm' | 'lg' | 'xl' | 'xxl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl' | '9xl';
2020
/**
2121
* Use for replacing default CIcon component classes. Prop is overriding the 'size' prop. [docs]
2222
*/

dist/index.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
font-size: 1rem;
1212
}
1313

14-
.icon:not(.icon-c-s):not(.icon-custom-size).icon-2xl {
14+
.icon:not(.icon-c-s):not(.icon-custom-size).icon-xxl {
1515
width: 2rem;
1616
height: 2rem;
1717
font-size: 2rem;

dist/index.es.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
font-size: 1rem;
1212
}
1313

14-
.icon:not(.icon-c-s):not(.icon-custom-size).icon-2xl {
14+
.icon:not(.icon-c-s):not(.icon-custom-size).icon-xxl {
1515
width: 2rem;
1616
height: 2rem;
1717
font-size: 2rem;

dist/index.es.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.es.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

link.sh

-3
This file was deleted.

nwb.config.js

-16
This file was deleted.

package.json

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/icons-react",
3-
"version": "2.0.0-rc.0",
3+
"version": "2.0.0-rc.1",
44
"description": "CoreUI Icons React component",
55
"license": "MIT",
66
"homepage": "https://coreui.io",
@@ -35,34 +35,34 @@
3535
"lint": "eslint \"src/**/*.{js,ts,tsx}\""
3636
},
3737
"dependencies": {
38-
"@typescript-eslint/eslint-plugin": "^4.28.1",
39-
"@typescript-eslint/parser": "^4.28.1",
38+
"@typescript-eslint/eslint-plugin": "^4.29.1",
39+
"@typescript-eslint/parser": "^4.29.1",
4040
"eslint-config-prettier": "^8.3.0",
41-
"eslint-plugin-jsdoc": "^35.4.1",
41+
"eslint-plugin-jsdoc": "^36.0.7",
4242
"eslint-plugin-prettier": "^3.4.0",
4343
"prettier": "^2.3.2"
4444
},
4545
"peerDependencies": {
4646
"react": "^17.0.2"
4747
},
4848
"devDependencies": {
49-
"@rollup/plugin-commonjs": "^19.0.0",
50-
"@rollup/plugin-node-resolve": "^13.0.0",
51-
"@types/lodash": "^4.14.169",
52-
"@types/react": "^17.0.5",
49+
"@rollup/plugin-commonjs": "^20.0.0",
50+
"@rollup/plugin-node-resolve": "^13.0.4",
51+
"@rollup/plugin-typescript": "^8.2.5",
52+
"@types/lodash": "^4.14.172",
53+
"@types/react": "^17.0.17",
5354
"babel-eslint": "^10.1.0",
5455
"classnames": "^2.3.1",
55-
"eslint": "^7.26.0",
56-
"eslint-plugin-import": "^2.23.2",
57-
"eslint-plugin-react": "^7.23.2",
56+
"eslint": "^7.32.0",
57+
"eslint-plugin-import": "^2.24.0",
58+
"eslint-plugin-react": "^7.24.0",
5859
"eslint-plugin-react-hooks": "^4.2.0",
5960
"lodash": "^4.17.21",
6061
"prop-types": "^15.7.2",
61-
"rollup": "^2.48.0",
62-
"rollup-plugin-import-css": "^2.0.1",
62+
"rollup": "^2.56.2",
63+
"rollup-plugin-import-css": "^3.0.0",
6364
"rollup-plugin-peer-deps-external": "^2.2.4",
64-
"rollup-plugin-typescript2": "^0.30.0",
65-
"typescript": "^4.2.4"
65+
"typescript": "^4.3.5"
6666
},
6767
"keywords": [
6868
"coreui",

rollup.config.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import typescript from 'rollup-plugin-typescript2'
21
import commonjs from '@rollup/plugin-commonjs'
32
import external from 'rollup-plugin-peer-deps-external'
43
import resolve from '@rollup/plugin-node-resolve'
4+
import typescript from '@rollup/plugin-typescript'
55
import css from 'rollup-plugin-import-css'
66
import pkg from './package.json'
77
export default {
@@ -25,12 +25,10 @@ export default {
2525
external(),
2626
resolve(),
2727
typescript({
28-
rollupCommonJSResolveHack: true,
2928
exclude: ['**/__tests__/**'],
30-
clean: true,
3129
}),
3230
commonjs({
33-
include: ['node_modules/**']
31+
include: ['node_modules/**'],
3432
}),
3533
],
3634
}

src/CIcon.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
font-size: 1rem;
1212
}
1313

14-
.icon:not(.icon-c-s):not(.icon-custom-size).icon-2xl {
14+
.icon:not(.icon-c-s):not(.icon-custom-size).icon-xxl {
1515
width: 2rem;
1616
height: 2rem;
1717
font-size: 2rem;

0 commit comments

Comments
 (0)