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

armstrong-react

Package Overview
Dependencies
Maintainers
2
Versions
339
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

armstrong-react - npm Package Compare versions

Comparing version

to
0.4.20

1

dist/components/form/formBinders.d.ts

@@ -28,2 +28,3 @@ import * as React from "react";

static textEmail<D>(dataName: string, valueConverter?: IInputValueConverter<D>): IFormBinderInjector<React.DOMAttributes>;
static range(dataName: string, options?: INumericOptions): IFormBinderInjector<React.DOMAttributes>;
static defaultText<D>(dataName: string, valueConverter?: IInputValueConverter<D>): IFormBinderInjector<React.DOMAttributes>;

@@ -30,0 +31,0 @@ static textNumeric(dataName: string, options?: INumericOptions): IFormBinderInjector<React.DOMAttributes>;

@@ -172,2 +172,11 @@ "use strict";

};
FormBinder.range = function (dataName, options) {
var adaptorInjector = FormBinder.custom(new InputFormBinder(dataName, "value"));
if (options) {
adaptorInjector["min"] = options.min;
adaptorInjector["max"] = options.max;
adaptorInjector["step"] = options.step || 1;
}
return adaptorInjector;
};
FormBinder.defaultText = function (dataName, valueConverter) {

@@ -174,0 +183,0 @@ return FormBinder.custom(new InputFormBinder(dataName, "defaultValue", valueConverter, "value"));

2

dist/index.d.ts

@@ -13,6 +13,4 @@ export { IIconProps, Icon } from "./components/display/icon";

export { IGrid, Grid, IRow, Row, ICol, Col, SingleColumnRow, FixedCentralColumnRow } from "./components/layout/grid";
export { HeadingElementType, HeadingStyleType, IHeadingProps, Heading } from "./components/text/heading";
export { TextElementType, ITextProps, Text } from "./components/text/text";
export { Responsiveness, Color, Size, Side, CenterContentVertical, CenterContentHorizontal, CenterBoth, CenterContent, LayoutHelpers } from "./utilities/uiHelpers";
export { Icons } from "./utilities/icons";
export { BurgerMenu, IBurgerMenuProps, BurgerMenuItem, IBurgerMenuItemProps } from "./components/navigation/burgerMenu";

@@ -30,6 +30,2 @@ "use strict";

exports.FixedCentralColumnRow = grid_1.FixedCentralColumnRow;
var heading_1 = require("./components/text/heading");
exports.Heading = heading_1.Heading;
var text_1 = require("./components/text/text");
exports.Text = text_1.Text;
var uiHelpers_1 = require("./utilities/uiHelpers");

@@ -36,0 +32,0 @@ exports.LayoutHelpers = uiHelpers_1.LayoutHelpers;

{
"name": "armstrong-react",
"version": "0.4.19",
"version": "0.4.20",
"dependencies": {

@@ -5,0 +5,0 @@ "abbrev": {

{
"name": "armstrong-react",
"version": "0.4.19",
"version": "0.4.20",
"description": "Rocketmakers Armstrong library of React components",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet