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

@forter/radio-button

Package Overview
Dependencies
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forter/radio-button - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

11

CHANGELOG.md

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

## [3.0.2](https://github.com/forter/web-components/compare/@forter/radio-button@3.0.1...@forter/radio-button@3.0.2) (2019-12-10)
### Bug Fixes
* **storybook-helpers:** fix space issue ([b1d9d97](https://github.com/forter/web-components/commit/b1d9d97))
## [3.0.1](https://github.com/forter/web-components/compare/@forter/radio-button@3.0.0...@forter/radio-button@3.0.1) (2019-12-08)

@@ -8,0 +19,0 @@

4

fc-radio-group.js
import { register } from '@forter/core';
import { FcRadioGroup } from './FcRadioGroup.js';
import { FcRadioButtonGroup } from './FcRadioGroup.js';
register(FcRadioGroup);
register(FcRadioButtonGroup);
//# sourceMappingURL=fc-radio-group.js.map

@@ -40,3 +40,3 @@ import { decorate as _decorate } from './_virtual/_rollupPluginBabelHelpers.js';

* ```
* @element fc-radio-group
* @element fc-radio-button-group
* @slot - internally used for light input. Do not use.

@@ -46,4 +46,4 @@ * @cssprop --fc-radio-group-legend-color - default: `var(--ftr-red)`

let FcRadioGroup = _decorate(null, function (_initialize, _SelectMixin) {
class FcRadioGroup extends _SelectMixin {
let FcRadioButtonGroup = _decorate(null, function (_initialize, _SelectMixin) {
class FcRadioButtonGroup extends _SelectMixin {
constructor(...args) {

@@ -58,3 +58,3 @@ super(...args);

return {
F: FcRadioGroup,
F: FcRadioButtonGroup,
d: [{

@@ -77,3 +77,3 @@ kind: "field",

value() {
return 'fc-radio-group';
return 'fc-radio-button-group';
}

@@ -139,3 +139,3 @@

export { FcRadioGroup };
export { FcRadioButtonGroup };
//# sourceMappingURL=FcRadioGroup.js.map
{
"name": "@forter/radio-button",
"version": "3.0.1",
"version": "3.0.2",
"description": "Radio Button and Group from Forter Components",

@@ -58,3 +58,3 @@ "author": "Forter Developers",

},
"gitHead": "388927302cdf26fff3355d3b3a09d7bb2ddc4ff5"
"gitHead": "8ffd56cfd724d1361e98e4abf66f8fd5cfd7c26b"
}

@@ -42,3 +42,3 @@ # fc-radio-button

# fc-radio-group
# fc-radio-button-group

@@ -45,0 +45,0 @@ ##Usage

import { register } from '@forter/core';
import { FcRadioGroup } from './FcRadioGroup.js';
import { FcRadioButtonGroup } from './FcRadioGroup.js';
register(FcRadioGroup);
register(FcRadioButtonGroup);

@@ -56,6 +56,6 @@ import constant from 'crocks/combinators/constant';

beforeEach(selectItemAtIndex(0));
it('should have selectedIndex 0', assertProperties({ selectedIndex: 0, value: 'eggs' }));
it('should have selectedItem', assertProperties(() => ({ selectedItem: element.items[0] })));
it.skip('should have selectedIndex 0', assertProperties({ selectedIndex: 0, value: 'eggs' }));
it.skip('should have selectedItem', assertProperties(() => ({ selectedItem: element.items[0] })));
});
});
});

@@ -39,7 +39,7 @@ import { LitElement, html, property } from 'lit-element';

* ```
* @element fc-radio-group
* @element fc-radio-button-group
* @slot - internally used for light input. Do not use.
* @cssprop --fc-radio-group-legend-color - default: `var(--ftr-red)`
*/
export class FcRadioGroup extends SelectMixin(LitElement) {
export class FcRadioButtonGroup extends SelectMixin(LitElement) {
/**

@@ -52,3 +52,3 @@ * The legend for the fieldset

static is = 'fc-radio-group';
static is = 'fc-radio-button-group';

@@ -55,0 +55,0 @@ static allowedChildren = ['fc-radio-button'];

@@ -123,5 +123,5 @@ {

{
"name": "fc-radio-group",
"name": "fc-radio-button-group",
"description": "##Usage\n### Default\n```html\n<fc-radio-group>\n <fc-radio-button label=\"Pizza\" value=\"pizza\"></fc-radio-button>\n <fc-radio-button label=\"Hamburger\" value=\"hamburger\"></fc-radio-button>\n</fc-radio-group>\n```\n\n### Preselected\n```html\n<fc-radio-group>\n <fc-radio-button checked label=\"Pizza\" value=\"pizza\"></fc-radio-button>\n <fc-radio-button label=\"Hamburger\" value=\"hamburger\"></fc-radio-button>\n</fc-radio-group>\n```\n\n### Disabled\n```html\n<fc-radio-group>\n <fc-radio-button disabled label=\"Pizza\" value=\"pizza\"></fc-radio-button>\n <fc-radio-button label=\"Hamburger\" value=\"hamburger\"></fc-radio-button>\n</fc-radio-group>\n```\n\n### Disable All\n```html\n<fc-radio-group disabled>\n <fc-radio-button label=\"Pizza\" value=\"pizza\"></fc-radio-button>\n <fc-radio-button label=\"Hamburger\" value=\"hamburger\"></fc-radio-button>\n</fc-radio-group>\n```",
"jsDoc": "/**\n * ##Usage\n * ### Default\n * ```html\n * <fc-radio-group>\n * <fc-radio-button label=\"Pizza\" value=\"pizza\"></fc-radio-button>\n * <fc-radio-button label=\"Hamburger\" value=\"hamburger\"></fc-radio-button>\n * </fc-radio-group>\n * ```\n *\n * ### Preselected\n * ```html\n * <fc-radio-group>\n * <fc-radio-button checked label=\"Pizza\" value=\"pizza\"></fc-radio-button>\n * <fc-radio-button label=\"Hamburger\" value=\"hamburger\"></fc-radio-button>\n * </fc-radio-group>\n * ```\n *\n * ### Disabled\n * ```html\n * <fc-radio-group>\n * <fc-radio-button disabled label=\"Pizza\" value=\"pizza\"></fc-radio-button>\n * <fc-radio-button label=\"Hamburger\" value=\"hamburger\"></fc-radio-button>\n * </fc-radio-group>\n * ```\n *\n * ### Disable All\n * ```html\n * <fc-radio-group disabled>\n * <fc-radio-button label=\"Pizza\" value=\"pizza\"></fc-radio-button>\n * <fc-radio-button label=\"Hamburger\" value=\"hamburger\"></fc-radio-button>\n * </fc-radio-group>\n * ```\n * @element fc-radio-group\n * @slot - internally used for light input. Do not use.\n * @cssprop --fc-radio-group-legend-color - default: `var(--ftr-red)`\n */",
"jsDoc": "/**\n * ##Usage\n * ### Default\n * ```html\n * <fc-radio-group>\n * <fc-radio-button label=\"Pizza\" value=\"pizza\"></fc-radio-button>\n * <fc-radio-button label=\"Hamburger\" value=\"hamburger\"></fc-radio-button>\n * </fc-radio-group>\n * ```\n *\n * ### Preselected\n * ```html\n * <fc-radio-group>\n * <fc-radio-button checked label=\"Pizza\" value=\"pizza\"></fc-radio-button>\n * <fc-radio-button label=\"Hamburger\" value=\"hamburger\"></fc-radio-button>\n * </fc-radio-group>\n * ```\n *\n * ### Disabled\n * ```html\n * <fc-radio-group>\n * <fc-radio-button disabled label=\"Pizza\" value=\"pizza\"></fc-radio-button>\n * <fc-radio-button label=\"Hamburger\" value=\"hamburger\"></fc-radio-button>\n * </fc-radio-group>\n * ```\n *\n * ### Disable All\n * ```html\n * <fc-radio-group disabled>\n * <fc-radio-button label=\"Pizza\" value=\"pizza\"></fc-radio-button>\n * <fc-radio-button label=\"Hamburger\" value=\"hamburger\"></fc-radio-button>\n * </fc-radio-group>\n * ```\n * @element fc-radio-button-group\n * @slot - internally used for light input. Do not use.\n * @cssprop --fc-radio-group-legend-color - default: `var(--ftr-red)`\n */",
"attributes": [

@@ -128,0 +128,0 @@ {

Sorry, the diff of this file is not supported yet

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