Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-react-buttons

Package Overview
Dependencies
Maintainers
2
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-react-buttons - npm Package Compare versions

Comparing version 16.2.45 to 16.2.46

src/global.js

3

button.js

@@ -0,1 +1,4 @@

/**
* button
*/
export * from './src/button/index';

@@ -0,1 +1,4 @@

/**
* check-box
*/
export * from './src/check-box/index';
/*!
* filename: ej2-react-buttons.umd.min.js
* version : 16.2.41
* version : 16.2.46
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.

@@ -10,4 +10,13 @@ * Use of this code is subject to the terms of our license.

*/
/*!
* filename: ej2-react-buttons.umd.min.js
* version : 16.2.45
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicable laws.
*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("react"),require("@syncfusion/ej2-buttons"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-buttons","@syncfusion/ej2-react-base"],e):e(t.ej={},t.React,t.ej2Buttons,t.ej2ReactBase)}(this,function(t,e,n,r){"use strict";var o=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.state=e,n}return o(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return e.createElement("button",this.getDefaultAttributes(),this.props.children);t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.Button);r.applyMixins(i,[r.ComponentBase,e.PureComponent]);var c=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(t){function n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.state=e,n}return c(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return e.createElement("input",this.getDefaultAttributes());t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.CheckBox);r.applyMixins(s,[r.ComponentBase,e.PureComponent]);var u=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),p=function(t){function n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.state=e,n}return u(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return e.createElement("input",this.getDefaultAttributes());t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.RadioButton);r.applyMixins(p,[r.ComponentBase,e.PureComponent]);var a=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=function(t){function n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.state=e,n}return a(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return e.createElement("input",this.getDefaultAttributes());t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.Switch);r.applyMixins(f,[r.ComponentBase,e.PureComponent]),t.ButtonComponent=i,t.CheckBoxComponent=s,t.RadioButtonComponent=p,t.SwitchComponent=f,Object.keys(n).forEach(function(e){t[e]=n[e]}),Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=ej2-react-buttons.umd.min.js.map

@@ -0,1 +1,4 @@

/**
* index
*/
export * from './src/index';

10

