New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bufferapp/components

Package Overview
Dependencies
Maintainers
14
Versions
216
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bufferapp/components - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

4

CHANGELOG.md
# Changelog
## 2.3.2 (July 20, 2018)
- Add font `small` to `InputWeekday` and `InputTime` components
- Remove font `mini` from `Select`component
## 2.3.1 (July 18, 2018)

@@ -4,0 +8,0 @@ - Add font `mini` and `small` to `Select`component

@@ -128,2 +128,3 @@ import React from 'react';

value,
fontSize,
}) =>

@@ -144,2 +145,3 @@ <SelectWrapper minimal={minimal}>

rangeSelector={!minimal}
size={fontSize}
/>

@@ -190,2 +192,3 @@ </SelectWrapper>;

displayTimeColon,
fontSize,
}) => {

@@ -212,2 +215,3 @@ const style = {

rangeSelector={!minimal}
size={fontSize}
/>

@@ -236,2 +240,3 @@ </SelectWrapper>

rangeSelector={!minimal}
size={fontSize}
/>

@@ -243,3 +248,3 @@ </SelectWrapper>

:
AmPm({ disabled, minimal, onChange, submitting, value })
AmPm({ disabled, minimal, onChange, submitting, value, fontSize })
}

@@ -268,2 +273,3 @@ </div>

displayTimeColon: PropTypes.bool,
fontSize: PropTypes.oneOf(['small']),
};

@@ -270,0 +276,0 @@

@@ -121,2 +121,11 @@ import React from 'react';

/>
))
.add('small', () => (
<InputTime
input={{
onChange: action('on-change'),
value: '',
}}
fontSize={'small'}
/>
));

@@ -37,2 +37,3 @@ import React from 'react';

},
fontSize,
}) => (

@@ -46,2 +47,3 @@ <div style={style}>

label={'choose days'}
size={fontSize}
/>

@@ -64,2 +66,3 @@ </div>

}),
fontSize: PropTypes.oneOf(['small']),
};

@@ -66,0 +69,0 @@

@@ -40,2 +40,11 @@ import React from 'react';

/>
))
.add('small', () => (
<InputWeekday
input={{
onChange: action('on-change'),
value: ''
}}
fontSize={'small'}
/>
));

2

package.json
{
"name": "@bufferapp/components",
"version": "2.3.1",
"version": "2.3.2",
"description": "A shared set of UI Components",

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

@@ -11,3 +11,2 @@ import React from 'react';

fontFamily,
fontSizeMini,
fontSizeSmall,

@@ -141,5 +140,2 @@ } from '../style/font';

// Sizes
mini: {
fontSize: fontSizeMini,
},
small: {

@@ -154,3 +150,2 @@ fontSize: fontSizeSmall,

// Sizes
mini: size === 'mini',
small: size === 'small',

@@ -207,3 +202,3 @@ });

hovered: PropTypes.bool,
size: PropTypes.oneOf(['mini', 'small']),
size: PropTypes.oneOf(['small']),
};

@@ -210,0 +205,0 @@

@@ -103,9 +103,2 @@ import React from 'react';

))
.add('mini', () => (
<Select
options={options}
onChange={action('on-change')}
size={'mini'}
/>
))
.add('small', () => (

@@ -112,0 +105,0 @@ <Select

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