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

@amsterdam/amsterdam-react-final-form

Package Overview
Dependencies
Maintainers
9
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amsterdam/amsterdam-react-final-form - npm Package Compare versions

Comparing version 0.1.113 to 0.1.114

1

components/final-form/SelectField/ComplexSelectField.d.ts

@@ -16,2 +16,3 @@ import React, { PropsWithChildren } from "react";

withEmptyOption?: boolean;
emptyOptionLabel?: string;
isRequired?: boolean;

@@ -18,0 +19,0 @@ } & React.HTMLAttributes<HTMLSelectElement>;

@@ -7,2 +7,3 @@ import React from "react";

withEmptyOption?: boolean;
emptyOptionLabel?: string;
} & ComposedFieldProps & React.InputHTMLAttributes<HTMLSelectElement>;

@@ -9,0 +10,0 @@ /**

4

components/unbound/UnboundSelectField.js

@@ -36,6 +36,6 @@ "use strict";

var _b, _c, _d;
var label = _a.label, extraLabel = _a.extraLabel, hint = _a.hint, options = _a.options, error = _a.error, position = _a.position, align = _a.align, withEmptyOption = _a.withEmptyOption, restProps = __rest(_a, ["label", "extraLabel", "hint", "options", "error", "position", "align", "withEmptyOption"]);
var label = _a.label, extraLabel = _a.extraLabel, hint = _a.hint, options = _a.options, error = _a.error, position = _a.position, align = _a.align, withEmptyOption = _a.withEmptyOption, emptyOptionLabel = _a.emptyOptionLabel, restProps = __rest(_a, ["label", "extraLabel", "hint", "options", "error", "position", "align", "withEmptyOption", "emptyOptionLabel"]);
return (react_1["default"].createElement(ComposedField_1["default"], { id: (_b = restProps.id) !== null && _b !== void 0 ? _b : restProps.name, label: label, extraLabel: extraLabel, hint: hint, error: error, position: position, align: align },
react_1["default"].createElement(asc_ui_1.Select, __assign({ error: error, id: (_c = restProps.id) !== null && _c !== void 0 ? _c : restProps.name, "data-e2e-id": (_d = restProps.id) !== null && _d !== void 0 ? _d : restProps.name }, restProps),
withEmptyOption && react_1["default"].createElement("option", null, "-"),
withEmptyOption && react_1["default"].createElement("option", null, emptyOptionLabel !== null && emptyOptionLabel !== void 0 ? emptyOptionLabel : "-"),
Object.entries(options)

@@ -42,0 +42,0 @@ .map(function (_a) {

{
"name": "@amsterdam/amsterdam-react-final-form",
"version": "0.1.113",
"version": "0.1.114",
"private": false,

@@ -5,0 +5,0 @@ "repository": "https://github.com/amsterdam/amsterdam-react-final-form.git",

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