package.json
{
"name": "@syncfusion/ej2-react-buttons",
"version": "16.2.45",
"version": "16.2.46",
"description": "Essential JS 2 Button Components for React",

@@ -17,9 +17,9 @@ "author": "Syncfusion Inc.",

"main": "./dist/ej2-react-buttons.umd.min.js",
"module": "./src/index.js",
"module": "./index.js",
"es2015": "dist/es6/ej2-react-buttons.es2015.js",
"readme": "ReadMe.md",
"dependencies": {
"@syncfusion/ej2-base": "~16.2.45",
"@syncfusion/ej2-react-base": "~16.2.45",
"@syncfusion/ej2-buttons": "16.2.45"
"@syncfusion/ej2-base": "~16.2.46",
"@syncfusion/ej2-react-base": "~16.2.46",
"@syncfusion/ej2-buttons": "16.2.46"
},

@@ -26,0 +26,0 @@ "devDependencies": {

@@ -0,1 +1,4 @@

/**
* radio-button
*/
export * from './src/radio-button/index';

@@ -1,14 +0,102 @@

# Overview
# ej2-react-buttons
A package of Essential JS 2 Button, CheckBox, RadioButton and Switch components. It comes with full support and is available under commercial and community licenses – please visit www.syncfusion.com to get started.
A package of Essential JS 2 Button, CheckBox, RadioButton and Switch components.
## Resources
![Button](https://ej2.syncfusion.com/products/images/button/readme.gif)
* [Button Demo](http://ej2.syncfusion.com/react/demos/#/material/button/default)
* [Button Documentation](http://ej2.syncfusion.com/react/documentation/button)
* [CheckBox Demo](http://ej2.syncfusion.com/react/demos/#/material/button/check-box)
* [CheckBox Documentation](http://ej2.syncfusion.com/react/documentation/check-box)
* [RadioButton Demo](http://ej2.syncfusion.com/react/demos/#/material/button/radio-button)
* [RadioButton Documentation](http://ej2.syncfusion.com/react/documentation/radio-button)
* [Switch Demo](http://ej2.syncfusion.com/react/demos/#/material/button/switch)
* [Switch Documentation](http://ej2.syncfusion.com/react/documentation/switch)
> This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA (https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase one at https://www.syncfusion.com/sales/products or start a free 30-day trial here (https://www.syncfusion.com/account/manage-trials/start-trials).
> A free community license (https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
## Setup
To install `Button` and its dependent packages, use the following command
```sh
npm install @syncfusion/ej2-react-buttons
```
## Components included
Following list of components are available in the package.
* Button - `Button` is a graphical user interface element that triggers an event on its click action.
* [Getting Started](https://ej2.syncfusion.com/react/documentation/button/getting-started.html?utm_source=npm&utm_campaign=button)
* [View Online Demos](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=button#/material/button/default)
* [Product Page](https://www.syncfusion.com/products/react/button)
* CheckBox - `CheckBox` is a graphical user interface element that allows to select one or more options from the choices.
* [Getting Started](https://ej2.syncfusion.com/react/documentation/check-box/getting-started.html?utm_source=npm&utm_campaign=check-box)
* [View Online Demos](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=check-box#/material/button/check-box)
* [Product Page](https://www.syncfusion.com/products/react/checkbox)
* RadioButton - `RadioButton` is a graphical user interface element that allows to select one option from the choices.
* [Getting Started](https://ej2.syncfusion.com/react/documentation/radio-button/getting-started.html?utm_source=npm&utm_campaign=radio-button)
* [View Online Demos](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=radio-button#/material/button/radio-button)
* [Product Page](https://www.syncfusion.com/products/react/radio-button)
* Switch - `Switch` is a graphical user interface element that allows you to toggle between checked and unchecked states.
* [Getting Started](https://ej2.syncfusion.com/react/documentation/switch/getting-started.html?utm_source=npm&utm_campaign=switch)
* [View Online Demos](https://ej2.syncfusion.com/react/demos/?utm_source=npm&utm_campaign=switch#/material/button/switch)
* [Product Page](https://www.syncfusion.com/products/react/switch)
## Supported Frameworks
These components are available in following list of frameworks.
1. [Angular](https://github.com/syncfusion/ej2-ng-buttons?utm_source=npm&utm_campaign=button)
2. [VueJS](https://github.com/syncfusion/ej2-vue-buttons?utm_source=npm&utm_campaign=button)
3. [JavaScript (ES5)](https://www.syncfusion.com/products/javascript)
4. [ASP.NET Core](https://www.syncfusion.com/products/aspnetcore)
5. [ASP.NET MVC](https://www.syncfusion.com/products/aspnetmvc)
## Key Features
### Button
* [**Types**](https://ej2.syncfusion.com/react/documentation/button/types-and-styles.html#button-types) - Provided with different types of Button.
* [**Predefined Styles**](https://ej2.syncfusion.com/react/documentation/button/types-and-styles.html#button-styles) - Provided with predefined styles of Button.
* [**Sizes**](https://ej2.syncfusion.com/react/documentation/button/types-and-styles.html#button-size) - Provided with different sizes of Button.
* [**Icons**](https://ej2.syncfusion.com/react/documentation/button/types-and-styles.html#icons) - Supports text and icon on the Button.
### CheckBox
* [**States**](https://ej2.syncfusion.com/react/documentation/check-box/getting-started.html#change-the-checkbox-state) - Provided with different states of CheckBox.
* [**Label**](https://ej2.syncfusion.com/react/documentation/check-box/label-and-size.html#label) - Supports label and its positioning.
* [**Sizes**](https://ej2.syncfusion.com/react/documentation/check-box/label-and-size.html#size) - Provided with different sizes of CheckBox.
### RadioButton
* [**States**](https://ej2.syncfusion.com/react/documentation/radio-button/getting-started.html#change-the-radiobutton-state) - Provided with different states of RadioButton.
* [**Label**](https://ej2.syncfusion.com/react/documentation/radio-button/label-and-size.html#label) - Supports label and its positioning.
* [**Sizes**](https://ej2.syncfusion.com/react/documentation/radio-button/label-and-size.html#size) - Provided with different sizes of RadioButton.
### Switch
* [**Text**](https://ej2.syncfusion.com/react/documentation/switch/getting-started.html#set-text-on-switch) - Supports text.
* [**Sizes**](https://ej2.syncfusion.com/react/documentation/switch/howto.html#change-size) - Provided with different sizes of Switch.
## Support
Product support is available for through following mediums.
* Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm&utm_campaign=button) support system or [Community forum](https://www.syncfusion.com/forums/react-js2?utm_source=npm&utm_campaign=button).
* New [GitHub issue](https://github.com/syncfusion/ej2-react-buttons/issues/new).
* Ask your query in [Stack Overflow](https://stackoverflow.com/?utm_source=npm&utm_campaign=button) with tag `syncfusion`, `ej2`.
## License
Check the license detail [here](https://github.com/syncfusion/ej2/blob/master/license).
## Changelog
Check the changelog [here](https://github.com/syncfusion/ej2-react-buttons/blob/master/CHANGELOG.md)
© Copyright 2018 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.

@@ -14,3 +14,9 @@ var __extends = (this && this.__extends) || (function () {

import { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
var ButtonComponent = (function (_super) {
/**
* `ButtonComponent` represents the react Button Component.
* ```ts
* <ButtonComponent></ButtonComponent>
* ```
*/
var ButtonComponent = /** @class */ (function (_super) {
__extends(ButtonComponent, _super);

@@ -17,0 +23,0 @@ function ButtonComponent(props) {

@@ -14,3 +14,9 @@ var __extends = (this && this.__extends) || (function () {

import { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
var CheckBoxComponent = (function (_super) {
/**
* Represents the react CheckBox Component.
* ```ts
* <CheckBoxComponent label='Default'></CheckBoxComponent>
* ```
*/
var CheckBoxComponent = /** @class */ (function (_super) {
__extends(CheckBoxComponent, _super);

@@ -17,0 +23,0 @@ function CheckBoxComponent(props) {

@@ -14,3 +14,9 @@ var __extends = (this && this.__extends) || (function () {

import { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
var RadioButtonComponent = (function (_super) {
/**
* Represents the react RadioButton Component.
* ```ts
* <RadioButtonComponent label='Default'></RadioButtonComponent>
* ```
*/
var RadioButtonComponent = /** @class */ (function (_super) {
__extends(RadioButtonComponent, _super);

@@ -17,0 +23,0 @@ function RadioButtonComponent(props) {

@@ -14,3 +14,9 @@ var __extends = (this && this.__extends) || (function () {

import { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
var SwitchComponent = (function (_super) {
/**
* Represents the react Switch Component.
* ```ts
* <SwitchComponent></SwitchComponent>
* ```
*/
var SwitchComponent = /** @class */ (function (_super) {
__extends(SwitchComponent, _super);

@@ -17,0 +23,0 @@ function SwitchComponent(props) {

@@ -0,1 +1,4 @@

/**
* switch
*/
export * from './src/switch/index';

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