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

@forter/button-group

Package Overview
Dependencies
Maintainers
3
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forter/button-group - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

8

CHANGELOG.md

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

## [1.2.5](https://github.com/forter/web-components/compare/@forter/button-group@1.2.4...@forter/button-group@1.2.5) (2019-09-19)
**Note:** Version bump only for package @forter/button-group
## [1.2.4](https://github.com/forter/web-components/compare/@forter/button-group@1.2.3...@forter/button-group@1.2.4) (2019-09-19)

@@ -8,0 +16,0 @@

10

package.json
{
"name": "@forter/button-group",
"version": "1.2.4",
"version": "1.2.5",
"description": "Button Group from Forter Components",

@@ -54,7 +54,7 @@ "author": "Forter Developers",

"@forter/functions": "^2.0.0",
"@forter/icon": "^3.2.1",
"@forter/radio-button": "^2.1.4",
"@forter/tooltip": "^2.0.2"
"@forter/icon": "^3.2.2",
"@forter/radio-button": "^2.1.5",
"@forter/tooltip": "^2.0.3"
},
"gitHead": "cb4bd2ac6e3727eb43e30dbccec7bdf7ee53efcc"
"gitHead": "0aae1f4ddd21eb0daaab2d0b142f7eb25bd511e1"
}
import markdown from '../README.md';
const notes = { markdown };
import { html } from 'lit-html';
import { ifDefined } from 'lit-html/directives/if-defined';
import { storiesOf } from '@storybook/polymer';
import '../src/fc-button-group';
import { enumerateProperties } from '../../../lib/storybook-helpers';
import '../src';
import { FcButtonGroup } from '../src/FcButtonGroup';
const story = enumerateProperties(FcButtonGroup);

@@ -16,5 +17,5 @@ /**

*/
function story(title) {
function template(title) {
const { disabled, options, intent, label } = require(`../test/${title.toLowerCase()}/input.json`);
const render = () => html`
return story(html`
<fc-button-group

@@ -26,12 +27,16 @@ ?disabled="${ifDefined(disabled)}"

></fc-button-group>
`;
return [title, render];
`);
}
(storiesOf('Controls|Button/Button Group', module)
.addParameters({ notes, options: { selectedPanel: 'storybooks/knobs/panel' } })
.add(...story('When Enabled'))
.add(...story('When Disabled'))
.add(...story('With Only 2 Options'))
.add(...story('Secondary Layout'))
);
export const whenEnabled = () => template('When Enabled')
export const whenDisabled = () => template('When Disabled')
export const withOnly2Options = () => template('With Only 2 Options')
export const secondaryLayout = () => template('Secondary Layout')
export default {
title: 'Controls|Button/Button Group',
parameters: {
notes: { markdown },
options: { selectedPanel: 'storybooks/knobs/panel' },
},
};
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