Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: creativetimofficial/light-bootstrap-dashboard-react

v2.0.1

04 Jul 09:53
d1116ed
This commit was created on GitHub.com and signed with GitHub’sverified signature. The key has expired.
GPG key ID:4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
  • Update dependencies
  • Migration to React 18
  • Migration to sass from node-sass
Assets2
Loading

Updated dependencies

21 Jan 15:53
c2bb820
This commit was created on GitHub.com and signed with GitHub’sverified signature. The key has expired.
GPG key ID:4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

[2.0.0] 2021-01-21

IMPORTANT

  • We have updated this product from Bootstrap 3 to Bootstrap 4, so in essence, this is a new product
  • For this, we have followed the guidelines fromhere andhere
  • We also did not add Bootstrap variables as part of our styles (we will do so in one of our next updates, probably in version 3.0.0 when we'll add Bootstrap 5)

Bug fixing

  • Renamed all files to.js, instead of.jsx
  • Refactor all files from class components to functional ones, so now, you can use React Hooks
  • #62
  • #58
  • #52
  • #50

Major style changes

  • Since the update from Bootstrap 3 to Bootstrap 4, all styles have been changed

Deleted components

  • src/components/Card/Card.jsx (we'll use the simple React Bootstrap tags instead)
  • src/components/CustomButton/CustomButton.jsx (we'll use the simple React Bootstrap tags instead)
  • src/components/CustomCheckbox/CustomCheckbox.jsx (we'll use the simple React Bootstrap tags instead)
  • src/components/CustomRadio/CustomRadio.jsx (we'll use the simple React Bootstrap tags instead)
  • src/components/FormInputs/FormInputs.jsx (we'll use the simple React Bootstrap tags instead)
  • src/components/StatsCard/StatsCard.jsx (we'll use the simple React Bootstrap tags instead)
  • src/components/Tasks/Tasks.jsx (we'll use the simple React Bootstrap tags instead)
  • src/components/UserCard/UserCard.jsx (we'll use the simple React Bootstrap tags instead)

Added components

Deleted dependencies

  • react-notification-system (we'll use react-notification-alert from now on)
  • @types/googlemaps
  • @types/markerclustererplus
  • @types/react
  • react-google-maps (we'll use simple Google Maps API with Vanilla JS)
  • react-toggle (we'll use the simple React-Bootstrap Form.Check as a switch instead)

Added dependencies

  • react-notification-alert@0.0.13 (instead of the react-notification-system)
  • reactstrap@8.9.0 (as part of the react-notification-alert)
  • jquery@3.5.1 (since Bootstrap requires it)
  • @fortawesome/fontawesome-free@5.15.2 (For easier update of the package - instead of a link inside public/index.html)
  • gulp-append-prepend@1.0.8 (For Creative Tim licenses)
  • gulp@4.0.2 (For Creative Tim licenses)

Updated dependencies

bootstrap           3.3.7   →    4.6.0node-sass          4.12.0   →   4.14.1react              16.8.6   →   17.0.1react-bootstrap    0.32.4   →    1.4.3react-chartist     0.13.3   →   0.14.3react-dom          16.8.6   →   17.0.1react-router        5.0.0   →    5.2.0react-router-dom    5.0.0   →    5.2.0react-scripts       3.0.0   →    4.0.1typescript          3.4.3   →    4.1.3

Warning

The TypeScript and jQuery dependencies are installed only to stop console warnings on install. They are not actually used in our product. So the product is not based on TypeScript or jQuery!
The following warnings will appear when running the installation command, but they do not affect the UI or the functionality of the product (they will be solved in our next update):

npm WARN react-chartist@0.14.3 requires a peer of react@^0.14.9 || ^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.npm WARN react-popper@1.3.7 requires a peer of react@0.14.x || ^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.npm WARN create-react-context@0.3.0 requires a peer of react@^0.14.0 || ^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.

If they will persist in our 2.4.* version, we will drop their usages and replace them with other plugins.
In development mode, some of the above plugins will throw a warning because they still use React v16 syntax. If the error will persist in our 2.4.* version, we will drop their usage and replace them with other plugins.

Upgrade details

  • Updated all packages frompackage.json usingnpm-upgrade, link here:https://www.npmjs.com/package/npm-upgrade
  • Renamed allControlLabel components toFormLabel (this refers to the react-bootstrap components)
  • Renamed allGrid components toContainer (this refers to the react-bootstrap components)
  • Rename allHelpBlock components toFormText
  • Rename allMenuItem components toDropdown.Item andNavDropdown.Item
  • Rename all Panel components to Card
  • Deleted variables folder
  • Change the usage ofReact Big Calendar to the new API, so instead of
import BigCalendar from "react-big-calendar";
  • And
const localizer = BigCalendar.momentLocalizer(moment);
  • We will have:
import { Calendar as BigCalendar, momentLocalizer } from "react-big-calendar";
  • And
const localizer = momentLocalizer(moment);
  • Change Panels with new react-bootstrap components
  • For Col componets, replacedsize={number1} sizeOffest={number2} withsize={{span: number1, offset: number2}} where size can bexs,sm,md,lg
  • ChangedbsStyle tovariant
  • ChangedbsSize tosize
  • Replace<Navbar.Header> with<div className=“navbar-header”>
  • Replace<Navbar.Form> with<div className="navbar-search-form navbar-form navbar-left">
  • Replace<FormGroup> with<Form.Group>
  • Replace<InputGroup.Addon> with<InputGroup.Prepend><InputGroup.Text> and<InputGroup.Append><InputGroup.Text>
  • All required images have a default prop at the end now, example:const us_flag = require("../assets/img/flags/US.png"); was changed toconst us_flag = require("../assets/img/flags/US.png").default;
  • Rename all .jsx files to .js
  • Added Row and Col inside StatsCard
  • Delete eventKey from NavDropdown components
  • Deleted noCaret from NavDropdown components
  • Replace Navbar fluid with Navbar → Container fluid
  • Add fontawesome as dependencie instead of font link insde public/index.html, it is now imported insde src/index.js
  • In addition to these changes, we’ve chaned the structure of the pages and components as well to match those from the HTML version of the product:https://www.creative-tim.com/product/light-bootstrap-dashboard
Loading

[8]ページ先頭

©2009-2025 Movatter.jp