@ixo/editor 2.17.0 → 2.19.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/{chunk-KWCTPDGD.mjs → chunk-HJL3K6NS.mjs} +1036 -897
- package/dist/chunk-HJL3K6NS.mjs.map +1 -0
- package/dist/{graphql-client-CcYJP87w.d.ts → graphql-client-DAeBZWtu.d.ts} +0 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/mantine/index.d.ts +17 -7
- package/dist/mantine/index.mjs +3 -1
- package/package.json +1 -1
- package/dist/chunk-KWCTPDGD.mjs.map +0 -1
|
@@ -3523,9 +3523,6 @@ interface CoverImageProps {
|
|
|
3523
3523
|
coverImageUrl?: string;
|
|
3524
3524
|
logoUrl?: string;
|
|
3525
3525
|
}
|
|
3526
|
-
/**
|
|
3527
|
-
* CoverImage component - Notion-like cover image with logo
|
|
3528
|
-
*/
|
|
3529
3526
|
declare function CoverImage({ coverImageUrl, logoUrl }: CoverImageProps): React.ReactElement | null;
|
|
3530
3527
|
|
|
3531
3528
|
type AuthorizationTabState = {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as FlowNode, a as FlowNodeAuthzExtension, b as FlowNodeRuntimeState, I as IxoEditorType, S as SignedCapability, E as EvaluationStatus, C as Capability, c as CapabilityValidationResult } from './graphql-client-
|
|
2
|
-
export { a3 as Addr, J as ApiRequestBlockProps, t as ApiRequestBlockSpec, A as AuthorizationTab, i as AuthorizationTabState, U as AuthzExecActionTypes, Y as BlockRequirements, X as BlocknoteContextValue, W as BlocknoteHandlers, N as BlocknoteProvider, x as CheckboxBlockProps, s as CheckboxBlockSpec, aa as CosmosMsgForEmpty, g as CoverImage, h as CoverImageProps, D as DelegationGrant, ad as Entity, ae as EntityResponse, l as EntitySigningSetup, af as EntityVariables, j as EvaluationTab, k as EvaluationTabState, a6 as Expiration, m as FlowPermissionsPanel, G as GrantPermissionModal, ag as GraphQLClient, aj as GraphQLRequest, ai as GraphQLResponse, K as HttpMethod, r as IxoCollaborativeEditorOptions, q as IxoCollaborativeUser, e as IxoEditor, p as IxoEditorConfig, n as IxoEditorOptions, f as IxoEditorProps, o as IxoEditorTheme, M as KeyValuePair, z as ListBlockProps, y as ListBlockSettings, L as ListBlockSpec, O as OverviewBlock, B as OverviewBlockProps, ab as ProposalAction, H as ProposalBlockProps, P as ProposalBlockSpec, Z as ProposalResponse, _ as SingleChoiceProposal, T as StakeType, T as StakeTypeValue, a7 as Status, a8 as Threshold, a5 as Timestamp, a4 as Uint128, a2 as User, V as ValidatorActionType, a1 as Vote, a0 as VoteInfo, $ as VoteResponse, a9 as Votes, v as blockSpecs, ac as getEntity, w as getExtraSlashMenuItems, ah as ixoGraphQLClient, Q as useBlocknoteContext, R as useBlocknoteHandlers, d as useCreateCollaborativeIxoEditor, u as useCreateIxoEditor } from './graphql-client-
|
|
1
|
+
import { F as FlowNode, a as FlowNodeAuthzExtension, b as FlowNodeRuntimeState, I as IxoEditorType, S as SignedCapability, E as EvaluationStatus, C as Capability, c as CapabilityValidationResult } from './graphql-client-DAeBZWtu.mjs';
|
|
2
|
+
export { a3 as Addr, J as ApiRequestBlockProps, t as ApiRequestBlockSpec, A as AuthorizationTab, i as AuthorizationTabState, U as AuthzExecActionTypes, Y as BlockRequirements, X as BlocknoteContextValue, W as BlocknoteHandlers, N as BlocknoteProvider, x as CheckboxBlockProps, s as CheckboxBlockSpec, aa as CosmosMsgForEmpty, g as CoverImage, h as CoverImageProps, D as DelegationGrant, ad as Entity, ae as EntityResponse, l as EntitySigningSetup, af as EntityVariables, j as EvaluationTab, k as EvaluationTabState, a6 as Expiration, m as FlowPermissionsPanel, G as GrantPermissionModal, ag as GraphQLClient, aj as GraphQLRequest, ai as GraphQLResponse, K as HttpMethod, r as IxoCollaborativeEditorOptions, q as IxoCollaborativeUser, e as IxoEditor, p as IxoEditorConfig, n as IxoEditorOptions, f as IxoEditorProps, o as IxoEditorTheme, M as KeyValuePair, z as ListBlockProps, y as ListBlockSettings, L as ListBlockSpec, O as OverviewBlock, B as OverviewBlockProps, ab as ProposalAction, H as ProposalBlockProps, P as ProposalBlockSpec, Z as ProposalResponse, _ as SingleChoiceProposal, T as StakeType, T as StakeTypeValue, a7 as Status, a8 as Threshold, a5 as Timestamp, a4 as Uint128, a2 as User, V as ValidatorActionType, a1 as Vote, a0 as VoteInfo, $ as VoteResponse, a9 as Votes, v as blockSpecs, ac as getEntity, w as getExtraSlashMenuItems, ah as ixoGraphQLClient, Q as useBlocknoteContext, R as useBlocknoteHandlers, d as useCreateCollaborativeIxoEditor, u as useCreateIxoEditor } from './graphql-client-DAeBZWtu.mjs';
|
|
3
3
|
import { Map } from 'yjs';
|
|
4
4
|
export { Block, BlockNoteEditor, BlockNoteSchema, DefaultBlockSchema, DefaultInlineContentSchema, DefaultStyleSchema, PartialBlock } from '@blocknote/core';
|
|
5
5
|
import 'react';
|
package/dist/index.mjs
CHANGED
package/dist/mantine/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ak as IxoBlockProps } from '../graphql-client-
|
|
2
|
-
export { a3 as Addr, J as ApiRequestBlockProps, t as ApiRequestBlockSpec, A as AuthorizationTab, i as AuthorizationTabState, U as AuthzExecActionTypes, Y as BlockRequirements, X as BlocknoteContextValue, W as BlocknoteHandlers, N as BlocknoteProvider, x as CheckboxBlockProps, s as CheckboxBlockSpec, aa as CosmosMsgForEmpty, g as CoverImage, h as CoverImageProps, av as DomainCardData, au as DomainCardRenderer, am as DropPosition, ar as DynamicListData, as as DynamicListDataProvider, at as DynamicListPanelRenderer, ad as Entity, ae as EntityResponse, l as EntitySigningSetup, af as EntityVariables, j as EvaluationTab, k as EvaluationTabState, a6 as Expiration, al as ExternalDropZone, m as FlowPermissionsPanel, G as GrantPermissionModal, ag as GraphQLClient, aj as GraphQLRequest, ai as GraphQLResponse, K as HttpMethod, r as IxoCollaborativeEditorOptions, q as IxoCollaborativeUser, e as IxoEditor, p as IxoEditorConfig, n as IxoEditorOptions, f as IxoEditorProps, o as IxoEditorTheme, I as IxoEditorType, M as KeyValuePair, z as ListBlockProps, y as ListBlockSettings, L as ListBlockSpec, O as OverviewBlock, B as OverviewBlockProps, an as PageHeader, ap as PageHeaderMenuItem, ao as PageHeaderProps, ab as ProposalAction, H as ProposalBlockProps, P as ProposalBlockSpec, Z as ProposalResponse, _ as SingleChoiceProposal, T as StakeType, T as StakeTypeValue, a7 as Status, a8 as Threshold, a5 as Timestamp, a4 as Uint128, a2 as User, V as ValidatorActionType, aq as VisualizationRenderer, a1 as Vote, a0 as VoteInfo, $ as VoteResponse, a9 as Votes, v as blockSpecs, ac as getEntity, w as getExtraSlashMenuItems, ah as ixoGraphQLClient, Q as useBlocknoteContext, R as useBlocknoteHandlers, d as useCreateCollaborativeIxoEditor, u as useCreateIxoEditor } from '../graphql-client-
|
|
1
|
+
import { ak as IxoBlockProps } from '../graphql-client-DAeBZWtu.mjs';
|
|
2
|
+
export { a3 as Addr, J as ApiRequestBlockProps, t as ApiRequestBlockSpec, A as AuthorizationTab, i as AuthorizationTabState, U as AuthzExecActionTypes, Y as BlockRequirements, X as BlocknoteContextValue, W as BlocknoteHandlers, N as BlocknoteProvider, x as CheckboxBlockProps, s as CheckboxBlockSpec, aa as CosmosMsgForEmpty, g as CoverImage, h as CoverImageProps, av as DomainCardData, au as DomainCardRenderer, am as DropPosition, ar as DynamicListData, as as DynamicListDataProvider, at as DynamicListPanelRenderer, ad as Entity, ae as EntityResponse, l as EntitySigningSetup, af as EntityVariables, j as EvaluationTab, k as EvaluationTabState, a6 as Expiration, al as ExternalDropZone, m as FlowPermissionsPanel, G as GrantPermissionModal, ag as GraphQLClient, aj as GraphQLRequest, ai as GraphQLResponse, K as HttpMethod, r as IxoCollaborativeEditorOptions, q as IxoCollaborativeUser, e as IxoEditor, p as IxoEditorConfig, n as IxoEditorOptions, f as IxoEditorProps, o as IxoEditorTheme, I as IxoEditorType, M as KeyValuePair, z as ListBlockProps, y as ListBlockSettings, L as ListBlockSpec, O as OverviewBlock, B as OverviewBlockProps, an as PageHeader, ap as PageHeaderMenuItem, ao as PageHeaderProps, ab as ProposalAction, H as ProposalBlockProps, P as ProposalBlockSpec, Z as ProposalResponse, _ as SingleChoiceProposal, T as StakeType, T as StakeTypeValue, a7 as Status, a8 as Threshold, a5 as Timestamp, a4 as Uint128, a2 as User, V as ValidatorActionType, aq as VisualizationRenderer, a1 as Vote, a0 as VoteInfo, $ as VoteResponse, a9 as Votes, v as blockSpecs, ac as getEntity, w as getExtraSlashMenuItems, ah as ixoGraphQLClient, Q as useBlocknoteContext, R as useBlocknoteHandlers, d as useCreateCollaborativeIxoEditor, u as useCreateIxoEditor } from '../graphql-client-DAeBZWtu.mjs';
|
|
3
|
+
import React$1, { PropsWithChildren } from 'react';
|
|
3
4
|
import * as zustand from 'zustand';
|
|
4
5
|
import * as _blocknote_core from '@blocknote/core';
|
|
5
6
|
export { Block, BlockNoteEditor, BlockNoteSchema, DefaultBlockSchema, DefaultInlineContentSchema, DefaultStyleSchema, PartialBlock } from '@blocknote/core';
|
|
6
7
|
import 'yjs';
|
|
7
|
-
import 'react';
|
|
8
8
|
import 'matrix-js-sdk';
|
|
9
9
|
|
|
10
10
|
declare const DynamicListBlockSpec: {
|
|
@@ -135,6 +135,15 @@ interface DynamicListPanelConfig {
|
|
|
135
135
|
actions?: DynamicListAction[];
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
+
interface BaseIconPickerProps {
|
|
139
|
+
opened: boolean;
|
|
140
|
+
onClose: () => void;
|
|
141
|
+
onSelectIcon: (iconName: string) => void;
|
|
142
|
+
onUploadClick?: () => void;
|
|
143
|
+
currentIcon?: string;
|
|
144
|
+
}
|
|
145
|
+
declare function BaseIconPicker({ opened, onClose, onSelectIcon, onUploadClick, children, currentIcon }: PropsWithChildren<BaseIconPickerProps>): React$1.JSX.Element;
|
|
146
|
+
|
|
138
147
|
interface PanelState {
|
|
139
148
|
activePanel: string | null;
|
|
140
149
|
registeredPanels: Map<string, React.ReactNode>;
|
|
@@ -155,11 +164,12 @@ type Listener = (event: CollapseEvent) => void;
|
|
|
155
164
|
interface ListBlocksUIContextValue {
|
|
156
165
|
broadcastCollapse: (event: CollapseEvent) => void;
|
|
157
166
|
subscribe: (listener: Listener) => () => void;
|
|
167
|
+
isMaximized: boolean;
|
|
168
|
+
setMaximized: (maximized: boolean) => void;
|
|
169
|
+
toggleMaximized: () => void;
|
|
158
170
|
}
|
|
159
|
-
interface ListBlocksUIState {
|
|
171
|
+
interface ListBlocksUIState extends ListBlocksUIContextValue {
|
|
160
172
|
listeners: Set<Listener>;
|
|
161
|
-
broadcastCollapse: (event: CollapseEvent) => void;
|
|
162
|
-
subscribe: (listener: Listener) => () => void;
|
|
163
173
|
}
|
|
164
174
|
/**
|
|
165
175
|
* Zustand store for managing list blocks UI state (collapse/expand)
|
|
@@ -172,4 +182,4 @@ declare const useListBlocksUIStore: zustand.UseBoundStore<zustand.StoreApi<ListB
|
|
|
172
182
|
*/
|
|
173
183
|
declare const useListBlocksUI: () => ListBlocksUIContextValue;
|
|
174
184
|
|
|
175
|
-
export { type CollapseEvent, type ColumnPosition, type DataSource, type DynamicListAction, type DynamicListBlockProps, DynamicListBlockSpec, type DynamicListColumn, type DynamicListPanelConfig, type ListBlocksUIContextValue, type Listener, useListBlocksUI, useListBlocksUIStore, usePanel, usePanelStore };
|
|
185
|
+
export { BaseIconPicker, type CollapseEvent, type ColumnPosition, type DataSource, type DynamicListAction, type DynamicListBlockProps, DynamicListBlockSpec, type DynamicListColumn, type DynamicListPanelConfig, type ListBlocksUIContextValue, type Listener, useListBlocksUI, useListBlocksUIStore, usePanel, usePanelStore };
|
package/dist/mantine/index.mjs
CHANGED
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
ApiRequestBlockSpec,
|
|
3
3
|
AuthorizationTab,
|
|
4
4
|
AuthzExecActionTypes,
|
|
5
|
+
BaseIconPicker,
|
|
5
6
|
BlocknoteProvider,
|
|
6
7
|
CheckboxBlockSpec,
|
|
7
8
|
CoverImage,
|
|
@@ -31,11 +32,12 @@ import {
|
|
|
31
32
|
useListBlocksUIStore,
|
|
32
33
|
usePanel,
|
|
33
34
|
usePanelStore
|
|
34
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-HJL3K6NS.mjs";
|
|
35
36
|
export {
|
|
36
37
|
ApiRequestBlockSpec,
|
|
37
38
|
AuthorizationTab,
|
|
38
39
|
AuthzExecActionTypes,
|
|
40
|
+
BaseIconPicker,
|
|
39
41
|
BlocknoteProvider,
|
|
40
42
|
CheckboxBlockSpec,
|
|
41
43
|
CoverImage,
|