@candulabs/core
Advanced tools
Comparing version 0.8.0-alpha.19 to 0.8.0-alpha.20
@@ -6,2 +6,10 @@ # Change Log | ||
# 0.8.0-alpha.20 (2021-07-28) | ||
**Note:** Version bump only for package @candulabs/core | ||
# 0.8.0-alpha.19 (2021-07-27) | ||
@@ -8,0 +16,0 @@ |
@@ -0,12 +1,6 @@ | ||
import { CanduContentContextType } from './CanduContentContextType'; | ||
import { CanduProviderContextType } from './CanduProviderContextType'; | ||
import { CanduPortalContextType } from './CanduPortalContextType'; | ||
import { CanduTutorialContextType } from './CanduTutorialContextType'; | ||
import { CanduTutorialDocumentContextType } from './CanduTutorialDocumentContextType'; | ||
import { CanduPreviewContextType } from './CanduPreviewContextType'; | ||
export declare type CanduNodeContextType = { | ||
provider: CanduProviderContextType; | ||
portal?: CanduPortalContextType; | ||
tutorial?: CanduTutorialContextType; | ||
tutorialDocument?: CanduTutorialDocumentContextType; | ||
preview?: CanduPreviewContextType; | ||
content: CanduContentContextType; | ||
}; |
export * from './CanduProviderContextType'; | ||
export * from './CanduTutorialContextType'; | ||
export * from './CanduPortalContextType'; | ||
export * from './CanduTutorialDocumentContextType'; | ||
export * from './CanduNodeContextType'; | ||
export * from './CanduPreviewContextType'; |
import { Eventing } from '@candulabs/eventing'; | ||
import { CanduClientOptions, ClientToken, ContentHashId, PortalSlug, TrackingIdentifiers, UserId, DocumentDefinitionType, Id } from '../models'; | ||
import { Styleguide } from '../preact/types'; | ||
export interface ProviderProps { | ||
@@ -81,2 +82,3 @@ /** The client token associated with the application we want to render */ | ||
slug?: string; | ||
styleguide?: Styleguide; | ||
} |
@@ -7,4 +7,4 @@ import React from 'preact/compat'; | ||
} | ||
export declare const RenderContent: ({ documentDefinition, slug, trackingIdentifiers, }: RenderContentProps) => React.JSX.Element | null; | ||
export declare const RenderContent: ({ documentDefinition, slug, trackingIdentifiers, styleguide, }: RenderContentProps) => React.JSX.Element | null; | ||
export declare const Content: (props: ContentProps) => React.JSX.Element; | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
import { StyleguideClient } from '../types'; | ||
export declare const useStyleguide: () => StyleguideClient; | ||
import { Styleguide, StyleguideClient } from '../types'; | ||
export declare const useStyleguide: (overrideStyleguide?: Styleguide | undefined) => StyleguideClient; |
/// <reference types="lodash" /> | ||
import { CanduNodeContextType } from '../contexts'; | ||
import { StyleguideComponents } from './types'; | ||
export declare const mergeStyleguidesFromContext: ((context: CanduNodeContextType, overrideStyleguide?: Partial<StyleguideComponents> | undefined) => any) & import("lodash").MemoizedFunction; | ||
import { Styleguide } from '../preact/types'; | ||
export declare const mergeStyleguidesFromContext: ((context: CanduNodeContextType) => Styleguide) & import("lodash").MemoizedFunction; |
@@ -12,3 +12,3 @@ { | ||
}, | ||
"version": "0.8.0-alpha.19", | ||
"version": "0.8.0-alpha.20", | ||
"main": "dist/index.js", | ||
@@ -30,3 +30,3 @@ "module": "dist/index.es.js", | ||
"dependencies": { | ||
"@candulabs/eventing": "^0.8.0-alpha.19", | ||
"@candulabs/eventing": "^0.8.0-alpha.20", | ||
"dataloader": "^2.0.0", | ||
@@ -37,3 +37,3 @@ "preact": "10.5.13", | ||
}, | ||
"gitHead": "2235b5ffa130947608e155ef3f54937a48f3cd01" | ||
"gitHead": "c192b6d7a3193db3fe67a59e99dd5810b6688360" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
575817
195
3761