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

@datacamp/waffles-text

Package Overview
Dependencies
Maintainers
47
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datacamp/waffles-text - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0

es/components/Link.js

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

# [1.1.0](https://github.com/datacamp/design-system/compare/@datacamp/waffles-text@1.0.4...@datacamp/waffles-text@1.1.0) (2019-10-23)
### Features
* add Link component ([baded70](https://github.com/datacamp/design-system/commit/baded70))
* allow Link as a child of Paragraph ([fac5b9d](https://github.com/datacamp/design-system/commit/fac5b9d))
## [1.0.4](https://github.com/datacamp/design-system/compare/@datacamp/waffles-text@1.0.3...@datacamp/waffles-text@1.0.4) (2019-10-17)

@@ -8,0 +20,0 @@

5

es/components/Paragraph.js

@@ -15,2 +15,3 @@ import _extends from "@babel/runtime/helpers/extends";

import Emphasis from './Emphasis';
import Link from './Link';
import Small from './Small';

@@ -29,6 +30,6 @@ import Strong from './Strong';

marginTop: 0
}), "label:paragraphStyle;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL1BhcmFncmFwaC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBd0J1QiIsImZpbGUiOiIuLi8uLi9zcmMvY29tcG9uZW50cy9QYXJhZ3JhcGgudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHRva2VucyBmcm9tICdAZGF0YWNhbXAvd2FmZmxlcy10b2tlbnMvbGliL2Z1dHVyZS10b2tlbnMuanNvbic7XG5pbXBvcnQge1xuICBjb21wdXRlRGF0YUF0dHJpYnV0ZXMsXG4gIHNzclNhZmVGaXJzdENoaWxkU2VsZWN0b3IsXG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gIG1hcmdpbjogMCxcbiAgbWFyZ2luVG9wOiB0b2tlbnMuc2l6ZS5zcGFjZVs4XS52YWx1ZSxcbiAgW3NzclNhZmVGaXJzdENoaWxkU2VsZWN0b3JdOiB7XG4gICAgbWFyZ2luVG9wOiAwLFxuICB9LFxufSk7XG5cbmNvbnN0IFBhcmFncmFwaDogUmVhY3QuRkM8UGFyYWdyYXBoUHJvcHM+ID0gcHJvcHMgPT4ge1xuICB2YWxpZGF0ZUNoaWxkcmVuUHJvcChwcm9wcywgJ1BhcmFncmFwaCcsIFtcbiAgICBTdHJvbmcsXG4gICAgVGV4dCxcbiAgICBTbWFsbCxcbiAgICBFbXBoYXNpcyxcbiAgICBDb2RlLFxuICAgIEFsdGVybmF0ZUNvZGUsXG4gICAgUGxhaW5TdHJpbmcsXG4gICAgJ2JyJyxcbiAgICAnZGVsJyxcbiAgICAnaW1nJyxcbiAgICAnYScsXG4gIF0pO1xuICBjb25zdCB7IGNoaWxkcmVuLCBjbGFzc05hbWUsIGRhdGFBdHRyaWJ1dGVzIH0gPSBwcm9wcztcbiAgY29uc3QgcGFyc2VkRGF0YUF0dHJpYnV0ZXMgPSBjb21wdXRlRGF0YUF0dHJpYnV0ZXMoZGF0YUF0dHJpYnV0ZXMpO1xuXG4gIHJldHVybiAoXG4gICAgPHAgY2xhc3NOYW1lPXtjbGFzc05hbWV9IGNzcz17cGFyYWdyYXBoU3R5bGV9IHsuLi5wYXJzZWREYXRhQXR0cmlidXRlc30+XG4gICAgICB7Y2hpbGRyZW59XG4gICAgPC9wPlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgUGFyYWdyYXBoO1xuIl19 */"));
}), "label:paragraphStyle;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL1BhcmFncmFwaC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5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i5wYXJzZWREYXRhQXR0cmlidXRlc30+XG4gICAgICB7Y2hpbGRyZW59XG4gICAgPC9wPlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgUGFyYWdyYXBoO1xuIl19 */"));
var Paragraph = function Paragraph(props) {
validateChildrenProp(props, 'Paragraph', [Strong, Text, Small, Emphasis, Code, AlternateCode, PlainString, 'br', 'del', 'img', 'a']);
validateChildrenProp(props, 'Paragraph', [Strong, Text, Small, Emphasis, Code, Link, AlternateCode, PlainString, 'br', 'del', 'img', 'a']);
var children = props.children,

@@ -35,0 +36,0 @@ className = props.className,

1

es/index.js

@@ -13,2 +13,3 @@ import AlternateCode from './alternateComponents/AlternateCode';

export { default as Code } from './components/Code';
export { default as Link } from './components/Link';
export var alternateComponents = {

@@ -15,0 +16,0 @@ AlternateCode: AlternateCode,

@@ -36,2 +36,4 @@ "use strict";

var _Link = _interopRequireDefault(require("./Link"));
var _Small = _interopRequireDefault(require("./Small"));

@@ -53,6 +55,6 @@

marginTop: 0
}), "label:paragraphStyle;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL1BhcmFncmFwaC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBd0J1QiIsImZpbGUiOiIuLi8uLi9zcmMvY29tcG9uZW50cy9QYXJhZ3JhcGgudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHRva2VucyBmcm9tICdAZGF0YWNhbXAvd2FmZmxlcy10b2tlbnMvbGliL2Z1dHVyZS10b2tlbnMuanNvbic7XG5pbXBvcnQge1xuICBjb21wdXRlRGF0YUF0dHJpYnV0ZXMsXG4gIHNzclNhZmVGaXJzdENoaWxkU2VsZWN0b3IsXG59IGZyb20gJ0BkYXRhY2FtcC93YWZmbGVzLXV0aWxzJztcbmltcG9ydCB7IGNzcyB9IGZyb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1ZSxcbiAgW3NzclNhZmVGaXJzdENoaWxkU2VsZWN0b3JdOiB7XG4gICAgbWFyZ2luVG9wOiAwLFxuICB9LFxufSk7XG5cbmNvbnN0IFBhcmFncmFwaDogUmVhY3QuRkM8UGFyYWdyYXBoUHJvcHM+ID0gcHJvcHMgPT4ge1xuICB2YWxpZGF0ZUNoaWxkcmVuUHJvcChwcm9wcywgJ1BhcmFncmFwaCcsIFtcbiAgICBTdHJvbmcsXG4gICAgVGV4dCxcbiAgICBTbWFsbCxcbiAgICBFbXBoYXNpcyxcbiAgICBDb2RlLFxuICAgIEFsdGVybmF0ZUNvZGUsXG4gICAgUGxhaW5TdHJpbmcsXG4gICAgJ2JyJyxcbiAgICAnZGVsJyxcbiAgICAnaW1nJyxcbiAgICAnYScsXG4gIF0pO1xuICBjb25zdCB7IGNoaWxkcmVuLCBjbGFzc05hbWUsIGRhdGFBdHRyaWJ1dGVzIH0gPSBwcm9wcztcbiAgY29uc3QgcGFyc2VkRGF0YUF0dHJpYnV0ZXMgPSBjb21wdXRlRGF0YUF0dHJpYnV0ZXMoZGF0YUF0dHJpYnV0ZXMpO1xuXG4gIHJldHVybiAoXG4gICAgPHAgY2xhc3NOYW1lPXtjbGFzc05hbWV9IGNzcz17cGFyYWdyYXBoU3R5bGV9IHsuLi5wYXJzZWREYXRhQXR0cmlidXRlc30+XG4gICAgICB7Y2hpbGRyZW59XG4gICAgPC9wPlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgUGFyYWdyYXBoO1xuIl19 */"));
}), "label:paragraphStyle;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21wb25lbnRzL1BhcmFncmFwaC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBeUJ1QiIsImZpbGUiOiIuLi8uLi9zcmMvY29tcG9uZW50cy9QYXJhZ3JhcGgud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O1xufTtcblxuZXhwb3J0IGRlZmF1bHQgUGFyYWdyYXBoO1xuIl19 */"));
var Paragraph = function Paragraph(props) {
(0, _validateChildrenProp.default)(props, 'Paragraph', [_Strong.default, _Text.default, _Small.default, _Emphasis.default, _Code.default, _AlternateCode.default, _PlainString.default, 'br', 'del', 'img', 'a']);
(0, _validateChildrenProp.default)(props, 'Paragraph', [_Strong.default, _Text.default, _Small.default, _Emphasis.default, _Code.default, _Link.default, _AlternateCode.default, _PlainString.default, 'br', 'del', 'img', 'a']);
var children = props.children,

@@ -59,0 +61,0 @@ className = props.className,

@@ -56,2 +56,8 @@ "use strict";

});
Object.defineProperty(exports, "Link", {
enumerable: true,
get: function get() {
return _Link.default;
}
});
exports.alternateComponents = void 0;

