Comparing version 0.1.0 to 0.1.1
@@ -7,2 +7,3 @@ "use strict"; | ||
}; | ||
require("./pollyfills"); | ||
var string_utils_1 = require("./utils/string-utils"); | ||
@@ -9,0 +10,0 @@ var EventDispatcher_1 = require("./EventDispatcher"); |
import { UIElement } from "../UIElement"; | ||
export interface VNode { | ||
type: string | Function; | ||
children?: Array<VNode | string>; | ||
props?: any; | ||
stateManagedProps?: any; | ||
text?: string; | ||
} | ||
export declare function createVNode(ele: string | Function, props?: any, ...args: any[]): VNode; | ||
export declare function createElement(tag: VNode | string, refs?: any, stateManagedProperties?: any, rootElement?: UIElement): UIElement; |
import { State } from "./support_classes/State"; | ||
import { GroupBase } from "./GroupBase"; | ||
import { VNode } from "./utils/dom"; | ||
export declare abstract class ViewBase extends GroupBase { | ||
@@ -4,0 +5,0 @@ private _viewStates; |
export declare var rama: { | ||
createElement: Function; | ||
}; | ||
export * from "./decorators"; | ||
export * from "./View"; | ||
export * from "./Skin"; | ||
export * from "./Group"; | ||
export * from "./Component"; | ||
export * from "./Container"; |
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
var dom_1 = require("./core/utils/dom"); | ||
require("./pollyfills"); | ||
exports.rama = { createElement: dom_1.createVNode }; | ||
__export(require("./decorators")); | ||
__export(require("./View")); | ||
__export(require("./Skin")); | ||
__export(require("./Group")); | ||
__export(require("./Component")); | ||
__export(require("./Container")); |
import { Skin } from "../Skin"; | ||
import { VNode } from "../core/utils/dom"; | ||
export declare class ContainerSkin extends Skin { | ||
render(): VNode; | ||
} |
declare interface VNode | ||
{ | ||
type:string|Function; | ||
children?:Array<VNode|string>; | ||
props?:any; | ||
stateManagedProps?:any; | ||
text?:string; | ||
} | ||
import {VNode} from "../core/utils/dom"; | ||
@@ -11,0 +4,0 @@ declare namespace JSX { |
import { ViewBase } from "./core/ViewBase"; | ||
import { VNode } from "./core/utils/dom"; | ||
export declare abstract class View extends ViewBase { | ||
abstract render(): VNode; | ||
} |
{ | ||
"name": "ramajs", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"author": { | ||
@@ -39,3 +39,3 @@ "name": "" | ||
"licenses": [], | ||
"main": "dist/main.js", | ||
"typings": "./dist/typings/rama.d.ts", | ||
"optionalDependencies": {}, | ||
@@ -42,0 +42,0 @@ "readme": "", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
39225
999