@teleporthq/teleport-uidl-builders
Advanced tools
Comparing version
@@ -10,3 +10,3 @@ import { ComponentUIDL, ReferenceType, UIDLDependency, UIDLNode, UIDLSlotNode, UIDLStyleValue, UIDLRepeatNode, UIDLElementNode, UIDLStaticValue, UIDLAttributeValue, UIDLPropDefinition, UIDLStateDefinition, UIDLConditionalNode, UIDLDynamicReference, UIDLEventDefinitions, UIDLRawValue, UIDLReferencedStyles, UIDLElement } from '@teleporthq/teleport-types'; | ||
export declare const componentDependency: (type: 'library' | 'package' | 'local', path?: string, version?: string, meta?: Record<string, string | boolean>) => UIDLDependency; | ||
export declare const staticNode: (content: string) => UIDLStaticValue; | ||
export declare const staticNode: (content: string | boolean | number) => UIDLStaticValue; | ||
export declare const dynamicNode: (referenceType: ReferenceType, id: string) => UIDLDynamicReference; | ||
@@ -13,0 +13,0 @@ export declare const slotNode: (fallback?: UIDLElementNode | UIDLStaticValue | UIDLDynamicReference, name?: string) => UIDLSlotNode; |
@@ -10,3 +10,3 @@ import { ComponentUIDL, ReferenceType, UIDLDependency, UIDLNode, UIDLSlotNode, UIDLStyleValue, UIDLRepeatNode, UIDLElementNode, UIDLStaticValue, UIDLAttributeValue, UIDLPropDefinition, UIDLStateDefinition, UIDLConditionalNode, UIDLDynamicReference, UIDLEventDefinitions, UIDLRawValue, UIDLReferencedStyles, UIDLElement } from '@teleporthq/teleport-types'; | ||
export declare const componentDependency: (type: 'library' | 'package' | 'local', path?: string, version?: string, meta?: Record<string, string | boolean>) => UIDLDependency; | ||
export declare const staticNode: (content: string) => UIDLStaticValue; | ||
export declare const staticNode: (content: string | boolean | number) => UIDLStaticValue; | ||
export declare const dynamicNode: (referenceType: ReferenceType, id: string) => UIDLDynamicReference; | ||
@@ -13,0 +13,0 @@ export declare const slotNode: (fallback?: UIDLElementNode | UIDLStaticValue | UIDLDynamicReference, name?: string) => UIDLSlotNode; |
{ | ||
"name": "@teleporthq/teleport-uidl-builders", | ||
"version": "0.19.8", | ||
"version": "0.19.17", | ||
"description": "A set of functions used for constructing UIDL structures", | ||
@@ -27,5 +27,5 @@ "author": "teleportHQ", | ||
"dependencies": { | ||
"@teleporthq/teleport-types": "^0.19.8" | ||
"@teleporthq/teleport-types": "^0.19.17" | ||
}, | ||
"gitHead": "3fe5317002da58950a4640a19181a2165fc1b198" | ||
"gitHead": "4af7375f20235273eeabb48ef109cab2a02ddceb" | ||
} |
@@ -116,3 +116,3 @@ import { | ||
export const staticNode = (content: string): UIDLStaticValue => { | ||
export const staticNode = (content: string | boolean | number): UIDLStaticValue => { | ||
return { | ||
@@ -119,0 +119,0 @@ type: 'static', |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
71618
0.09%