@dreamerbird/core 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +12 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1757,6 +1757,12 @@ type StudioPanelVisibility = {
|
|
|
1757
1757
|
outline?: boolean;
|
|
1758
1758
|
details?: boolean;
|
|
1759
1759
|
};
|
|
1760
|
+
/** Logo content. Accepts JSX elements created with different React type versions. */
|
|
1761
|
+
type StudioLogo = ReactNode | {
|
|
1762
|
+
readonly type: unknown;
|
|
1763
|
+
readonly props: unknown;
|
|
1764
|
+
readonly key: string | null;
|
|
1765
|
+
};
|
|
1760
1766
|
interface IStudioUI {
|
|
1761
1767
|
/**
|
|
1762
1768
|
* Temporarily hides the studio
|
|
@@ -1775,6 +1781,11 @@ interface IStudioUI {
|
|
|
1775
1781
|
* 宿主嵌入场景可用它去掉左上角的 logo 条;缺省为显示。
|
|
1776
1782
|
*/
|
|
1777
1783
|
setLeftStripHidden(hidden: boolean): void;
|
|
1784
|
+
/**
|
|
1785
|
+
* Replaces the toolbar logo and its built-in menu with host-provided content.
|
|
1786
|
+
* Omit the logo to restore the default. This setting is local to the UI.
|
|
1787
|
+
*/
|
|
1788
|
+
setLogo(logo?: StudioLogo): void;
|
|
1778
1789
|
setPanelVisibility(visibility: StudioPanelVisibility): void;
|
|
1779
1790
|
renderToolset(toolsetId: string, htmlNode: HTMLElement): () => void;
|
|
1780
1791
|
}
|
|
@@ -2705,4 +2716,4 @@ declare const theatre: {
|
|
|
2705
2716
|
init: typeof init;
|
|
2706
2717
|
};
|
|
2707
2718
|
|
|
2708
|
-
export { type $FixMe, type $IntentionalAny, type $____FixmeStudio, type Asset, type BasicKeyframe, type DeepPartialOfSerializableValue, type File$1 as File, type I18nMessages, type I18nVars, type IAttachAudioArgs, type IBasePropType, type IExtension, type IExtensionI18n, type IPlaybackDirection, type IPlaybackRange, type IProject, type IProjectConfig, type IRafDriver, type IRange, type IScrub, type IScrubApi, type ISequence, type ISheet, type ISheetObject, type IStudio, type IStudioBundle, type IStudioI18nAPI, type IStudioInternal, type IStudioUI, type ITransactionAPI, type IWorkspaceButtonConfig, type InitOpts, type Interpolator, type KeyframeId, type KeyframeType, type Laba, type NumberNudgeFn, type ObjectAddressKey, type OnDiskState, type OutlineMenuItem, type OutlineObjectMenuContribution, type PaneClassDefinition, type PaneInstance, type PaneInstanceId, type PathToProp, type PositionInScreenSpace, type ProjectAddress, type ProjectId, type PropAddress, type PropLabel, type PropTypeConfig, type PropTypeConfig_AllSimples, type PropTypeConfig_Boolean, type PropTypeConfig_Compound, type PropTypeConfig_Enum, type PropTypeConfig_File, type PropTypeConfig_Image, type PropTypeConfig_Number, type PropTypeConfig_Rgba, type PropTypeConfig_String, type PropTypeConfig_StringLiteral, type PropsValue, type Rgba, type SequenceAddress, type SequenceMarkerId, type SequenceTrackId, type SerializableMap, type SerializablePrimitive, type SerializableValue, type SheetAddress, type SheetId, type SheetInstanceId, type SheetInstanceOptional, type SheetObjectAction, type SheetObjectActionsConfig, type SheetObjectAddress, type SheetObjectPropTypeConfig, type ShorthandCompoundPropsToInitialValue, type ShorthandCompoundPropsToLonghandCompoundProps, type ShorthandPropToLonghandProp, type StrictRecord, type StudioPanelVisibility, type ToolConfig, type ToolConfigFlyoutMenu, type ToolConfigIcon, type ToolConfigOption, type ToolConfigSwitch, type ToolconfigFlyoutMenuItem, type ToolsetConfig, type UnknownShorthandCompoundProps, type UnknownValidCompoundProps, type VoidFn, type WithoutSheetInstance, __private, createRafDriver, theatre as default, getProject, getStudio, getStudioSync, init, notify, onChange, propTypeSymbol, resolvePropLabel, index_d as types, val };
|
|
2719
|
+
export { type $FixMe, type $IntentionalAny, type $____FixmeStudio, type Asset, type BasicKeyframe, type DeepPartialOfSerializableValue, type File$1 as File, type I18nMessages, type I18nVars, type IAttachAudioArgs, type IBasePropType, type IExtension, type IExtensionI18n, type IPlaybackDirection, type IPlaybackRange, type IProject, type IProjectConfig, type IRafDriver, type IRange, type IScrub, type IScrubApi, type ISequence, type ISheet, type ISheetObject, type IStudio, type IStudioBundle, type IStudioI18nAPI, type IStudioInternal, type IStudioUI, type ITransactionAPI, type IWorkspaceButtonConfig, type InitOpts, type Interpolator, type KeyframeId, type KeyframeType, type Laba, type NumberNudgeFn, type ObjectAddressKey, type OnDiskState, type OutlineMenuItem, type OutlineObjectMenuContribution, type PaneClassDefinition, type PaneInstance, type PaneInstanceId, type PathToProp, type PositionInScreenSpace, type ProjectAddress, type ProjectId, type PropAddress, type PropLabel, type PropTypeConfig, type PropTypeConfig_AllSimples, type PropTypeConfig_Boolean, type PropTypeConfig_Compound, type PropTypeConfig_Enum, type PropTypeConfig_File, type PropTypeConfig_Image, type PropTypeConfig_Number, type PropTypeConfig_Rgba, type PropTypeConfig_String, type PropTypeConfig_StringLiteral, type PropsValue, type Rgba, type SequenceAddress, type SequenceMarkerId, type SequenceTrackId, type SerializableMap, type SerializablePrimitive, type SerializableValue, type SheetAddress, type SheetId, type SheetInstanceId, type SheetInstanceOptional, type SheetObjectAction, type SheetObjectActionsConfig, type SheetObjectAddress, type SheetObjectPropTypeConfig, type ShorthandCompoundPropsToInitialValue, type ShorthandCompoundPropsToLonghandCompoundProps, type ShorthandPropToLonghandProp, type StrictRecord, type StudioLogo, type StudioPanelVisibility, type ToolConfig, type ToolConfigFlyoutMenu, type ToolConfigIcon, type ToolConfigOption, type ToolConfigSwitch, type ToolconfigFlyoutMenuItem, type ToolsetConfig, type UnknownShorthandCompoundProps, type UnknownValidCompoundProps, type VoidFn, type WithoutSheetInstance, __private, createRafDriver, theatre as default, getProject, getStudio, getStudioSync, init, notify, onChange, propTypeSymbol, resolvePropLabel, index_d as types, val };
|
package/dist/index.js
CHANGED