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

@frui.ts/htmlcontrols

Package Overview
Dependencies
Maintainers
5
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frui.ts/htmlcontrols - npm Package Compare versions

Comparing version 0.16.0-beta.2 to 0.16.0-beta.3

2

dist/controls/textbox.d.ts
import { BindingProperty } from "@frui.ts/helpers";
import { IBindingProps } from "@frui.ts/views";
import React from "react";
declare type TextboxProps<TTarget, TProperty extends BindingProperty<TTarget>> = IBindingProps<TTarget, TProperty> & React.InputHTMLAttributes<HTMLInputElement>;
declare type TextboxProps<TTarget, TProperty extends BindingProperty<TTarget>> = IBindingProps<TTarget, TProperty, string> & React.InputHTMLAttributes<HTMLInputElement>;
declare function textbox<TTarget, TProperty extends BindingProperty<TTarget>>(props: TextboxProps<TTarget, TProperty>): JSX.Element;
declare const Textbox: typeof textbox;
export default Textbox;

@@ -26,3 +26,3 @@ "use strict";

function textbox(props) {
var _a = __read(views_1.useBinding(props.target, props.property), 2), value = _a[0], setValue = _a[1];
var _a = __read(views_1.useBinding(props), 2), value = _a[0], setValue = _a[1];
var handleValueChanged = function (e) { return setValue(e.target.value); };

@@ -29,0 +29,0 @@ return react_1.default.createElement("input", { type: "text", value: value || "", onChange: handleValueChanged });

@@ -6,3 +6,3 @@ {

},
"version": "0.16.0-beta.2",
"version": "0.16.0-beta.3",
"description": "Plain HTML controls ready for Frui.ts integration",

@@ -42,4 +42,4 @@ "keywords": [

"dependencies": {
"@frui.ts/helpers": "^0.16.0-beta.2",
"@frui.ts/views": "^0.16.0-beta.2",
"@frui.ts/helpers": "^0.16.0-beta.3",
"@frui.ts/views": "^0.16.0-beta.3",
"mobx-react-lite": "^1.5.2"

@@ -50,3 +50,3 @@ },

},
"gitHead": "769c12e8d1bb8625dc1482fbae7185f6b5e123b1"
"gitHead": "467e9c7dae871601a3451aa26091703433d2d8cb"
}

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