Socket
Socket
Sign inDemoInstall

react-timeline-scribble

Package Overview
Dependencies
71
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.12 to 1.0.14

4

build/style.js

@@ -8,6 +8,6 @@ 'use strict';

var _templateObject = _taggedTemplateLiteral(['\n font-family: \'Open Sans\', \'Helvetica Neue\', Helvetica, Arial, sans-serif;\n font-size: 1em;\n font-weight: 300;\n line-height: 1.5;\n letter-spacing: 0.05em;\n * {\n box-sizing: border-box;\n \n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n }\n p {\n font-family: \'Open Sans\', \'Helvetica Neue\', Helvetica, Arial, sans-serif;\n }\n '], ['\n font-family: \'Open Sans\', \'Helvetica Neue\', Helvetica, Arial, sans-serif;\n font-size: 1em;\n font-weight: 300;\n line-height: 1.5;\n letter-spacing: 0.05em;\n * {\n box-sizing: border-box;\n \n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n }\n p {\n font-family: \'Open Sans\', \'Helvetica Neue\', Helvetica, Arial, sans-serif;\n }\n ']),
_templateObject2 = _taggedTemplateLiteral(['\n position: relative;\n max-width: 46em;\n list-style: none;\n &:before {\n background-color: black;\n content: \'\';\n margin-left: -1px;\n position: absolute;\n top: 0;\n left: 2em;\n width: 2px;\n height: 100%;\n }\n '], ['\n position: relative;\n max-width: 46em;\n list-style: none;\n &:before {\n background-color: black;\n content: \'\';\n margin-left: -1px;\n position: absolute;\n top: 0;\n left: 2em;\n width: 2px;\n height: 100%;\n }\n ']),
_templateObject2 = _taggedTemplateLiteral(['\n position: relative;\n max-width: 95%;\n list-style: none;\n &:before {\n background-color: black;\n content: \'\';\n margin-left: -1px;\n position: absolute;\n top: 0;\n left: 2em;\n width: 2px;\n height: 100%;\n }\n '], ['\n position: relative;\n max-width: 95%;\n list-style: none;\n &:before {\n background-color: black;\n content: \'\';\n margin-left: -1px;\n position: absolute;\n top: 0;\n left: 2em;\n width: 2px;\n height: 100%;\n }\n ']),
_templateObject3 = _taggedTemplateLiteral(['\n position: relative;\n '], ['\n position: relative;\n ']),
_templateObject4 = _taggedTemplateLiteral(['\n transform: rotate(45deg);\n background-color: black;\n outline: 10px solid white;\n display: block;\n margin: 0.5em 0.5em 0.5em -0.5em;\n position: absolute;\n top: 0;\n left: 2em;\n width: 1em;\n height: 1em;\n '], ['\n transform: rotate(45deg);\n background-color: black;\n outline: 10px solid white;\n display: block;\n margin: 0.5em 0.5em 0.5em -0.5em;\n position: absolute;\n top: 0;\n left: 2em;\n width: 1em;\n height: 1em;\n ']),
_templateObject5 = _taggedTemplateLiteral(['\n padding: 2em 2em 0 2em;\n position: relative;\n top: -1.875em;\n left: 4em;\n width: 80%;\n h3 {\n font-size: 1.75em;\n }\n h4 {\n font-size: 1.2em;\n margin-bottom: 1.2em;\n }\n '], ['\n padding: 2em 2em 0 2em;\n position: relative;\n top: -1.875em;\n left: 4em;\n width: 80%;\n h3 {\n font-size: 1.75em;\n }\n h4 {\n font-size: 1.2em;\n margin-bottom: 1.2em;\n }\n ']),
_templateObject5 = _taggedTemplateLiteral(['\n padding: 2em 2em 0 2em;\n position: relative;\n top: -1.875em;\n left: 2em;\n width: 95%;\n h3 {\n font-size: 1.75em;\n }\n h4 {\n font-size: 1.2em;\n margin-bottom: 1.2em;\n }\n '], ['\n padding: 2em 2em 0 2em;\n position: relative;\n top: -1.875em;\n left: 2em;\n width: 95%;\n h3 {\n font-size: 1.75em;\n }\n h4 {\n font-size: 1.2em;\n margin-bottom: 1.2em;\n }\n ']),
_templateObject6 = _taggedTemplateLiteral(['\n color: white;\n background-color: black;\n box-shadow: inset 0 0 0 0em #ef795a;\n display: inline-block;\n margin-bottom: 1.2em;\n padding: 0.25em 1em 0.2em 1em;\n '], ['\n color: white;\n background-color: black;\n box-shadow: inset 0 0 0 0em #ef795a;\n display: inline-block;\n margin-bottom: 1.2em;\n padding: 0.25em 1em 0.2em 1em;\n ']),

@@ -14,0 +14,0 @@ _templateObject7 = _taggedTemplateLiteral(['\n strong {\n font-weight: 700;\n }\n p {\n padding-bottom: 1.2em;\n }\n '], ['\n strong {\n font-weight: 700;\n }\n p {\n padding-bottom: 1.2em;\n }\n ']);

{
"name": "react-timeline-scribble",
"version": "1.0.12",
"version": "1.0.14",
"description": "React Timeline component",

@@ -20,3 +20,3 @@ "main": "build/index.js",

"dependencies": {
"emotion": "^8.0.12",
"emotion": "^9.2.6",
"react": "^16.2.0",

@@ -23,0 +23,0 @@ "react-dom": "^16.2.0"

@@ -1,3 +0,4 @@

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Build Status](https://travis-ci.org/TheNovel/react-timeline-scribble.svg?branch=master)](https://travis-ci.org/TheNovel/react-timeline-scribble)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![Build Status](https://travis-ci.org/igorkamyshev/react-timeline-scribble.svg?branch=master)](https://travis-ci.org/igorkamyshev/react-timeline-scribble)
[![npm version](https://badge.fury.io/js/react-timeline-scribble.svg)](https://badge.fury.io/js/react-timeline-scribble)

@@ -8,2 +9,41 @@ # react-timeline-scribble

## Install
`yarn add react-timeline-scribble`
`yarn add react-timeline-scribble`
## Usage
[![Edit react-timeline-scribble-example](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/03r33x0oxl)
```js
import React, { Fragment } from "react";
import { render } from "react-dom";
import { Timeline, Event } from "react-timeline-scribble";
const App = () => (
<Fragment>
<h1>React Timeline Scribble</h1>
<Timeline>
<Event interval={"2016 – 2018"} title={"Lorem"} subtitle={"Ipsum"}>
dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit
esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
cupidatat non proident, sunt in culpa qui officia deserunt mollit anim
id est laborum.
</Event>
<Event interval={"2015 – 2016"} title={"Lorem"} subtitle={"Ipsum"}>
dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit
esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
cupidatat non proident, sunt in culpa qui officia deserunt mollit anim
id est laborum.
</Event>
</Timeline>
</Fragment>
);
render(<App />, document.getElementById("root"));
```
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc