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

@tds/community-testimonial

Package Overview
Dependencies
Maintainers
8
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tds/community-testimonial - npm Package Compare versions

Comparing version 1.0.5 to 2.0.0

21

CHANGELOG.md

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

# [2.0.0](https://github.com/telus/tds-community/compare/@tds/community-testimonial@1.0.5...@tds/community-testimonial@2.0.0) (2019-05-22)
### Bug Fixes
* **community-testimonial:** changes paragraph size on body text ([9c9ecb8](https://github.com/telus/tds-community/commit/9c9ecb8))
### Features
* **community-testimonial:** remove card from community-testimonial ([48158ca](https://github.com/telus/tds-community/commit/48158ca)), closes [#192](https://github.com/telus/tds-community/issues/192)
### BREAKING CHANGES
* **community-testimonial:** removes card from community-testimonial component
## [1.0.5](https://github.com/telus/tds-community/compare/@tds/community-testimonial@1.0.4...@tds/community-testimonial@1.0.5) (2019-05-17)

@@ -8,0 +29,0 @@

27

dist/index.cjs.js

@@ -10,6 +10,23 @@ 'use strict';

var Box = _interopDefault(require('@tds/core-box'));
var Card = _interopDefault(require('@tds/core-card'));
var Paragraph = _interopDefault(require('@tds/core-paragraph'));
var utilPropTypes = require('@tds/util-prop-types');
function _extends() {
_extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
return _extends.apply(this, arguments);
}
function _objectWithoutPropertiesLoose(source, excluded) {

@@ -73,5 +90,7 @@ if (source == null) return {};

return React.createElement(Card, safeRest(rest), React.createElement(Box, {
return React.createElement(Box, _extends({}, safeRest(rest), {
between: 3
}, React.createElement(Paragraph, null, testimonial), React.createElement("div", {
}), React.createElement(Paragraph, {
size: "large"
}, testimonial), React.createElement("div", {
className: styles.imageAndQuote

@@ -82,3 +101,3 @@ }, image && React.createElement("div", {

bold: true
}, title), React.createElement(Paragraph, null, additionalInfo)))));
}, title), React.createElement(Paragraph, null, additionalInfo))));
};

@@ -85,0 +104,0 @@

import React from 'react';
import PropTypes from 'prop-types';
import Box from '@tds/core-box';
import Card from '@tds/core-card';
import Paragraph from '@tds/core-paragraph';
import { componentWithName } from '@tds/util-prop-types';
function _extends() {
_extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
return _extends.apply(this, arguments);
}
function _objectWithoutPropertiesLoose(source, excluded) {

@@ -66,5 +83,7 @@ if (source == null) return {};

return React.createElement(Card, safeRest(rest), React.createElement(Box, {
return React.createElement(Box, _extends({}, safeRest(rest), {
between: 3
}, React.createElement(Paragraph, null, testimonial), React.createElement("div", {
}), React.createElement(Paragraph, {
size: "large"
}, testimonial), React.createElement("div", {
className: styles.imageAndQuote

@@ -75,3 +94,3 @@ }, image && React.createElement("div", {

bold: true
}, title), React.createElement(Paragraph, null, additionalInfo)))));
}, title), React.createElement(Paragraph, null, additionalInfo))));
};

@@ -78,0 +97,0 @@

7

package.json
{
"name": "@tds/community-testimonial",
"version": "1.0.5",
"version": "2.0.0",
"description": "",

@@ -29,4 +29,3 @@ "main": "index.cjs.js",

"@tds/core-box": "^1.0.1",
"@tds/core-card": "^1.0.2",
"@tds/core-paragraph": "^1.0.4",
"@tds/core-paragraph": "^1.0.11",
"@tds/core-responsive": "^1.1.0",

@@ -39,3 +38,3 @@ "@tds/util-prop-types": "^1.3.2",

},
"gitHead": "c0030b2b5caeefe0eb30dd15d93fc50a1eda8289"
"gitHead": "4f3bb941d2ba61ac4533bf236043c54ea02b1bc9"
}

@@ -5,3 +5,2 @@ import React from 'react'

import Box from '@tds/core-box'
import Card from '@tds/core-card'
import Paragraph from '@tds/core-paragraph'

@@ -19,14 +18,12 @@ import safeRest from '@tds/shared-safe-rest'

return (
<Card {...safeRest(rest)}>
<Box between={3}>
<Paragraph>{testimonial}</Paragraph>
<div className={styles.imageAndQuote}>
{image && <div className={styles.image}>{image}</div>}
<div>
<Paragraph bold>{title}</Paragraph>
<Paragraph>{additionalInfo}</Paragraph>
</div>
<Box {...safeRest(rest)} between={3}>
<Paragraph size="large">{testimonial}</Paragraph>
<div className={styles.imageAndQuote}>
{image && <div className={styles.image}>{image}</div>}
<div>
<Paragraph bold>{title}</Paragraph>
<Paragraph>{additionalInfo}</Paragraph>
</div>
</Box>
</Card>
</div>
</Box>
)

@@ -33,0 +30,0 @@ }

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