@teleporthq/teleport-shared
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -1,2 +0,2 @@ | ||
import { ComponentUIDL, UIDLStateDefinition, UIDLStyleDefinitions, UIDLConditionalNode, UIDLElement, UIDLNode, UIDLAttributeValue, UIDLDynamicReference, UIDLRepeatContent } from '@teleporthq/teleport-types'; | ||
import { ComponentUIDL, UIDLStateDefinition, UIDLStyleDefinitions, UIDLConditionalNode, UIDLElement, UIDLNode, UIDLAttributeValue, UIDLDynamicReference, UIDLRepeatContent, UIDLRepeatMeta } from '@teleporthq/teleport-types'; | ||
/** | ||
@@ -18,5 +18,5 @@ * A couple of different cases which need to be handled | ||
export declare const getComponentPath: (component: ComponentUIDL) => string[]; | ||
export declare const getRepeatIteratorNameAndKey: (meta?: any) => { | ||
iteratorKey: any; | ||
iteratorName: any; | ||
export declare const getRepeatIteratorNameAndKey: (meta?: UIDLRepeatMeta) => { | ||
iteratorKey: string; | ||
iteratorName: string; | ||
}; | ||
@@ -32,6 +32,6 @@ export declare const prefixPlaygroundAssetsURL: (prefix: string, originalString: string) => string; | ||
} | ||
export declare const splitDynamicAndStaticStyles: (style: Record<string, import("@teleporthq/teleport-types/lib/uidl").UIDLStyleValue>) => SplitResponse; | ||
export declare const cleanupNestedStyles: (style: Record<string, import("@teleporthq/teleport-types/lib/uidl").UIDLStyleValue>) => Record<string, import("@teleporthq/teleport-types/lib/uidl").UIDLStyleValue>; | ||
export declare const cleanupDynamicStyles: (style: Record<string, import("@teleporthq/teleport-types/lib/uidl").UIDLStyleValue>) => Record<string, import("@teleporthq/teleport-types/lib/uidl").UIDLStyleValue>; | ||
export declare const transformDynamicStyles: (style: Record<string, import("@teleporthq/teleport-types/lib/uidl").UIDLStyleValue>, transform: (value: UIDLDynamicReference, key?: string) => unknown) => {}; | ||
export declare const splitDynamicAndStaticStyles: (style: Record<string, import("@teleporthq/teleport-types").UIDLStyleValue>) => SplitResponse; | ||
export declare const cleanupNestedStyles: (style: Record<string, import("@teleporthq/teleport-types").UIDLStyleValue>) => Record<string, import("@teleporthq/teleport-types").UIDLStyleValue>; | ||
export declare const cleanupDynamicStyles: (style: Record<string, import("@teleporthq/teleport-types").UIDLStyleValue>) => Record<string, import("@teleporthq/teleport-types").UIDLStyleValue>; | ||
export declare const transformDynamicStyles: (style: Record<string, import("@teleporthq/teleport-types").UIDLStyleValue>, transform: (value: UIDLDynamicReference, key?: string) => unknown) => {}; | ||
/** | ||
@@ -47,5 +47,5 @@ * Transform properties like | ||
export declare const transformStringAssignmentToJson: (declaration: string | number) => UIDLAttributeValue; | ||
export declare const transformStylesAssignmentsToJson: (styleObject: Record<string, unknown>) => Record<string, import("@teleporthq/teleport-types/lib/uidl").UIDLStyleValue>; | ||
export declare const transformStylesAssignmentsToJson: (styleObject: Record<string, unknown>) => Record<string, import("@teleporthq/teleport-types").UIDLStyleValue>; | ||
export declare const transformAttributesAssignmentsToJson: (attributesObject: Record<string, unknown>) => Record<string, UIDLAttributeValue>; | ||
export declare const findFirstElementNode: (node: UIDLNode) => any; | ||
export {}; |
{ | ||
"name": "@teleporthq/teleport-shared", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "A utility belt for the entire teleportHQ ecosystem", | ||
@@ -21,2 +21,3 @@ "author": "teleportHQ", | ||
"scripts": { | ||
"clean": "rimraf lib", | ||
"build": "tsc", | ||
@@ -28,7 +29,7 @@ "build:watch": "tsc -w", | ||
"@babel/types": "^7.3.3", | ||
"@teleporthq/teleport-types": "^0.8.0", | ||
"@teleporthq/teleport-types": "^0.8.1", | ||
"jss": "^9.8.7", | ||
"jss-preset-default": "^4.5.0" | ||
}, | ||
"gitHead": "4b92261575450bb5565a1515ebed95a77273d2a1" | ||
"gitHead": "73055f1b260190a3848f91fd6ce342e17a971369" | ||
} |
137178
58
2944