chore: dependencies

This commit is contained in:
xidedix 2018-04-16 20:03:09 +02:00
parent cb73aa6655
commit 3ec289c73d
4 changed files with 495 additions and 719 deletions

View File

@ -12,27 +12,27 @@
"url": "git@github.com:mrholek/CoreUI-React.git"
},
"dependencies": {
"@coreui/coreui": "^2.0.0-beta.6",
"@coreui/coreui": "^2.0.0-beta.8",
"@coreui/react": "^2.0.0-beta",
"babel-jest": "^22.4.3",
"bootstrap": "4.0.0",
"bootstrap": "^4.1.0",
"chart.js": "^2.7.2",
"classnames": "^2.2.3",
"classnames": "^2.2.5",
"flag-icon-css": "^3.0.0",
"font-awesome": "^4.7.0",
"node-sass-chokidar": "^1.2.2",
"prop-types": "^15.6.1",
"react": "^16.3.1",
"react": "^16.3.2",
"react-chartjs-2": "^2.7.0",
"react-dom": "^16.3.1",
"react-dom": "^16.3.2",
"react-router-config": "^1.0.0-beta.4",
"react-router-dom": "^4.2.2",
"react-scripts": "^1.1.4",
"reactstrap": "^5.0.0",
"simple-line-icons": "^2.4.1"
},
"devDependencies": {
"npm-run-all": "^4.1.2"
"babel-jest": "^22.4.3",
"node-sass-chokidar": "^1.2.2",
"npm-run-all": "^4.1.2",
"react-scripts": "^1.1.4"
},
"scripts": {
"build-css": "node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/",

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,6 @@
import React, { Component } from 'react';
import {
Badge,
Button,
ButtonDropdown,
Card,
@ -195,7 +196,7 @@ class Forms extends Component {
</FormGroup>
<FormGroup row>
<Col md="3">
<Label htmlFor="date-input">Date Input</Label>
<Label htmlFor="date-input">Date Input <Badge>NEW</Badge></Label>
</Col>
<Col xs="12" md="9">
<Input type="date" id="date-input" name="date-input" placeholder="date" />

View File

@ -594,276 +594,6 @@ class Switches extends Component {
</Card>
</Col>
<Col xs="12" md="6">
<Card>
<CardHeader>
Switch with icon
</CardHeader>
<CardBody>
<Label className="switch switch-icon switch-primary">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf164'} data-off={'\uf165'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-secondary">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf087'} data-off={'\uf088'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-success">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf028'} data-off={'\uf026'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-warning">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-info">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-danger">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
</CardBody>
</Card>
</Col>
<Col xs="12" md="6">
<Card>
<CardHeader>
Switch with icon - pills
</CardHeader>
<CardBody>
<Label className="switch switch-icon switch-pill switch-primary">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-pill switch-secondary">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-pill switch-success">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-pill switch-warning">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-pill switch-info">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-pill switch-danger">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
</CardBody>
</Card>
</Col>
<Col xs="12" md="6">
<Card>
<CardHeader>
Switch with icon outline
</CardHeader>
<CardBody>
<Label className="switch switch-icon switch-primary-outline">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-secondary-outline">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-success-outline">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-warning-outline">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-info-outline">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-danger-outline">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
</CardBody>
</Card>
</Col>
<Col xs="12" md="6">
<Card>
<CardHeader>
Switch with icon outline - pills
</CardHeader>
<CardBody>
<Label className="switch switch-icon switch-pill switch-primary-outline">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-pill switch-secondary-outline">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-pill switch-success-outline">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-pill switch-warning-outline">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-pill switch-info-outline">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-pill switch-danger-outline">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
</CardBody>
</Card>
</Col>
<Col xs="12" md="6">
<Card>
<CardHeader>
Switch with icon outline alternative
</CardHeader>
<CardBody>
<Label className="switch switch-icon switch-primary-outline-alt">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-secondary-outline-alt">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-success-outline-alt">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-warning-outline-alt">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-info-outline-alt">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-danger-outline-alt">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
</CardBody>
</Card>
</Col>
<Col xs="12" md="6">
<Card>
<CardHeader>
Switch with icon outline alternative - pills
</CardHeader>
<CardBody>
<Label className="switch switch-icon switch-pill switch-primary-outline-alt">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-pill switch-secondary-outline-alt">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-pill switch-success-outline-alt">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-pill switch-warning-outline-alt">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-pill switch-info-outline-alt">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
&nbsp;&nbsp;&nbsp;
<Label className="switch switch-icon switch-pill switch-danger-outline-alt">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label" data-on={'\uf00c'} data-off={'\uf00d'}></span>
<span className="switch-handle"></span>
</Label>
</CardBody>
</Card>
</Col>
<Col xs="12">
<Card>
<CardHeader>
@ -924,21 +654,6 @@ class Switches extends Component {
Add following class <code>.switch-sm</code>
</td>
</tr>
<tr>
<td>
Extra small
</td>
<td>
<Label className="switch switch-xs switch-3d switch-primary">
<Input type="checkbox" className="switch-input" defaultChecked />
<span className="switch-label"></span>
<span className="switch-handle"></span>
</Label>
</td>
<td>
Add following class <code>.switch-xs</code>
</td>
</tr>
</tbody>
</Table>
</CardBody>