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

onix-chess-ctrls

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onix-chess-ctrls - npm Package Compare versions

Comparing version 1.6.25 to 1.6.27

2

dist/ctrls/WhoMoveSelector.d.ts

@@ -5,3 +5,3 @@ import * as React from 'react';

export interface WhoMoveSelectorProps extends FormControlProps {
defaultTurn?: Color;
defaultValue?: Color;
onChangeTurn?: (color: Color) => void;

@@ -8,0 +8,0 @@ }

@@ -24,4 +24,4 @@ import { __assign, __extends, __rest } from "tslib";

WhoMoveSelector.prototype.render = function () {
var _a = this.props, defaultTurn = _a.defaultTurn, onChangeTurn = _a.onChangeTurn, size = _a.size, otherProps = __rest(_a, ["defaultTurn", "onChangeTurn", "size"]);
return (React.createElement(FormControl, __assign({ as: "select", size: size, onChange: this.onChange, defaultValue: defaultTurn }, otherProps),
var _a = this.props, defaultValue = _a.defaultValue, onChangeTurn = _a.onChangeTurn, size = _a.size, otherProps = __rest(_a, ["defaultValue", "onChangeTurn", "size"]);
return (React.createElement(FormControl, __assign({ as: "select", size: size, onChange: this.onChange, defaultValue: defaultValue.toString() }, otherProps),
React.createElement("option", { value: "white" }, Intl.t("chess-ctrls", "white_move")),

@@ -31,3 +31,3 @@ React.createElement("option", { value: "black" }, Intl.t("chess-ctrls", "black_move"))));

WhoMoveSelector.defaultProps = {
defaultTurn: 'white',
defaultValue: 'white',
size: 'sm',

@@ -34,0 +34,0 @@ };

{
"name": "onix-chess-ctrls",
"version": "1.6.25",
"version": "1.6.27",
"description": "Chess related controls",

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

@@ -0,0 +0,0 @@ export { PieceSelector, PieceSelectorProps } from './ctrls/PieceSelector';

@@ -0,0 +0,0 @@ export { PieceSelectorTest } from './PieceSelectorTest';

@@ -0,0 +0,0 @@ import * as React from 'react';

@@ -0,0 +0,0 @@ import * as React from 'react';

@@ -0,0 +0,0 @@ import * as React from 'react';

@@ -0,0 +0,0 @@ import * as React from 'react';

@@ -0,0 +0,0 @@ import * as React from 'react';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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