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

travix-ui-kit

Package Overview
Dependencies
Maintainers
7
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

travix-ui-kit - npm Package Compare versions

Comparing version 0.12.0 to 0.13.0

11

CHANGELOG.md
# Change Log
## [v0.12.0](https://github.com/Travix-International/ui/tree/v0.12.0) (2018-07-06)
[Full Changelog](https://github.com/Travix-International/ui/compare/v0.11.0...v0.12.0)
**Implemented enhancements:**
- Checkbox, RadioButton: Extend data attrs to pass in root [\#26](https://github.com/Travix-International/ui/pull/26) ([RumataDeEstor](https://github.com/RumataDeEstor))
**Fixed bugs:**
- Dropdown: fix styles [\#27](https://github.com/Travix-International/ui/pull/27) ([RumataDeEstor](https://github.com/RumataDeEstor))
## [v0.11.0](https://github.com/Travix-International/ui/tree/v0.11.0) (2018-06-28)

@@ -4,0 +15,0 @@ [Full Changelog](https://github.com/Travix-International/ui/compare/v0.10.1...v0.11.0)

7

components/badge/badge.js

@@ -18,2 +18,3 @@ import PropTypes from 'prop-types';

className,
containerClassName,
dataAttrs = {},

@@ -68,3 +69,3 @@ mods = [],

return (
<div className={getClassNamesWithMods('ui-badge', { visible }, mods)}>
<div className={classnames(containerClassName, getClassNamesWithMods('ui-badge', { visible }, mods))}>
{children}

@@ -99,2 +100,6 @@ {badge}

/**
* Class name for main container
*/
containerClassName: PropTypes.string,
/**
* Data attribute. You can use it to set up any custom data-* attribute.

@@ -101,0 +106,0 @@ */

@@ -37,2 +37,3 @@ 'use strict';

className = props.className,
containerClassName = props.containerClassName,
_props$dataAttrs = props.dataAttrs,

@@ -89,3 +90,3 @@ dataAttrs = _props$dataAttrs === undefined ? {} : _props$dataAttrs,

'div',
{ className: (0, _helpers.getClassNamesWithMods)('ui-badge', { visible: visible }, mods) },
{ className: (0, _classnames2.default)(containerClassName, (0, _helpers.getClassNamesWithMods)('ui-badge', { visible: visible }, mods)) },
children,

@@ -119,2 +120,6 @@ badge

/**
* Class name for main container
*/
containerClassName: _propTypes2.default.string,
/**
* Data attribute. You can use it to set up any custom data-* attribute.

@@ -121,0 +126,0 @@ */

2

package.json
{
"name": "travix-ui-kit",
"version": "0.12.0",
"version": "0.13.0",
"description": "Travix UI kit",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is too big to display

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