Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-chrono

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-chrono - npm Package Compare versions

Comparing version 1.11.0 to 1.12.0

44

package.json
{
"name": "react-chrono",
"version": "1.11.0",
"version": "1.12.0",
"license": "MIT",

@@ -44,6 +44,6 @@ "description": "A Modern Timeline component for React",

"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/core": "^7.15.5",
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/preset-env": "^7.15.6",
"@babel/preset-react": "^7.14.5",

@@ -58,39 +58,41 @@ "@babel/preset-typescript": "^7.15.0",

"@snowpack/app-scripts-react": "^2.0.1",
"@snowpack/plugin-dotenv": "^2.1.0",
"@snowpack/plugin-dotenv": "^2.2.0",
"@snowpack/plugin-react-refresh": "^2.5.0",
"@snowpack/plugin-typescript": "^1.2.1",
"@snowpack/web-test-runner-plugin": "^0.2.2",
"@testing-library/dom": "^8.5.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/react": "^12.1.0",
"@testing-library/user-event": "^13.2.1",
"@types/classnames": "^2.3.1",
"@types/jest": "^27.0.1",
"@types/node": "^16.6.1",
"@types/react": "^17.0.17",
"@types/node": "^16.9.1",
"@types/react": "^17.0.20",
"@types/react-dom": "^17.0.9",
"@types/react-router-dom": "^5.1.8",
"@types/snowpack-env": "^2.3.4",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"babel-loader": "^8.2.2",
"cssnano": "^5.0.7",
"cypress": "8.2.0",
"cssnano": "^5.0.8",
"cypress": "8.3.1",
"eslint": "^7.32.0",
"eslint-plugin-react": "^7.24.0",
"husky": "^7.0.1",
"jest": "^27.0.6",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.25.1",
"husky": "^7.0.2",
"jest": "^27.2.0",
"lint-staged": "^11.1.2",
"postcss": "^8.3.6",
"prettier": "^2.3.2",
"prettier": "^2.4.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"react-router-dom": "^5.2.0",
"react-router-dom": "^5.3.0",
"rimraf": "^3.0.2",
"rollup": "^2.56.2",
"rollup": "^2.56.3",
"rollup-plugin-postcss": "^4.0.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"snowpack": "^3.8.6",
"start-server-and-test": "^1.13.1",
"snowpack": "^3.8.8",
"start-server-and-test": "^1.14.0",
"stylelint": "^13.13.1",

@@ -100,4 +102,4 @@ "stylelint-config-recommended": "^5.0.0",

"stylelint-processor-styled-components": "^1.10.0",
"ts-jest": "^27.0.4",
"typescript": "^4.3.5"
"ts-jest": "^27.0.5",
"typescript": "^4.4.3"
},

@@ -104,0 +106,0 @@ "peerDependencies": {

@@ -55,2 +55,3 @@ <div align="center">

- [Slideshow mode](#slideshow-mode)
- [Outline](#outline)
- [Item Width](#item-width)

@@ -174,2 +175,4 @@ - [🎨Theme](#theme)

| useReadMore | enables or disables the read more button. when disabled the card will auto expand to fit the content| true |
| enableOutline | enables the outline menu on `VERTICAL` and `VERTICAL_ALTERNATING` mode. | false |
| borderLessCards | removes the border & shadow from the timeline item cards. | false |

@@ -394,2 +397,13 @@ ### Mode

### Outline
With `enableOutline` prop you can enable outline on the timelines and quickly jump to a specific timeline item.
The outlines are only supported on `VERTICAL` and `VERTICAL_ALTERNATING` modes.
```sh
<Chrono items={items} enableOutline />
```
![media](./readme-assets/outline.png)
### Item Width

@@ -396,0 +410,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc