-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf92e84
commit 665e166
Showing
99 changed files
with
471 additions
and
478 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -288,4 +288,4 @@ class BindingBase extends Events { | |
} | ||
} | ||
|
||
export default BindingBase; | ||
export { BindingBase }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
import Element, { ArrayInputArgs } from './index'; | ||
import BaseComponent from '../Element/component'; | ||
import { ArrayInput as ArrayInputClass, ArrayInputArgs } from './index'; | ||
import { Element } from '../Element/component'; | ||
|
||
/** | ||
* Element that allows editing an array of values. | ||
*/ | ||
class Component extends BaseComponent <ArrayInputArgs, any> { | ||
class ArrayInput extends Element<ArrayInputArgs, any> { | ||
constructor(props: ArrayInputArgs) { | ||
super(props); | ||
this.elementClass = Element; | ||
this.elementClass = ArrayInputClass; | ||
} | ||
|
||
render() { | ||
return super.render(); | ||
} | ||
} | ||
|
||
Component.ctor = Element; | ||
ArrayInput.ctor = ArrayInputClass; | ||
|
||
export default Component; | ||
export { ArrayInput }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
import Element, { BooleanInputArgs } from './index'; | ||
import BaseComponent from '../Element/component'; | ||
import { BooleanInput as BooleanInputClass, BooleanInputArgs } from './index'; | ||
import { Element } from '../Element/component'; | ||
|
||
/** | ||
* A checkbox element. | ||
*/ | ||
class Component extends BaseComponent <BooleanInputArgs, any> { | ||
class BooleanInput extends Element<BooleanInputArgs, any> { | ||
constructor(props: BooleanInputArgs = {}) { | ||
super(props); | ||
this.elementClass = Element; | ||
this.elementClass = BooleanInputClass; | ||
} | ||
|
||
render() { | ||
return super.render(); | ||
} | ||
} | ||
|
||
Component.ctor = Element; | ||
BooleanInput.ctor = BooleanInputClass; | ||
|
||
export default Component; | ||
export { BooleanInput }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
import Element, { CodeArgs } from './index'; | ||
import BaseComponent from '../Element/component'; | ||
import { Code as CodeClass, CodeArgs } from './index'; | ||
import { Element } from '../Element/component'; | ||
|
||
/** | ||
* Represents a code block. | ||
*/ | ||
class Component extends BaseComponent <CodeArgs, any> { | ||
class Code extends Element<CodeArgs, any> { | ||
static defaultProps: CodeArgs; | ||
|
||
constructor(props: CodeArgs) { | ||
super(props); | ||
this.elementClass = Element; | ||
this.elementClass = CodeClass; | ||
} | ||
|
||
render() { | ||
return super.render(); | ||
} | ||
} | ||
|
||
Component.ctor = Element; | ||
Code.ctor = CodeClass; | ||
|
||
export default Component; | ||
export { Code }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.