if no React child nodes are defined
94 | render: function() {
95 | return this.props.children ? this.props.children :
;
96 | }
97 | });
98 |
99 | //export the wrapped component
100 | export default KendoEditor;
101 |
--------------------------------------------------------------------------------
/packages/gantt/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/gantt/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/gantt/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/gantt/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-gantt",
3 | "version": "1.0.2",
4 | "description": "The Kendo UI for jQuery Gantt widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/gantt"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley
(http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo": "git+https://bower.telerik.com/npm-kendo-ui.git#2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.14.0",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.14.0"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/gantt/src/index.js:
--------------------------------------------------------------------------------
1 | // import/require dependencies
2 | import kuiGantt from 'kendo/js/kendo.gantt.js';
3 | import React from 'react';
4 | import ReactDOM from 'react-dom';
5 | import deepDiff from 'deep-diff';
6 |
7 | // create a React component, that is a wrapper for a Kendo UI widget
8 | const KendoGantt = React.createClass({
9 |
10 | //component is in the DOM, so do stuff to it in this callback
11 | componentDidMount: function() {
12 | //get, child element node for this component
13 | var elementNode = ReactDOM.findDOMNode(this);
14 |
15 | //determine if a selector was passed on which to invoke the KUI widget
16 | if(this.props.selector){
17 | elementNode = elementNode.querySelector(this.props.selector);
18 | }
19 |
20 | //instantiate and save reference to the Kendo UI widget on elementNode
21 | //note I am not using jQuery plugin to instantiate, don't want to wait for namespace on $.fn
22 | this.widgetInstance = new kuiGantt.ui.Gantt(elementNode,this.props.options);
23 |
24 | //if props are avaliable for events, triggers, unbind events, or methods make it happen now
25 | this.props.events ? this.bindEventsToKendoWidget(this.props.events) : null;
26 | this.props.methods ? this.callKendoWidgetMethods(this.props.methods) : null;
27 | this.props.triggerEvents ? this.triggerKendoWidgetEvents(this.props.triggerEvents) : null;
28 | },
29 |
30 | //instance methods for updating widget
31 | triggerKendoWidgetEvents:function(events){
32 | events.forEach(function(event){//loop over events, and trigger
33 | this.widgetInstance.trigger(event);
34 | }, this);
35 | },
36 | bindEventsToKendoWidget:function(events){
37 | Object.keys(events).forEach(function(event){//loop over events and bind
38 | this.widgetInstance.bind(event,events[event]);
39 | }, this);
40 | },
41 | unbindEventsToKendoWidget:function(events){
42 | events.forEach(function(event){//loop ove revents and unbind
43 | this.widgetInstance.unbind(event);
44 | }, this);
45 | },
46 | callKendoWidgetMethods:function(methods){
47 | Object.keys(methods).forEach(function(method){//loop over methods and call
48 | this.widgetInstance[method](...methods[method]);
49 | }, this);
50 | },
51 |
52 | //not called on inital render, but whenever parent state changes this is called
53 | componentWillReceiveProps: function(nextProps){
54 | //always update the widget with nextProp changes if avaliable
55 | if(nextProps.events){
56 | this.bindEventsToKendoWidget(nextProps.events);
57 | }
58 |
59 | if(this.widgetInstance.setOptions){
60 | if(nextProps.options){
61 | this.widgetInstance.setOptions(nextProps.options);
62 | }
63 | }
64 |
65 | //try and determine if any of the nextProps have changed, and if so, update the widget
66 | if(nextProps.methods){
67 | if(deepDiff(nextProps.methods,this.props.methods)){
68 | this.callKendoWidgetMethods(nextProps.methods);
69 | }
70 | }
71 |
72 | if(nextProps.unbindEvents){
73 | if(deepDiff(nextProps.unbindEvents,this.props.unbindEvents)){
74 | this.unbindEventsToKendoWidget(nextProps.unbindEvents);
75 | }
76 | }
77 |
78 | if(nextProps.triggerEvents){
79 | if(deepDiff(nextProps.triggerEvents,this.props.triggerEvents)){
80 | this.triggerKendoWidgetEvents(nextProps.triggerEvents);
81 | }
82 | }
83 | },
84 |
85 | //don't run render again, create widget once, then leave it alone
86 | shouldComponentUpdate: function(){return false;},
87 |
88 | //destory it, when the component is unmouted
89 | componentWillUnmount: function() {
90 | this.widgetInstance.destroy();
91 | },
92 |
93 | //use the passed in React nodes or a plain if no React child nodes are defined
94 | render: function() {
95 | return this.props.children ? this.props.children :
;
96 | }
97 | });
98 |
99 | //export the wrapped component
100 | export default KendoGantt;
101 |
--------------------------------------------------------------------------------
/packages/grid/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/grid/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/grid/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/grid/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-grid",
3 | "version": "1.0.9",
4 | "description": "The Kendo UI for jQuery Grid widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/grid"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley
(http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo": "git+https://bower.telerik.com/npm-kendo-ui.git#2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.11.4",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.13.2"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/grid/src/index.js:
--------------------------------------------------------------------------------
1 | // import/require dependencies
2 | import kuiGrid from 'kendo/js/kendo.grid.js';
3 | import React from 'react';
4 | import ReactDOM from 'react-dom';
5 | import deepDiff from 'deep-diff';
6 |
7 | // create a React component, that is a wrapper for a Kendo UI widget
8 | const KendoGrid = React.createClass({
9 |
10 | //component is in the DOM, so do stuff to it in this callback
11 | componentDidMount: function() {
12 | //get, child element node for this component
13 | var elementNode = ReactDOM.findDOMNode(this);
14 |
15 | //determine if a selector was passed on which to invoke the KUI widget
16 | if(this.props.selector){
17 | elementNode = elementNode.querySelector(this.props.selector);
18 | }
19 |
20 | //instantiate and save reference to the Kendo UI widget on elementNode
21 | //note I am not using jQuery plugin to instantiate, don't want to wait for namespace on $.fn
22 | this.widgetInstance = new kuiGrid.ui.Grid(elementNode,this.props.options);
23 |
24 | //if props are avaliable for events, triggers, unbind events, or methods make it happen now
25 | this.props.events ? this.bindEventsToKendoWidget(this.props.events) : null;
26 | this.props.methods ? this.callKendoWidgetMethods(this.props.methods) : null;
27 | this.props.triggerEvents ? this.triggerKendoWidgetEvents(this.props.triggerEvents) : null;
28 | },
29 |
30 | //instance methods for updating widget
31 | triggerKendoWidgetEvents:function(events){
32 | events.forEach(function(event){//loop over events, and trigger
33 | this.widgetInstance.trigger(event);
34 | }, this);
35 | },
36 | bindEventsToKendoWidget:function(events){
37 | Object.keys(events).forEach(function(event){//loop over events and bind
38 | this.widgetInstance.bind(event,events[event]);
39 | }, this);
40 | },
41 | unbindEventsToKendoWidget:function(events){
42 | events.forEach(function(event){//loop ove revents and unbind
43 | this.widgetInstance.unbind(event);
44 | }, this);
45 | },
46 | callKendoWidgetMethods:function(methods){
47 | Object.keys(methods).forEach(function(method){//loop over methods and call
48 | this.widgetInstance[method](...methods[method]);
49 | }, this);
50 | },
51 |
52 | //not called on inital render, but whenever parent state changes this is called
53 | componentWillReceiveProps: function(nextProps){
54 | //always update the widget with nextProp changes if avaliable
55 | if(nextProps.events){
56 | this.bindEventsToKendoWidget(nextProps.events);
57 | }
58 |
59 | if(this.widgetInstance.setOptions){
60 | if(nextProps.options){
61 | this.widgetInstance.setOptions(nextProps.options);
62 | }
63 | }
64 |
65 | //try and determine if any of the nextProps have changed, and if so, update the widget
66 | if(nextProps.methods){
67 | if(deepDiff(nextProps.methods,this.props.methods)){
68 | this.callKendoWidgetMethods(nextProps.methods);
69 | }
70 | }
71 |
72 | if(nextProps.unbindEvents){
73 | if(deepDiff(nextProps.unbindEvents,this.props.unbindEvents)){
74 | this.unbindEventsToKendoWidget(nextProps.unbindEvents);
75 | }
76 | }
77 |
78 | if(nextProps.triggerEvents){
79 | if(deepDiff(nextProps.triggerEvents,this.props.triggerEvents)){
80 | this.triggerKendoWidgetEvents(nextProps.triggerEvents);
81 | }
82 | }
83 | },
84 |
85 | //don't run render again, create widget once, then leave it alone
86 | shouldComponentUpdate: function(){return false;},
87 |
88 | //destory it, when the component is unmouted
89 | componentWillUnmount: function() {
90 | this.widgetInstance.destroy();
91 | },
92 |
93 | //use the passed in React nodes or a plain if no React child nodes are defined
94 | render: function() {
95 | return this.props.children ? this.props.children :
;
96 | }
97 | });
98 |
99 | //export the wrapped component
100 | export default KendoGrid;
101 |
--------------------------------------------------------------------------------
/packages/linearGauge/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/linearGauge/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/linearGauge/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/linearGauge/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-lineargauge",
3 | "version": "1.0.2",
4 | "description": "The Kendo UI for jQuery LinearGauge widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/linearGauge"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley
(http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo": "git+https://bower.telerik.com/npm-kendo-ui.git#2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.11.4",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.13.2"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/listView/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/listView/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/listView/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/listView/README.md:
--------------------------------------------------------------------------------
1 | # kendo-ui-react-jquery-listview
2 |
3 | The Kendo UI for jQuery ListView widget wrapped as a React component.
4 |
5 | ## Install
6 |
7 | ```bash
8 | npm i kendo-ui-react-jquery-listview
9 | ```
10 |
11 | ## Usage Example
12 |
13 | ```javascript
14 | import React from 'react';
15 | import ReactDOM from 'react-dom';
16 | import KendoListView from 'kendo-ui-react-jquery-listview';
17 |
18 | //Don't forget CSS, webpack used to include CSS
19 | import 'kendo-ui-core/css/web/kendo.common.core.min.css';
20 | import 'kendo-ui-core/css/web/kendo.default.min.css';
21 |
22 | var data = {
23 | data: [
24 | {
25 | FirstName: "Joe",
26 | LastName: "Smith"
27 | },
28 | {
29 | FirstName: "Jane",
30 | LastName: "Smith"
31 | }]
32 | };
33 |
34 | var App = React.createClass({
35 | render: function() {
36 | return (${FirstName} ${LastName}',dataSource:data}} />);
37 | }
38 | });
39 |
40 | ReactDOM.render(, document.getElementById('app'));
41 | ```
42 |
43 | ## React Props
44 |
45 | Every KUI React Wrapper can make use of the following React props:
46 |
47 | * `options`
48 | * `methods`
49 | * `events`
50 | * `unbindEvents`
51 | * `triggerEvents`
52 |
53 | Each is demonstrated below using a `` KUI React wrapper.
54 |
55 | ```javascript
56 |
92 |
93 |
94 | ```
95 |
96 | ## KUI API
97 |
98 | * ListView demos: [http://demos.telerik.com/kendo-ui/listview/index](http://demos.telerik.com/kendo-ui/listview/index)
99 | * ListView docs: [http://docs.telerik.com/kendo-ui/controls/data-management/listview/overview](http://docs.telerik.com/kendo-ui/controls/data-management/listview/overview)
100 | * ListView API: [http://docs.telerik.com/kendo-ui/api/javascript/ui/listview](http://docs.telerik.com/kendo-ui/api/javascript/ui/listview)
101 |
102 | ## License
103 |
104 | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
105 |
--------------------------------------------------------------------------------
/packages/listView/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-listview",
3 | "version": "1.0.5",
4 | "description": "The Kendo UI for jQuery ListView widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm test && npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/listView"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo-ui-core": "^2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.14.0",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.14.0"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/map/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/map/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/map/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/map/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-map",
3 | "version": "1.0.1",
4 | "description": "The Kendo UI for jQuery Map widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/map"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo": "git+https://bower.telerik.com/npm-kendo-ui.git#2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.11.4",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.13.2"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/map/src/index.js:
--------------------------------------------------------------------------------
1 | // import/require dependencies
2 | import kuiMap from 'kendo/js/kendo.dataviz.map.js';
3 | import React from 'react';
4 | import ReactDOM from 'react-dom';
5 | import deepDiff from 'deep-diff';
6 |
7 | // create a React component, that is a wrapper for a Kendo UI widget
8 | const KendoMap = React.createClass({
9 |
10 | //component is in the DOM, so do stuff to it in this callback
11 | componentDidMount: function() {
12 | //get, child element node for this component
13 | var elementNode = ReactDOM.findDOMNode(this);
14 |
15 | //determine if a selector was passed on which to invoke the KUI widget
16 | if(this.props.selector){
17 | elementNode = elementNode.querySelector(this.props.selector);
18 | }
19 |
20 | //instantiate and save reference to the Kendo UI widget on elementNode
21 | //note I am not using jQuery plugin to instantiate, don't want to wait for namespace on $.fn
22 | this.widgetInstance = new kuiMap.dataviz.ui.Map(elementNode,this.props.options);
23 |
24 | //if props are avaliable for events, triggers, unbind events, or methods make it happen now
25 | this.props.events ? this.bindEventsToKendoWidget(this.props.events) : null;
26 | this.props.methods ? this.callKendoWidgetMethods(this.props.methods) : null;
27 | this.props.triggerEvents ? this.triggerKendoWidgetEvents(this.props.triggerEvents) : null;
28 | },
29 |
30 | //instance methods for updating widget
31 | triggerKendoWidgetEvents:function(events){
32 | events.forEach(function(event){//loop over events, and trigger
33 | this.widgetInstance.trigger(event);
34 | }, this);
35 | },
36 | bindEventsToKendoWidget:function(events){
37 | Object.keys(events).forEach(function(event){//loop over events and bind
38 | this.widgetInstance.bind(event,events[event]);
39 | }, this);
40 | },
41 | unbindEventsToKendoWidget:function(events){
42 | events.forEach(function(event){//loop ove revents and unbind
43 | this.widgetInstance.unbind(event);
44 | }, this);
45 | },
46 | callKendoWidgetMethods:function(methods){
47 | Object.keys(methods).forEach(function(method){//loop over methods and call
48 | this.widgetInstance[method](...methods[method]);
49 | }, this);
50 | },
51 |
52 | //not called on inital render, but whenever parent state changes this is called
53 | componentWillReceiveProps: function(nextProps){
54 | //always update the widget with nextProp changes if avaliable
55 | if(nextProps.events){
56 | this.bindEventsToKendoWidget(nextProps.events);
57 | }
58 |
59 | if(this.widgetInstance.setOptions){
60 | if(nextProps.options){
61 | this.widgetInstance.setOptions(nextProps.options);
62 | }
63 | }
64 |
65 | //try and determine if any of the nextProps have changed, and if so, update the widget
66 | if(nextProps.methods){
67 | if(deepDiff(nextProps.methods,this.props.methods)){
68 | this.callKendoWidgetMethods(nextProps.methods);
69 | }
70 | }
71 |
72 | if(nextProps.unbindEvents){
73 | if(deepDiff(nextProps.unbindEvents,this.props.unbindEvents)){
74 | this.unbindEventsToKendoWidget(nextProps.unbindEvents);
75 | }
76 | }
77 |
78 | if(nextProps.triggerEvents){
79 | if(deepDiff(nextProps.triggerEvents,this.props.triggerEvents)){
80 | this.triggerKendoWidgetEvents(nextProps.triggerEvents);
81 | }
82 | }
83 | },
84 |
85 | //don't run render again, create widget once, then leave it alone
86 | shouldComponentUpdate: function(){return false;},
87 |
88 | //destory it, when the component is unmouted
89 | componentWillUnmount: function() {
90 | this.widgetInstance.destroy();
91 | },
92 |
93 | //use the passed in React nodes or a plain if no React child nodes are defined
94 | render: function() {
95 | return this.props.children ? this.props.children :
;
96 | }
97 | });
98 |
99 | //export the wrapped component
100 | export default KendoMap;
101 |
--------------------------------------------------------------------------------
/packages/maskedTextBox/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/maskedTextBox/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/maskedTextBox/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/maskedTextBox/README.md:
--------------------------------------------------------------------------------
1 | # kendo-ui-react-jquery-maskedtextbox
2 |
3 | The Kendo UI for jQuery MaskedTextBox widget wrapped as a React component.
4 |
5 | ## Install
6 |
7 | ```bash
8 | npm i kendo-ui-react-jquery-maskedtextbox
9 | ```
10 |
11 | ## Usage Example
12 |
13 | ```javascript
14 | import React from 'react';
15 | import ReactDOM from 'react-dom';
16 | import KendoMaskedTextBox from 'kendo-ui-react-jquery-maskedtextbox';
17 |
18 | //Don't forget CSS, webpack used to include CSS
19 | import 'kendo-ui-core/css/web/kendo.common.core.min.css';
20 | import 'kendo-ui-core/css/web/kendo.default.min.css';
21 |
22 | var App = React.createClass({
23 | render: function() {
24 | return (
25 |
26 | );
27 | }
28 | });
29 |
30 | ReactDOM.render(
, document.getElementById('app'));
31 | ```
32 |
33 | ## React Props
34 |
35 | Every KUI React Wrapper can make use of the following React props:
36 |
37 | * `options`
38 | * `methods`
39 | * `events`
40 | * `unbindEvents`
41 | * `triggerEvents`
42 |
43 | Each is demonstrated below using a `
` KUI React wrapper.
44 |
45 | ```javascript
46 |
82 |
83 |
84 | ```
85 |
86 | ## KUI API
87 |
88 | * MaskedTextBox demos: [http://demos.telerik.com/kendo-ui/maskedtextbox/index](http://demos.telerik.com/kendo-ui/maskedtextbox/index)
89 | * MaskedTextBox docs: [http://docs.telerik.com/kendo-ui/controls/editors/maskedtextbox/overview](http://docs.telerik.com/kendo-ui/controls/editors/maskedtextbox/overview)
90 | * MaskedTextBox API: [http://docs.telerik.com/kendo-ui/api/javascript/ui/maskedtextbox](http://docs.telerik.com/kendo-ui/api/javascript/ui/maskedtextbox)
91 |
92 | ## License
93 |
94 | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
95 |
--------------------------------------------------------------------------------
/packages/maskedTextBox/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-maskedtextbox",
3 | "version": "1.0.4",
4 | "description": "The Kendo UI for jQuery MaskedTextBox widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/maskedTextBox"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo-ui-core": "^2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.11.4",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.13.2"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/mediaPlayer/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/mediaPlayer/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/mediaPlayer/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/mediaPlayer/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-mediaplayer",
3 | "version": "1.0.4",
4 | "description": "The Kendo UI for jQuery MediaPlayer widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/mediaPlayer"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo": "git+https://bower.telerik.com/npm-kendo-ui.git#2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.11.4",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.13.2"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/menu/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/menu/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/menu/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/menu/README.md:
--------------------------------------------------------------------------------
1 | # kendo-ui-react-jquery-menu
2 |
3 | The Kendo UI for jQuery Menu widget wrapped as a React component.
4 |
5 | ## Install
6 |
7 | ```bash
8 | npm i kendo-ui-react-jquery-menu
9 | ```
10 |
11 | ## Usage Example
12 |
13 | ```javascript
14 | import React from 'react';
15 | import ReactDOM from 'react-dom';
16 | import KendoMenu from 'kendo-ui-react-jquery-menu';
17 |
18 | //Don't forget CSS, webpack used to include CSS
19 | import 'kendo-ui-core/css/web/kendo.common.core.min.css';
20 | import 'kendo-ui-core/css/web/kendo.default.min.css';
21 |
22 | var App = React.createClass({
23 | render: function() {
24 | return (
25 |
26 | - root item 1
27 | - root item 2
28 |
29 | - child item 1
30 | - child item 2
31 |
32 |
33 |
34 | );
35 | }
36 | });
37 |
38 | ReactDOM.render(, document.getElementById('app'));
39 | ```
40 |
41 | ## React Props
42 |
43 | Every KUI React Wrapper can make use of the following React props:
44 |
45 | * `options`
46 | * `methods`
47 | * `events`
48 | * `unbindEvents`
49 | * `triggerEvents`
50 |
51 | Each is demonstrated below using a `` KUI React wrapper.
52 |
53 | ```javascript
54 |
90 |
91 |
92 | ```
93 |
94 | ## KUI API
95 |
96 | * Menu demos: [http://demos.telerik.com/kendo-ui/menu/index](http://demos.telerik.com/kendo-ui/menu/index)
97 | * Menu docs: [http://docs.telerik.com/kendo-ui/controls/navigation/menu/overview](http://docs.telerik.com/kendo-ui/controls/navigation/menu/overview)
98 | * Menu API: [http://docs.telerik.com/kendo-ui/api/javascript/ui/menu](http://docs.telerik.com/kendo-ui/api/javascript/ui/menu)
99 |
100 | ## License
101 |
102 | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
103 |
--------------------------------------------------------------------------------
/packages/menu/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-menu",
3 | "version": "1.0.3",
4 | "description": "The Kendo UI for jQuery Menu widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/menu"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo-ui-core": "^2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.14.0",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.14.0"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/menu/src/index.js:
--------------------------------------------------------------------------------
1 | // import/require dependencies
2 | import kuiMenu from 'kendo-ui-core/js/kendo.menu.js';
3 | import React from 'react';
4 | import ReactDOM from 'react-dom';
5 | import deepDiff from 'deep-diff';
6 |
7 | // create a React component, that is a wrapper for a Kendo UI widget
8 | const KendoMenu = React.createClass({
9 |
10 | //component is in the DOM, so do stuff to it in this callback
11 | componentDidMount: function() {
12 | //get, child element node for this component
13 | var elementNode = ReactDOM.findDOMNode(this);
14 |
15 | //determine if a selector was passed on which to invoke the KUI widget
16 | if(this.props.selector){
17 | elementNode = elementNode.querySelector(this.props.selector);
18 | }
19 |
20 | //instantiate and save reference to the Kendo UI widget on elementNode
21 | //note I am not using jQuery plugin to instantiate, don't want to wait for namespace on $.fn
22 | this.widgetInstance = new kuiMenu.ui.Menu(elementNode,this.props.options);
23 |
24 | //if props are avaliable for events, triggers, unbind events, or methods make it happen now
25 | this.props.events ? this.bindEventsToKendoWidget(this.props.events) : null;
26 | this.props.methods ? this.callKendoWidgetMethods(this.props.methods) : null;
27 | this.props.triggerEvents ? this.triggerKendoWidgetEvents(this.props.triggerEvents) : null;
28 | },
29 |
30 | //instance methods for updating widget
31 | triggerKendoWidgetEvents:function(events){
32 | events.forEach(function(event){//loop over events, and trigger
33 | this.widgetInstance.trigger(event);
34 | }, this);
35 | },
36 | bindEventsToKendoWidget:function(events){
37 | Object.keys(events).forEach(function(event){//loop over events and bind
38 | this.widgetInstance.bind(event,events[event]);
39 | }, this);
40 | },
41 | unbindEventsToKendoWidget:function(events){
42 | events.forEach(function(event){//loop ove revents and unbind
43 | this.widgetInstance.unbind(event);
44 | }, this);
45 | },
46 | callKendoWidgetMethods:function(methods){
47 | Object.keys(methods).forEach(function(method){//loop over methods and call
48 | this.widgetInstance[method](...methods[method]);
49 | }, this);
50 | },
51 |
52 | //not called on inital render, but whenever parent state changes this is called
53 | componentWillReceiveProps: function(nextProps){
54 | //always update the widget with nextProp changes if avaliable
55 | if(nextProps.events){
56 | this.bindEventsToKendoWidget(nextProps.events);
57 | }
58 |
59 | if(this.widgetInstance.setOptions){
60 | if(nextProps.options){
61 | this.widgetInstance.setOptions(nextProps.options);
62 | }
63 | }
64 |
65 | //try and determine if any of the nextProps have changed, and if so, update the widget
66 | if(nextProps.methods){
67 | if(deepDiff(nextProps.methods,this.props.methods)){
68 | this.callKendoWidgetMethods(nextProps.methods);
69 | }
70 | }
71 |
72 | if(nextProps.unbindEvents){
73 | if(deepDiff(nextProps.unbindEvents,this.props.unbindEvents)){
74 | this.unbindEventsToKendoWidget(nextProps.unbindEvents);
75 | }
76 | }
77 |
78 | if(nextProps.triggerEvents){
79 | if(deepDiff(nextProps.triggerEvents,this.props.triggerEvents)){
80 | this.triggerKendoWidgetEvents(nextProps.triggerEvents);
81 | }
82 | }
83 | },
84 |
85 | //don't run render again, create widget once, then leave it alone
86 | shouldComponentUpdate: function(){return false;},
87 |
88 | //destory it, when the component is unmouted
89 | componentWillUnmount: function() {
90 | this.widgetInstance.destroy();
91 | },
92 |
93 | //use the passed in React nodes or a plain if no React child nodes are defined
94 | render: function() {
95 | return this.props.children ? this.props.children :
;
96 | }
97 | });
98 |
99 | //export the wrapped component
100 | export default KendoMenu;
101 |
--------------------------------------------------------------------------------
/packages/multiSelect/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/multiSelect/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/multiSelect/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/multiSelect/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-multiselect",
3 | "version": "1.0.3",
4 | "description": "The Kendo UI for jQuery DatePicker widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/multiSelect"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley
(http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo-ui-core": "^2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.11.4",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.13.2"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/notification/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/notification/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/notification/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/notification/README.md:
--------------------------------------------------------------------------------
1 | # kendo-ui-react-jquery-notification
2 |
3 | The Kendo UI for jQuery Notification widget wrapped as a React component.
4 |
5 | ## Install
6 |
7 | ```bash
8 | npm i kendo-ui-react-jquery-notification
9 | ```
10 |
11 | ## Usage Example
12 |
13 | ```javascript
14 | import React from 'react';
15 | import ReactDOM from 'react-dom';
16 | import KendoNotification from 'kendo-ui-react-jquery-notification';
17 |
18 | //Don't forget CSS, webpack used to include CSS
19 | import 'kendo-ui-core/css/web/kendo.common.core.min.css';
20 | import 'kendo-ui-core/css/web/kendo.default.min.css';
21 |
22 | var App = React.createClass({
23 | render: function() {
24 | return ();
35 | }
36 | });
37 |
38 | ReactDOM.render(, document.getElementById('app'));
39 | ```
40 |
41 | ## React Props
42 |
43 | Every KUI React Wrapper can make use of the following React props:
44 |
45 | * `options`
46 | * `methods`
47 | * `events`
48 | * `unbindEvents`
49 | * `triggerEvents`
50 |
51 | Each is demonstrated below using a `` KUI React wrapper.
52 |
53 | ```javascript
54 |
90 |
91 |
92 | ```
93 |
94 | ## KUI API
95 |
96 | * Notification demos: [http://demos.telerik.com/kendo-ui/notification/index](http://demos.telerik.com/kendo-ui/notification/index)
97 | * Notification docs: [http://docs.telerik.com/kendo-ui/controls/layout/notification/overview](http://docs.telerik.com/kendo-ui/controls/layout/notification/overview)
98 | * Notification API: [http://docs.telerik.com/kendo-ui/api/javascript/ui/notification](http://docs.telerik.com/kendo-ui/api/javascript/ui/notification)
99 |
100 | ## License
101 |
102 | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
103 |
--------------------------------------------------------------------------------
/packages/notification/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-notification",
3 | "version": "1.0.3",
4 | "description": "The Kendo UI for jQuery Notification widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/notification"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo-ui-core": "^2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.14.0",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.14.0"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/numericTextBox/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/numericTextBox/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/numericTextBox/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/numericTextBox/README.md:
--------------------------------------------------------------------------------
1 | # kendo-ui-react-jquery-numerictextbox
2 |
3 | The Kendo UI for jQuery NumericTextBox widget wrapped as a React component.
4 |
5 | ## Install
6 |
7 | ```bash
8 | npm i kendo-ui-react-jquery-numerictextbox
9 | ```
10 |
11 | ## Usage Example
12 |
13 | ```javascript
14 | import React from 'react';
15 | import ReactDOM from 'react-dom';
16 | import KendoNumericTextBox from 'kendo-ui-react-jquery-numerictextbox';
17 |
18 | //Don't forget CSS, webpack used to include CSS
19 | import 'kendo-ui-core/css/web/kendo.common.core.min.css';
20 | import 'kendo-ui-core/css/web/kendo.default.min.css';
21 |
22 | var App = React.createClass({
23 | render: function() {
24 | return (
31 | );
32 | }
33 | });
34 |
35 | ReactDOM.render(, document.getElementById('app'));
36 | ```
37 |
38 | ## React Props
39 |
40 | Every KUI React Wrapper can make use of the following React props:
41 |
42 | * `options`
43 | * `methods`
44 | * `events`
45 | * `unbindEvents`
46 | * `triggerEvents`
47 |
48 | Each is demonstrated below using a `` KUI React wrapper.
49 |
50 | ```javascript
51 |
87 |
88 |
89 | ```
90 |
91 | ## KUI API
92 |
93 | * NumericTextBox demos: [http://demos.telerik.com/kendo-ui/numerictextbox/index](http://demos.telerik.com/kendo-ui/numerictextbox/index)
94 | * NumericTextBox docs: [http://docs.telerik.com/kendo-ui/controls/editors/numerictextbox/overview](http://docs.telerik.com/kendo-ui/controls/editors/numerictextbox/overview)
95 | * NumericTextBox API: [http://docs.telerik.com/kendo-ui/api/javascript/ui/numerictextbox](http://docs.telerik.com/kendo-ui/api/javascript/ui/numerictextbox)
96 |
97 | ## License
98 |
99 | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
100 |
--------------------------------------------------------------------------------
/packages/numericTextBox/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-numerictextbox",
3 | "version": "1.0.2",
4 | "description": "The Kendo UI for jQuery MaskedTextBox widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/numericTextBox"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo-ui-core": "^2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.11.4",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.13.2"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/panelBar/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/panelBar/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/panelBar/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/panelBar/README.md:
--------------------------------------------------------------------------------
1 | # kendo-ui-react-jquery-panelbar
2 |
3 | The Kendo UI for jQuery PanelBar widget wrapped as a React component.
4 |
5 | ## Install
6 |
7 | ```bash
8 | npm i kendo-ui-react-jquery-panelbar
9 | ```
10 |
11 | ## Usage Example
12 |
13 | ```javascript
14 | import React from 'react';
15 | import ReactDOM from 'react-dom';
16 | import KendoPanelBar from 'kendo-ui-react-jquery-panelbar';
17 |
18 | //Don't forget CSS, webpack used to include CSS
19 | import 'kendo-ui-core/css/web/kendo.common.core.min.css';
20 | import 'kendo-ui-core/css/web/kendo.default.min.css';
21 |
22 | var App = React.createClass({
23 | render: function() {
24 | return (
25 |
26 | -
27 | Item 1
28 |
29 | - Sub Item 1
30 | - Sub Item 2
31 |
32 |
33 | - Item 2
34 |
35 | - Sub Item 1
36 | - Sub Item 2
37 |
38 |
39 |
40 | );
41 | }
42 | });
43 |
44 | ReactDOM.render(, document.getElementById('app'));
45 | ```
46 |
47 | ## React Props
48 |
49 | Every KUI React Wrapper can make use of the following React props:
50 |
51 | * `options`
52 | * `methods`
53 | * `events`
54 | * `unbindEvents`
55 | * `triggerEvents`
56 |
57 | Each is demonstrated below using a `` KUI React wrapper.
58 |
59 | ```javascript
60 |
96 |
97 |
98 | ```
99 |
100 | ## KUI API
101 |
102 | * PanelBar demos: [http://demos.telerik.com/kendo-ui/panelbar/index](http://demos.telerik.com/kendo-ui/panelbar/index)
103 | * PanelBar docs: [http://docs.telerik.com/kendo-ui/controls/navigation/panelbar/overview](http://docs.telerik.com/kendo-ui/controls/navigation/panelbar/overview)
104 | * PanelBar API: [http://docs.telerik.com/kendo-ui/api/javascript/ui/panelbar](http://docs.telerik.com/kendo-ui/api/javascript/ui/panelbar)
105 |
106 | ## License
107 |
108 | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
109 |
--------------------------------------------------------------------------------
/packages/panelBar/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-panelbar",
3 | "version": "1.0.2",
4 | "description": "The Kendo UI for jQuery PanelBar widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/panelBar"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo-ui-core": "^2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.14.0",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.14.0"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/pivotGrid/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/pivotGrid/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/pivotGrid/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/pivotGrid/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-pivotgrid",
3 | "version": "1.0.5",
4 | "description": "The Kendo UI for jQuery PivotGrid widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/pivotgrid"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo": "git+https://bower.telerik.com/npm-kendo-ui.git#2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.11.4",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.13.2"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/progressBar/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/progressBar/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/progressBar/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/progressBar/README.md:
--------------------------------------------------------------------------------
1 | # kendo-ui-react-jquery-progressbar
2 |
3 | The Kendo UI for jQuery ProgressBar widget wrapped as a React component.
4 |
5 | ## Install
6 |
7 | ```bash
8 | npm i kendo-ui-react-jquery-progressbar
9 | ```
10 |
11 | ## Usage Example
12 |
13 | ```javascript
14 | import React from 'react';
15 | import ReactDOM from 'react-dom';
16 | import KendoProgressBar from 'kendo-ui-react-jquery-progressbar';
17 |
18 | //Don't forget CSS, webpack used to include CSS
19 | import 'kendo-ui-core/css/web/kendo.common.core.min.css';
20 | import 'kendo-ui-core/css/web/kendo.default.min.css';
21 |
22 | var App = React.createClass({
23 | render: function() {
24 | return (
25 |
32 |
33 | );
34 | }
35 | });
36 |
37 | ReactDOM.render(, document.getElementById('app'));
38 | ```
39 |
40 | ## React Props
41 |
42 | Every KUI React Wrapper can make use of the following React props:
43 |
44 | * `options`
45 | * `methods`
46 | * `events`
47 | * `unbindEvents`
48 | * `triggerEvents`
49 |
50 | Each is demonstrated below using a `` KUI React wrapper.
51 |
52 | ```javascript
53 |
89 |
90 |
91 | ```
92 |
93 | ## KUI API
94 |
95 | * ProgressBar demos: [http://demos.telerik.com/kendo-ui/progressbar/index](http://demos.telerik.com/kendo-ui/progressbar/index)
96 | * ProgressBar docs: [http://docs.telerik.com/kendo-ui/controls/interactivity/progressbar/overview](http://docs.telerik.com/kendo-ui/controls/interactivity/progressbar/overview)
97 | * ProgressBar API: [http://docs.telerik.com/kendo-ui/api/javascript/ui/progressbar](http://docs.telerik.com/kendo-ui/api/javascript/ui/progressbar)
98 |
99 | ## License
100 |
101 | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
102 |
--------------------------------------------------------------------------------
/packages/progressBar/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-progressbar",
3 | "version": "1.0.2",
4 | "description": "The Kendo UI for jQuery ProgressBar widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/progressBar"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo-ui-core": "^2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.14.0",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.14.0"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/qrCode/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/qrCode/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/qrCode/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/qrCode/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-qrcode",
3 | "version": "1.0.2",
4 | "description": "The Kendo UI for jQuery QRCode widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/qrCode"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo": "git+https://bower.telerik.com/npm-kendo-ui.git#2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.11.4",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.13.2"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/radialGauge/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/radialGauge/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/radialGauge/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/radialGauge/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-radialgauge",
3 | "version": "1.0.2",
4 | "description": "The Kendo UI for jQuery RadialGauge widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/radialGauge"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo": "git+https://bower.telerik.com/npm-kendo-ui.git#2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.11.4",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.13.2"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/responsivePanel/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/responsivePanel/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/responsivePanel/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/responsivePanel/README.md:
--------------------------------------------------------------------------------
1 | # kendo-ui-react-jquery-responsivepanel
2 |
3 | The Kendo UI for jQuery ResponsivePanel widget wrapped as a React component.
4 |
5 | ## Install
6 |
7 | ```bash
8 | npm i kendo-ui-react-jquery-responsivepanel
9 | ```
10 |
11 | ## Usage Example
12 |
13 | ```javascript
14 | import React from 'react';
15 | import ReactDOM from 'react-dom';
16 | import KendoResponsivePanel from 'kendo-ui-react-jquery-responsivepanel';
17 |
18 | //Don't forget CSS, webpack used to include CSS
19 | import 'kendo-ui-core/css/web/kendo.common.core.min.css';
20 | import 'kendo-ui-core/css/web/kendo.default.min.css';
21 |
22 | var App = React.createClass({
23 | render: function() {
24 | return (
25 | Home
26 | Products
27 | );
28 | }
29 | });
30 |
31 | ReactDOM.render(, document.getElementById('app'));
32 | ```
33 |
34 | ## React Props
35 |
36 | Every KUI React Wrapper can make use of the following React props:
37 |
38 | * `options`
39 | * `methods`
40 | * `events`
41 | * `unbindEvents`
42 | * `triggerEvents`
43 |
44 | Each is demonstrated below using a `` KUI React wrapper.
45 |
46 | ```javascript
47 |
83 |
84 |
85 | ```
86 |
87 | ## KUI API
88 |
89 | * ResponsivePanel demos: [http://demos.telerik.com/kendo-ui/responsivepanel/index](http://demos.telerik.com/kendo-ui/responsivepanel/index)
90 | * ResponsivePanel docs: [http://docs.telerik.com/kendo-ui/controls/layout/responsivepanel/overview](http://docs.telerik.com/kendo-ui/controls/layout/responsivepanel/overview)
91 | * ResponsivePanel API: [http://docs.telerik.com/kendo-ui/api/javascript/ui/responsivepanel](http://docs.telerik.com/kendo-ui/api/javascript/ui/responsivepanel)
92 |
93 | ## License
94 |
95 | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
96 |
--------------------------------------------------------------------------------
/packages/responsivePanel/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-responsivepanel",
3 | "version": "1.0.6",
4 | "description": "The Kendo UI for jQuery ResponsivePanel widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/responsivePanel"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo-ui-core": "^2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.14.0",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.14.0"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/scheduler/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/scheduler/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/scheduler/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/scheduler/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-scheduler",
3 | "version": "1.0.3",
4 | "description": "The Kendo UI for jQuery Scheduler widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/scheduler"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo": "git+https://bower.telerik.com/npm-kendo-ui.git#2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.14.0",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.14.0"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/slider/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/slider/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/slider/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/slider/README.md:
--------------------------------------------------------------------------------
1 | # kendo-ui-react-jquery-slider
2 |
3 | The Kendo UI for jQuery Slider widget wrapped as a React component.
4 |
5 | ## Install
6 |
7 | ```bash
8 | npm i kendo-ui-react-jquery-slider
9 | ```
10 |
11 | ## Usage Example
12 |
13 | ```javascript
14 | import React from 'react';
15 | import ReactDOM from 'react-dom';
16 | import KendoSlider from 'kendo-ui-react-jquery-slider';
17 |
18 | //Don't forget CSS, webpack used to include CSS
19 | import 'kendo-ui-core/css/web/kendo.common.core.min.css';
20 | import 'kendo-ui-core/css/web/kendo.default.min.css';
21 |
22 | var App = React.createClass({
23 | render: function() {
24 | return ();
32 | }
33 | });
34 |
35 | ReactDOM.render(, document.getElementById('app'));
36 | ```
37 |
38 | ## React Props
39 |
40 | Every KUI React Wrapper can make use of the following React props:
41 |
42 | * `options`
43 | * `methods`
44 | * `events`
45 | * `unbindEvents`
46 | * `triggerEvents`
47 |
48 | Each is demonstrated below using a `` KUI React wrapper.
49 |
50 | ```javascript
51 |
87 |
88 |
89 | ```
90 |
91 | ## KUI API
92 |
93 | * Slider demos: [http://demos.telerik.com/kendo-ui/slider/index](http://demos.telerik.com/kendo-ui/slider/index)
94 | * Slider docs: [http://docs.telerik.com/kendo-ui/controls/scheduling/slider/overview](http://docs.telerik.com/kendo-ui/controls/scheduling/slider/overview)
95 | * Slider API: [http://docs.telerik.com/kendo-ui/api/javascript/ui/slider](http://docs.telerik.com/kendo-ui/api/javascript/ui/slider)
96 |
97 | ## License
98 |
99 | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
100 |
--------------------------------------------------------------------------------
/packages/slider/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-slider",
3 | "version": "1.0.2",
4 | "description": "The Kendo UI for jQuery Slider widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/slider"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo-ui-core": "^2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.14.0",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.14.0"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/slider/src/index.js:
--------------------------------------------------------------------------------
1 | // import/require dependencies
2 | import kuiSlider from 'kendo-ui-core/js/kendo.slider.js';
3 | import React from 'react';
4 | import ReactDOM from 'react-dom';
5 | import deepDiff from 'deep-diff';
6 |
7 | // create a React component, that is a wrapper for a Kendo UI widget
8 | const KendoSlider = React.createClass({
9 |
10 | //component is in the DOM, so do stuff to it in this callback
11 | componentDidMount: function() {
12 | //get, child element node for this component
13 | var elementNode = ReactDOM.findDOMNode(this);
14 |
15 | //determine if a selector was passed on which to invoke the KUI widget
16 | if(this.props.selector){
17 | elementNode = elementNode.querySelector(this.props.selector);
18 | }
19 |
20 | //instantiate and save reference to the Kendo UI widget on elementNode
21 | //note I am not using jQuery plugin to instantiate, don't want to wait for namespace on $.fn
22 | this.widgetInstance = new kuiSlider.ui.Slider(elementNode,this.props.options);
23 |
24 | //if props are avaliable for events, triggers, unbind events, or methods make it happen now
25 | this.props.events ? this.bindEventsToKendoWidget(this.props.events) : null;
26 | this.props.methods ? this.callKendoWidgetMethods(this.props.methods) : null;
27 | this.props.triggerEvents ? this.triggerKendoWidgetEvents(this.props.triggerEvents) : null;
28 | },
29 |
30 | //instance methods for updating widget
31 | triggerKendoWidgetEvents:function(events){
32 | events.forEach(function(event){//loop over events, and trigger
33 | this.widgetInstance.trigger(event);
34 | }, this);
35 | },
36 | bindEventsToKendoWidget:function(events){
37 | Object.keys(events).forEach(function(event){//loop over events and bind
38 | this.widgetInstance.bind(event,events[event]);
39 | }, this);
40 | },
41 | unbindEventsToKendoWidget:function(events){
42 | events.forEach(function(event){//loop ove revents and unbind
43 | this.widgetInstance.unbind(event);
44 | }, this);
45 | },
46 | callKendoWidgetMethods:function(methods){
47 | Object.keys(methods).forEach(function(method){//loop over methods and call
48 | this.widgetInstance[method](...methods[method]);
49 | }, this);
50 | },
51 |
52 | //not called on inital render, but whenever parent state changes this is called
53 | componentWillReceiveProps: function(nextProps){
54 | //always update the widget with nextProp changes if avaliable
55 | if(nextProps.events){
56 | this.bindEventsToKendoWidget(nextProps.events);
57 | }
58 |
59 | if(this.widgetInstance.setOptions){
60 | if(nextProps.options){
61 | this.widgetInstance.setOptions(nextProps.options);
62 | }
63 | }
64 |
65 | //try and determine if any of the nextProps have changed, and if so, update the widget
66 | if(nextProps.methods){
67 | if(deepDiff(nextProps.methods,this.props.methods)){
68 | this.callKendoWidgetMethods(nextProps.methods);
69 | }
70 | }
71 |
72 | if(nextProps.unbindEvents){
73 | if(deepDiff(nextProps.unbindEvents,this.props.unbindEvents)){
74 | this.unbindEventsToKendoWidget(nextProps.unbindEvents);
75 | }
76 | }
77 |
78 | if(nextProps.triggerEvents){
79 | if(deepDiff(nextProps.triggerEvents,this.props.triggerEvents)){
80 | this.triggerKendoWidgetEvents(nextProps.triggerEvents);
81 | }
82 | }
83 | },
84 |
85 | //don't run render again, create widget once, then leave it alone
86 | shouldComponentUpdate: function(){return false;},
87 |
88 | //destory it, when the component is unmouted
89 | componentWillUnmount: function() {
90 | this.widgetInstance.destroy();
91 | },
92 |
93 | //use the passed in React nodes or a plain if no React child nodes are defined
94 | render: function() {
95 | return this.props.children ? this.props.children :
;
96 | }
97 | });
98 |
99 | //export the wrapped component
100 | export default KendoSlider;
101 |
--------------------------------------------------------------------------------
/packages/sortable/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/sortable/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/sortable/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/sortable/README.md:
--------------------------------------------------------------------------------
1 | # kendo-ui-react-jquery-sortable
2 |
3 | The Kendo UI for jQuery Sortable widget wrapped as a React component.
4 |
5 | ## Install
6 |
7 | ```bash
8 | npm i kendo-ui-react-jquery-sortable
9 | ```
10 |
11 | ## Usage Example
12 |
13 | ```javascript
14 | import React from 'react';
15 | import ReactDOM from 'react-dom';
16 | import KendoSortable from 'kendo-ui-react-jquery-sortable';
17 |
18 | //Don't forget CSS, webpack used to include CSS
19 | import 'kendo-ui-core/css/web/kendo.common.core.min.css';
20 | import 'kendo-ui-core/css/web/kendo.default.min.css';
21 |
22 | var App = React.createClass({
23 | render: function() {
24 | return (
25 |
26 | Drag and Drop buttons in order you want:
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 | );
35 | }
36 | });
37 |
38 | ReactDOM.render(
, document.getElementById('app'));
39 | ```
40 |
41 | ## React Props
42 |
43 | Every KUI React Wrapper can make use of the following React props:
44 |
45 | * `options`
46 | * `methods`
47 | * `events`
48 | * `unbindEvents`
49 | * `triggerEvents`
50 |
51 | Each is demonstrated below using a `
` KUI React wrapper.
52 |
53 | ```javascript
54 |
90 |
91 |
92 | ```
93 |
94 | ## KUI API
95 |
96 | * Sortable demos: [http://demos.telerik.com/kendo-ui/sortable/index](http://demos.telerik.com/kendo-ui/sortable/index)
97 | * Sortable docs: [http://docs.telerik.com/kendo-ui/controls/interactivity/sortable/overview](http://docs.telerik.com/kendo-ui/controls/interactivity/sortable/overview)
98 | * Sortable API: [http://docs.telerik.com/kendo-ui/api/javascript/ui/sortable](http://docs.telerik.com/kendo-ui/api/javascript/ui/sortable)
99 |
100 | ## License
101 |
102 | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
103 |
--------------------------------------------------------------------------------
/packages/sortable/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-sortable",
3 | "version": "1.0.3",
4 | "description": "The Kendo UI for jQuery Sortable widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/sortable"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo-ui-core": "^2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.14.0",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.14.0"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/sparklines/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/sparklines/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/sparklines/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/sparklines/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-sparklines",
3 | "version": "1.0.2",
4 | "description": "The Kendo UI for jQuery Sparklines widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/sparklines"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo": "git+https://bower.telerik.com/npm-kendo-ui.git#2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.11.4",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.13.2"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/splitter/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/splitter/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/splitter/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/splitter/README.md:
--------------------------------------------------------------------------------
1 | # kendo-ui-react-jquery-splitter
2 |
3 | The Kendo UI for jQuery Splitter widget wrapped as a React component.
4 |
5 | ## Install
6 |
7 | ```bash
8 | npm i kendo-ui-react-jquery-splitter
9 | ```
10 |
11 | ## Usage Example
12 |
13 | ```javascript
14 | import React from 'react';
15 | import ReactDOM from 'react-dom';
16 | import KendoSplitter from 'kendo-ui-react-jquery-splitter';
17 |
18 | //Don't forget CSS, webpack used to include CSS
19 | import 'kendo-ui-core/css/web/kendo.common.core.min.css';
20 | import 'kendo-ui-core/css/web/kendo.default.min.css';
21 |
22 | var App = React.createClass({
23 | render: function() {
24 | return (
25 |
26 |
Pane A
27 |
Pane B
28 |
29 | );
30 | }
31 | });
32 |
33 | ReactDOM.render(, document.getElementById('app'));
34 | ```
35 |
36 | ## React Props
37 |
38 | Every KUI React Wrapper can make use of the following React props:
39 |
40 | * `options`
41 | * `methods`
42 | * `events`
43 | * `unbindEvents`
44 | * `triggerEvents`
45 |
46 | Each is demonstrated below using a `` KUI React wrapper.
47 |
48 | ```javascript
49 |
85 |
86 |
87 | ```
88 |
89 | ## KUI API
90 |
91 | * Splitter demos: [http://demos.telerik.com/kendo-ui/splitter/index](http://demos.telerik.com/kendo-ui/splitter/index)
92 | * Splitter docs: [http://docs.telerik.com/kendo-ui/controls/layout/splitter/overview](http://docs.telerik.com/kendo-ui/controls/layout/splitter/overview)
93 | * Splitter API: [http://docs.telerik.com/kendo-ui/api/javascript/ui/splitter](http://docs.telerik.com/kendo-ui/api/javascript/ui/splitter)
94 |
95 | ## License
96 |
97 | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
98 |
--------------------------------------------------------------------------------
/packages/splitter/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-splitter",
3 | "version": "1.0.2",
4 | "description": "The Kendo UI for jQuery Splitter widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/splitter"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo-ui-core": "^2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.14.0",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.14.0"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/spreadsheet/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/spreadsheet/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/spreadsheet/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/spreadsheet/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-spreadsheet",
3 | "version": "1.0.5",
4 | "description": "The Kendo UI for jQuery Spreadsheet widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/spreadsheet"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo": "git+https://bower.telerik.com/npm-kendo-ui.git#2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.11.4",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.13.2"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/stockChart/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/stockChart/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/stockChart/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/stockChart/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-stockchart",
3 | "version": "1.0.4",
4 | "description": "The Kendo UI for jQuery TreeMap widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/stockChart"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo": "git+https://bower.telerik.com/npm-kendo-ui.git#2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.11.4",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.13.2"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/tabStrip/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/tabStrip/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/tabStrip/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/tabStrip/README.md:
--------------------------------------------------------------------------------
1 | # kendo-ui-react-jquery-tabstrip
2 |
3 | The Kendo UI for jQuery TabStrip widget wrapped as a React component.
4 |
5 | ## Install
6 |
7 | ```bash
8 | npm i kendo-ui-react-jquery-tabstrip
9 | ```
10 |
11 | ## Usage Example
12 |
13 | ```javascript
14 | import React from 'react';
15 | import ReactDOM from 'react-dom';
16 | import KendoTabStrip from 'kendo-ui-react-jquery-tabstrip';
17 |
18 | //Don't forget CSS, webpack used to include CSS
19 | import 'kendo-ui-core/css/web/kendo.common.core.min.css';
20 | import 'kendo-ui-core/css/web/kendo.default.min.css';
21 |
22 | var App = React.createClass({
23 | render: function() {
24 | return (
25 |
26 |
27 | - First tab
28 | - Second tab
29 |
30 | First tab content
31 | Second tab content
32 |
33 | );
34 | }
35 | });
36 |
37 | ReactDOM.render(, document.getElementById('app'));
38 | ```
39 |
40 | ## React Props
41 |
42 | Every KUI React Wrapper can make use of the following React props:
43 |
44 | * `options`
45 | * `methods`
46 | * `events`
47 | * `unbindEvents`
48 | * `triggerEvents`
49 |
50 | Each is demonstrated below using a `` KUI React wrapper.
51 |
52 | ```javascript
53 |
89 |
90 |
91 | ```
92 |
93 | ## KUI API
94 |
95 | * TabStrip demos: [http://demos.telerik.com/kendo-ui/tabstrip/index](http://demos.telerik.com/kendo-ui/tabstrip/index)
96 | * TabStrip docs: [http://docs.telerik.com/kendo-ui/controls/navigation/tabstrip/overview](http://docs.telerik.com/kendo-ui/controls/navigation/tabstrip/overview)
97 | * TabStrip API: [http://docs.telerik.com/kendo-ui/api/javascript/ui/tabstrip](http://docs.telerik.com/kendo-ui/api/javascript/ui/tabstrip)
98 |
99 | ## License
100 |
101 | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
102 |
--------------------------------------------------------------------------------
/packages/tabStrip/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-tabstrip",
3 | "version": "1.0.3",
4 | "description": "The Kendo UI for jQuery TabStrip widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/tabStrip"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo-ui-core": "^2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.14.0",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.14.0"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/timePicker/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/timePicker/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/timePicker/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/timePicker/README.md:
--------------------------------------------------------------------------------
1 | # kendo-ui-react-jquery-timepicker
2 |
3 | The Kendo UI for jQuery TimePicker widget wrapped as a React component.
4 |
5 | ## Install
6 |
7 | ```bash
8 | npm i kendo-ui-react-jquery-timepicker
9 | ```
10 |
11 | ## Usage Example
12 |
13 | ```javascript
14 | import React from 'react';
15 | import ReactDOM from 'react-dom';
16 | import KendoTimePicker from 'kendo-ui-react-jquery-timepicker';
17 |
18 | //Don't forget CSS, webpack used to include CSS
19 | import 'kendo-ui-core/css/web/kendo.common.core.min.css';
20 | import 'kendo-ui-core/css/web/kendo.default.min.css';
21 |
22 | var App = React.createClass({
23 | render: function() {
24 | return (
25 |
26 |
27 |
28 | );
29 | }
30 | });
31 |
32 | ReactDOM.render(, document.getElementById('app'));
33 | ```
34 |
35 | ## React Props
36 |
37 | Every KUI React Wrapper can make use of the following React props:
38 |
39 | * `options`
40 | * `methods`
41 | * `events`
42 | * `unbindEvents`
43 | * `triggerEvents`
44 |
45 | Each is demonstrated below using a `` KUI React wrapper.
46 |
47 | ```javascript
48 |
84 |
85 |
86 | ```
87 |
88 | ## KUI API
89 |
90 | * TimePicker demos: [http://demos.telerik.com/kendo-ui/timepicker/index](http://demos.telerik.com/kendo-ui/timepicker/index)
91 | * TimePicker docs: [http://docs.telerik.com/kendo-ui/controls/editors/timepicker/overview](http://docs.telerik.com/kendo-ui/controls/editors/timepicker/overview)
92 | * TimePicker API: [http://docs.telerik.com/kendo-ui/api/javascript/ui/timepicker](http://docs.telerik.com/kendo-ui/api/javascript/ui/timepicker)
93 |
94 | ## License
95 |
96 | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
97 |
--------------------------------------------------------------------------------
/packages/timePicker/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-timepicker",
3 | "version": "1.0.2",
4 | "description": "The Kendo UI for jQuery TimePicker widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/comboBox"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo-ui-core": "^2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.11.4",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.13.2"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/toolBar/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/toolBar/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/toolBar/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/toolBar/README.md:
--------------------------------------------------------------------------------
1 | # kendo-ui-react-jquery-toolbar
2 |
3 | The Kendo UI for jQuery ToolBar widget wrapped as a React component.
4 |
5 | ## Install
6 |
7 | ```bash
8 | npm i kendo-ui-react-jquery-toolbar
9 | ```
10 |
11 | ## Usage Example
12 |
13 | ```javascript
14 | import React from 'react';
15 | import ReactDOM from 'react-dom';
16 | import KendoToolBar from 'kendo-ui-react-jquery-toolbar';
17 |
18 | //Don't forget CSS, webpack used to include CSS
19 | import 'kendo-ui-core/css/web/kendo.common.core.min.css';
20 | import 'kendo-ui-core/css/web/kendo.default.min.css';
21 |
22 | var App = React.createClass({
23 | render: function() {
24 | return (
25 |
50 |
51 | );
52 | }
53 | });
54 |
55 | ReactDOM.render(, document.getElementById('app'));
56 | ```
57 |
58 | ## React Props
59 |
60 | Every KUI React Wrapper can make use of the following React props:
61 |
62 | * `options`
63 | * `methods`
64 | * `events`
65 | * `unbindEvents`
66 | * `triggerEvents`
67 |
68 | Each is demonstrated below using a `` KUI React wrapper.
69 |
70 | ```javascript
71 |
107 |
108 |
109 | ```
110 |
111 | ## KUI API
112 |
113 | * ToolBar demos: [http://demos.telerik.com/kendo-ui/toolbar/index](http://demos.telerik.com/kendo-ui/toolbar/index)
114 | * ToolBar docs: [http://docs.telerik.com/kendo-ui/controls/navigation/toolbar/overview](http://docs.telerik.com/kendo-ui/controls/navigation/toolbar/overview)
115 | * ToolBar API: [http://docs.telerik.com/kendo-ui/api/javascript/ui/toolbar](http://docs.telerik.com/kendo-ui/api/javascript/ui/toolbar)
116 |
117 | ## License
118 |
119 | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
120 |
--------------------------------------------------------------------------------
/packages/toolBar/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-toolbar",
3 | "version": "1.0.2",
4 | "description": "The Kendo UI for jQuery ToolBar widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/toolBar"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo-ui-core": "^2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.14.0",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.14.0"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/tooltip/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/tooltip/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/tooltip/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/tooltip/README.md:
--------------------------------------------------------------------------------
1 | # kendo-ui-react-jquery-tooltip
2 |
3 | The Kendo UI for jQuery Tooltip widget wrapped as a React component.
4 |
5 | ## Install
6 |
7 | ```bash
8 | npm i kendo-ui-react-jquery-tooltip
9 | ```
10 |
11 | ## Usage Example
12 |
13 | ```javascript
14 | import React from 'react';
15 | import ReactDOM from 'react-dom';
16 | import KendoTooltip from 'kendo-ui-react-jquery-tooltip';
17 |
18 | //Don't forget CSS, webpack used to include CSS
19 | import 'kendo-ui-core/css/web/kendo.common.core.min.css';
20 | import 'kendo-ui-core/css/web/kendo.default.min.css';
21 |
22 | var App = React.createClass({
23 | render: function() {
24 | return (
25 | Mouse over me to see tooltip!
26 | );
27 | }
28 | });
29 |
30 | ReactDOM.render(, document.getElementById('app'));
31 | ```
32 |
33 | ## React Props
34 |
35 | Every KUI React Wrapper can make use of the following React props:
36 |
37 | * `options`
38 | * `methods`
39 | * `events`
40 | * `unbindEvents`
41 | * `triggerEvents`
42 |
43 | Each is demonstrated below using a `` KUI React wrapper.
44 |
45 | ```javascript
46 |
82 |
83 |
84 | ```
85 |
86 | ## KUI API
87 |
88 | * Tooltip demos: [http://demos.telerik.com/kendo-ui/tooltip/index](http://demos.telerik.com/kendo-ui/tooltip/index)
89 | * Tooltip docs: [http://docs.telerik.com/kendo-ui/controls/layout/tooltip/overview](http://docs.telerik.com/kendo-ui/controls/layout/tooltip/overview)
90 | * Tooltip API: [http://docs.telerik.com/kendo-ui/api/javascript/ui/tooltip](http://docs.telerik.com/kendo-ui/api/javascript/ui/tooltip)
91 |
92 | ## License
93 |
94 | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
95 |
--------------------------------------------------------------------------------
/packages/tooltip/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-tooltip",
3 | "version": "1.0.3",
4 | "description": "The Kendo UI for jQuery Tooltip widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/tooltip"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo-ui-core": "^2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.14.0",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.14.0"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/treeList/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/treeList/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/treeList/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/treeList/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-treelist",
3 | "version": "1.0.7",
4 | "description": "The Kendo UI for jQuery TreeList widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/treeList"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo": "git+https://bower.telerik.com/npm-kendo-ui.git#2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.11.4",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.13.2"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/treeMap/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/treeMap/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/treeMap/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/treeMap/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-treemap",
3 | "version": "1.0.4",
4 | "description": "The Kendo UI for jQuery TreeMap widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/treeMap"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo": "git+https://bower.telerik.com/npm-kendo-ui.git#2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.11.4",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.13.2"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/treeView/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/treeView/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/treeView/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/treeView/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-treeview",
3 | "version": "1.0.2",
4 | "description": "The Kendo UI for jQuery TreeView widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/treeView"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo": "git+https://bower.telerik.com/npm-kendo-ui.git#2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.11.4",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.13.2"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/upload/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/upload/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/upload/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/upload/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-upload",
3 | "version": "1.0.4",
4 | "description": "The Kendo UI for jQuery Upload widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/upload"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo": "git+https://bower.telerik.com/npm-kendo-ui.git#2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.11.4",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.13.2"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/validator/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/validator/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/validator/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/validator/README.md:
--------------------------------------------------------------------------------
1 | # kendo-ui-react-jquery-validator
2 |
3 | The Kendo UI for jQuery Validator widget wrapped as a React component.
4 |
5 | ## Install
6 |
7 | ```bash
8 | npm i kendo-ui-react-jquery-validator
9 | ```
10 |
11 | ## Usage Example
12 |
13 | ```javascript
14 | import React from 'react';
15 | import ReactDOM from 'react-dom';
16 | import KendoValidator from 'kendo-ui-react-jquery-validator';
17 |
18 | //Don't forget CSS, webpack used to include CSS
19 | import 'kendo-ui-core/css/web/kendo.common.core.min.css';
20 | import 'kendo-ui-core/css/web/kendo.default.min.css';
21 |
22 | var App = React.createClass({
23 | render: function() {
24 | return (
25 |
30 | );
31 | }
32 | });
33 |
34 | ReactDOM.render(, document.getElementById('app'));
35 | ```
36 |
37 | ## React Props
38 |
39 | Every KUI React Wrapper can make use of the following React props:
40 |
41 | * `options`
42 | * `methods`
43 | * `events`
44 | * `unbindEvents`
45 | * `triggerEvents`
46 |
47 | Each is demonstrated below using a `` KUI React wrapper.
48 |
49 | ```javascript
50 |
86 |
87 |
88 | ```
89 |
90 | ## KUI API
91 |
92 | * Validator demos: [http://demos.telerik.com/kendo-ui/validator/index](http://demos.telerik.com/kendo-ui/validator/index)
93 | * Validator docs: [http://docs.telerik.com/kendo-ui/controls/scheduling/validator/overview](http://docs.telerik.com/kendo-ui/controls/scheduling/validator/overview)
94 | * Validator API: [http://docs.telerik.com/kendo-ui/api/javascript/ui/validator](http://docs.telerik.com/kendo-ui/api/javascript/ui/validator)
95 |
96 | ## License
97 |
98 | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
99 |
--------------------------------------------------------------------------------
/packages/validator/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-validator",
3 | "version": "1.0.2",
4 | "description": "The Kendo UI for jQuery Validator widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/validator"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo-ui-core": "^2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.14.0",
32 | "babel-preset-airbnb": "^2.1.0",
33 | "babel-preset-es2015": "^6.14.0"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/packages/window/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["airbnb"]
3 | }
--------------------------------------------------------------------------------
/packages/window/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | *.DS_Store
4 |
--------------------------------------------------------------------------------
/packages/window/.npmignore:
--------------------------------------------------------------------------------
1 | src
2 |
--------------------------------------------------------------------------------
/packages/window/README.md:
--------------------------------------------------------------------------------
1 | # kendo-ui-react-jquery-window
2 |
3 | The Kendo UI for jQuery Window widget wrapped as a React component.
4 |
5 | ## Install
6 |
7 | ```bash
8 | npm i kendo-ui-react-jquery-window
9 | ```
10 |
11 | ## Usage Example
12 |
13 | ```javascript
14 | import React from 'react';
15 | import ReactDOM from 'react-dom';
16 | import KendoWindow from 'kendo-ui-react-jquery-window';
17 |
18 | //Don't forget CSS, webpack used to include CSS
19 | import 'kendo-ui-core/css/web/kendo.common.core.min.css';
20 | import 'kendo-ui-core/css/web/kendo.default.min.css';
21 |
22 | var App = React.createClass({
23 | render: function() {
24 | return (Window content);
25 | }
26 | });
27 |
28 | ReactDOM.render(, document.getElementById('app'));
29 | ```
30 |
31 | ## React Props
32 |
33 | Every KUI React Wrapper can make use of the following React props:
34 |
35 | * `options`
36 | * `methods`
37 | * `events`
38 | * `unbindEvents`
39 | * `triggerEvents`
40 |
41 | Each is demonstrated below using a `` KUI React wrapper.
42 |
43 | ```javascript
44 |
80 |
81 |
82 | ```
83 |
84 | ## KUI API
85 |
86 | * Window demos: [http://demos.telerik.com/kendo-ui/window/index](http://demos.telerik.com/kendo-ui/window/index)
87 | * Window docs: [http://docs.telerik.com/kendo-ui/controls/layout/window/overview](http://docs.telerik.com/kendo-ui/controls/layout/window/overview)
88 | * Window API: [http://docs.telerik.com/kendo-ui/api/javascript/ui/window](http://docs.telerik.com/kendo-ui/api/javascript/ui/window)
89 |
90 | ## License
91 |
92 | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
93 |
--------------------------------------------------------------------------------
/packages/window/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "kendo-ui-react-jquery-window",
3 | "version": "1.0.3",
4 | "description": "The Kendo UI for jQuery Window widget wrapped as a React component.",
5 | "main": "./dist/index.js",
6 | "scripts": {
7 | "build": "babel src --presets babel-preset-es2015 --out-dir dist",
8 | "prepublish": "npm run build"
9 | },
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/codylindley/k-ui-react-jquery-wrappers/tree/master/packages/window"
13 | },
14 | "keywords": [
15 | "Kendo",
16 | "UI",
17 | "jQuery",
18 | "React",
19 | "Widgets",
20 | "Components"
21 | ],
22 | "author": "cody lindley (http://www.codylindley.com)",
23 | "license": "Apache-2.0",
24 | "dependencies": {
25 | "deep-diff": "^0.3.4",
26 | "kendo-ui-core": "^2016.3.914",
27 | "react": "^15.3.2",
28 | "react-dom": "^15.3.2"
29 | },
30 | "devDependencies": {
31 | "babel-cli": "^6.14.0",
32 | "babel-preset-es2015": "^6.14.0",
33 | "babel-preset-airbnb": "^2.1.0"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------