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

@atlaskit/tag-group

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/tag-group - npm Package Compare versions

Comparing version 6.0.6 to 6.0.7

3

CHANGELOG.md
# @atlaskit/tag-group
## 6.0.7
- [patch] Adds missing implicit @babel/runtime dependency [b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
## 6.0.6

@@ -4,0 +7,0 @@ - [patch] Adds sideEffects: false to allow proper tree shaking [b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)

13

dist/cjs/index.js

@@ -1,16 +0,15 @@

'use strict';
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
var _TagGroup = require('./TagGroup');
Object.defineProperty(exports, 'default', {
Object.defineProperty(exports, "default", {
enumerable: true,
get: function get() {
return _interopRequireDefault(_TagGroup).default;
return _TagGroup.default;
}
});
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _TagGroup = _interopRequireDefault(require("./TagGroup"));

@@ -1,56 +0,47 @@

'use strict';
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
var _createClass2 = require('babel-runtime/helpers/createClass');
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
var _createClass3 = _interopRequireDefault(_createClass2);
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');
var _react = _interopRequireWildcard(require("react"));
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
var _styled = require("./styled");
var _inherits2 = require('babel-runtime/helpers/inherits');
var TagGroup =
/*#__PURE__*/
function (_PureComponent) {
(0, _inherits2.default)(TagGroup, _PureComponent);
var _inherits3 = _interopRequireDefault(_inherits2);
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _styled = require('./styled');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var TagGroup = function (_PureComponent) {
(0, _inherits3.default)(TagGroup, _PureComponent);
function TagGroup() {
(0, _classCallCheck3.default)(this, TagGroup);
return (0, _possibleConstructorReturn3.default)(this, (TagGroup.__proto__ || (0, _getPrototypeOf2.default)(TagGroup)).apply(this, arguments));
(0, _classCallCheck2.default)(this, TagGroup);
return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(TagGroup).apply(this, arguments));
}
(0, _createClass3.default)(TagGroup, [{
key: 'render',
(0, _createClass2.default)(TagGroup, [{
key: "render",
value: function render() {
var _props = this.props,
alignment = _props.alignment,
children = _props.children;
return _react2.default.createElement(
_styled.Container,
{ justify: alignment },
children
);
var _this$props = this.props,
alignment = _this$props.alignment,
children = _this$props.children;
return _react.default.createElement(_styled.Container, {
justify: alignment
}, children);
}

@@ -61,5 +52,5 @@ }]);

TagGroup.defaultProps = {
exports.default = TagGroup;
(0, _defineProperty2.default)(TagGroup, "defaultProps", {
alignment: 'start'
};
exports.default = TagGroup;
});

@@ -1,23 +0,20 @@

'use strict';
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.Container = undefined;
exports.Container = void 0;
var _taggedTemplateLiteral2 = require('babel-runtime/helpers/taggedTemplateLiteral');
var _styledComponents = _interopRequireDefault(require("styled-components"));
var _taggedTemplateLiteral3 = _interopRequireDefault(_taggedTemplateLiteral2);
var Container = _styledComponents.default.div.withConfig({
displayName: "styled__Container",
componentId: "sc-10k86ql-0"
})(["\n display: flex;\n flex-wrap: wrap;\n justify-content: ", ";\n width: 100%;\n"], function (_ref) {
var justify = _ref.justify;
return "flex-".concat(justify);
});
var _templateObject = (0, _taggedTemplateLiteral3.default)(['\n display: flex;\n flex-wrap: wrap;\n justify-content: ', ';\n width: 100%;\n'], ['\n display: flex;\n flex-wrap: wrap;\n justify-content: ', ';\n width: 100%;\n']);
var _styledComponents = require('styled-components');
var _styledComponents2 = _interopRequireDefault(_styledComponents);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var Container = exports.Container = _styledComponents2.default.div(_templateObject, function (_ref) {
var justify = _ref.justify;
return 'flex-' + justify;
});
exports.Container = Container;

@@ -1,10 +0,13 @@

import _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of';
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _createClass from 'babel-runtime/helpers/createClass';
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
import _inherits from 'babel-runtime/helpers/inherits';
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _inherits from "@babel/runtime/helpers/inherits";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import React, { PureComponent } from 'react';
import { Container } from './styled';
var TagGroup = function (_PureComponent) {
var TagGroup =
/*#__PURE__*/
function (_PureComponent) {
_inherits(TagGroup, _PureComponent);

@@ -15,18 +18,14 @@

return _possibleConstructorReturn(this, (TagGroup.__proto__ || _Object$getPrototypeOf(TagGroup)).apply(this, arguments));
return _possibleConstructorReturn(this, _getPrototypeOf(TagGroup).apply(this, arguments));
}
_createClass(TagGroup, [{
key: 'render',
key: "render",
value: function render() {
var _props = this.props,
alignment = _props.alignment,
children = _props.children;
return React.createElement(
Container,
{ justify: alignment },
children
);
var _this$props = this.props,
alignment = _this$props.alignment,
children = _this$props.children;
return React.createElement(Container, {
justify: alignment
}, children);
}

@@ -38,5 +37,6 @@ }]);

TagGroup.defaultProps = {
_defineProperty(TagGroup, "defaultProps", {
alignment: 'start'
};
export default TagGroup;
});
export { TagGroup as default };

@@ -1,10 +0,8 @@

import _taggedTemplateLiteral from 'babel-runtime/helpers/taggedTemplateLiteral';
var _templateObject = _taggedTemplateLiteral(['\n display: flex;\n flex-wrap: wrap;\n justify-content: ', ';\n width: 100%;\n'], ['\n display: flex;\n flex-wrap: wrap;\n justify-content: ', ';\n width: 100%;\n']);
import styled from 'styled-components';
export var Container = styled.div(_templateObject, function (_ref) {
export var Container = styled.div.withConfig({
displayName: "styled__Container",
componentId: "sc-10k86ql-0"
})(["\n display: flex;\n flex-wrap: wrap;\n justify-content: ", ";\n width: 100%;\n"], function (_ref) {
var justify = _ref.justify;
return 'flex-' + justify;
return "flex-".concat(justify);
});
{
"name": "@atlaskit/tag-group",
"version": "6.0.5",
"version": "6.0.7",
"sideEffects": false
}
{
"name": "@atlaskit/tag-group",
"version": "6.0.6",
"version": "6.0.7",
"description": "A React component used for grouping and controlling @atlskit/tag components",

@@ -26,2 +26,3 @@ "license": "Apache-2.0",

"dependencies": {
"@babel/runtime": "^7.0.0",
"babel-runtime": "^6.26.0"

@@ -34,6 +35,6 @@ },

"devDependencies": {
"@atlaskit/avatar": "^14.0.9",
"@atlaskit/avatar": "^14.1.2",
"@atlaskit/build-utils": "^2.0.0",
"@atlaskit/docs": "^5.0.2",
"@atlaskit/tag": "^6.0.7",
"@atlaskit/tag": "^6.0.9",
"enzyme": "https://registry.npmjs.org/@pgleeson/enzyme/-/enzyme-3.3.7.tgz",

@@ -40,0 +41,0 @@ "react-dom": "^16.4.2"

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