@@ -83,2 +89,4 @@

var _Link = _interopRequireDefault(require("./components/Link"));
var alternateComponents = {

@@ -85,0 +93,0 @@ AlternateCode: _AlternateCode.default,

{
"name": "@datacamp/waffles-text",
"version": "1.0.4",
"version": "1.1.0",
"main": "lib/index.js",

@@ -53,3 +53,3 @@ "module": "es/index.js",

},
"gitHead": "83c5f91ee8da63464c60fa9ad600b4f5d7f40427"
"gitHead": "9b63fb9682031d457baa96658eed6df39189216e"
}

@@ -10,2 +10,3 @@ import * as components from '.';

import Heading from './components/Heading';
import Link from './components/Link';
import Paragraph from './components/Paragraph';

@@ -23,2 +24,3 @@ import Small from './components/Small';

Heading,
Link,
Paragraph,

@@ -25,0 +27,0 @@ Small,

@@ -14,2 +14,3 @@ import AlternateCode from './alternateComponents/AlternateCode';

export { default as Code } from './components/Code';
export { default as Link } from './components/Link';

@@ -16,0 +17,0 @@ export const alternateComponents = {

@@ -11,2 +11,3 @@ /// <reference types="react" />

export { default as Code } from './components/Code';
export { default as Link } from './components/Link';
export declare const alternateComponents: {

@@ -13,0 +14,0 @@ AlternateCode: import("react").FunctionComponent<import("./alternateComponents/AlternateCode").AlternateCodeProps>;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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