@puckeditor/core 0.24.0-canary.bb92b73b → 0.24.0-canary.fcfd4b94
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-A3M7OOIH.mjs → chunk-PI2N6YRG.mjs} +1 -0
- package/dist/index.d.mts +11 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +2 -0
- package/dist/index.mjs +3 -1
- package/dist/no-external.d.mts +1 -1
- package/dist/no-external.d.ts +1 -1
- package/dist/no-external.js +2 -0
- package/dist/no-external.mjs +3 -1
- package/package.json +1 -1
|
@@ -13661,6 +13661,7 @@ export {
|
|
|
13661
13661
|
renderContext,
|
|
13662
13662
|
Render,
|
|
13663
13663
|
registerOverlayPortal,
|
|
13664
|
+
InlineTextField,
|
|
13664
13665
|
DropZone2 as DropZone,
|
|
13665
13666
|
Drawer,
|
|
13666
13667
|
createUsePuck,
|
package/dist/index.d.mts
CHANGED
|
@@ -122,6 +122,16 @@ declare const IconButton: react.ForwardRefExoticComponent<{
|
|
|
122
122
|
suppressHydrationWarning?: boolean;
|
|
123
123
|
} & react.RefAttributes<HTMLButtonElement & HTMLAnchorElement>>;
|
|
124
124
|
|
|
125
|
+
declare const InlineTextField: react.MemoExoticComponent<({ propPath, componentId, value, isReadOnly, opts, }: {
|
|
126
|
+
propPath: string;
|
|
127
|
+
value: string | null | undefined;
|
|
128
|
+
componentId: string;
|
|
129
|
+
isReadOnly: boolean;
|
|
130
|
+
opts?: {
|
|
131
|
+
disableLineBreaks?: boolean;
|
|
132
|
+
};
|
|
133
|
+
}) => react_jsx_runtime.JSX.Element>;
|
|
134
|
+
|
|
125
135
|
type PuckProps<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>> = {
|
|
126
136
|
children?: ReactNode;
|
|
127
137
|
config: UserConfig;
|
|
@@ -326,4 +336,4 @@ declare const legacySideBarPlugin: (props?: {
|
|
|
326
336
|
componentsLabel?: string;
|
|
327
337
|
}) => Plugin;
|
|
328
338
|
|
|
329
|
-
export { Action, ActionBar, AutoField, type BlocksPluginProps, Button, ComponentData, Config, Data, Dictionary, DndConfig, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, type OutlinePluginProps, Overrides, Permissions, Plugin, Puck, PuckAction, type PuckApi, Render, ResolveDataTrigger, RichTextMenu, Separator, UiState, type UsePuckData, UserGenerics, Viewports, blocksPlugin, createUsePuck, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, renderContext, setDeep, useGetPuck, usePuck };
|
|
339
|
+
export { Action, ActionBar, AutoField, type BlocksPluginProps, Button, ComponentData, Config, Data, Dictionary, DndConfig, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, InlineTextField, Label, Metadata, OnAction, type OutlinePluginProps, Overrides, Permissions, Plugin, Puck, PuckAction, type PuckApi, Render, ResolveDataTrigger, RichTextMenu, Separator, UiState, type UsePuckData, UserGenerics, Viewports, blocksPlugin, createUsePuck, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, renderContext, setDeep, useGetPuck, usePuck };
|
package/dist/index.d.ts
CHANGED
|
@@ -122,6 +122,16 @@ declare const IconButton: react.ForwardRefExoticComponent<{
|
|
|
122
122
|
suppressHydrationWarning?: boolean;
|
|
123
123
|
} & react.RefAttributes<HTMLButtonElement & HTMLAnchorElement>>;
|
|
124
124
|
|
|
125
|
+
declare const InlineTextField: react.MemoExoticComponent<({ propPath, componentId, value, isReadOnly, opts, }: {
|
|
126
|
+
propPath: string;
|
|
127
|
+
value: string | null | undefined;
|
|
128
|
+
componentId: string;
|
|
129
|
+
isReadOnly: boolean;
|
|
130
|
+
opts?: {
|
|
131
|
+
disableLineBreaks?: boolean;
|
|
132
|
+
};
|
|
133
|
+
}) => react_jsx_runtime.JSX.Element>;
|
|
134
|
+
|
|
125
135
|
type PuckProps<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>> = {
|
|
126
136
|
children?: ReactNode;
|
|
127
137
|
config: UserConfig;
|
|
@@ -326,4 +336,4 @@ declare const legacySideBarPlugin: (props?: {
|
|
|
326
336
|
componentsLabel?: string;
|
|
327
337
|
}) => Plugin;
|
|
328
338
|
|
|
329
|
-
export { Action, ActionBar, AutoField, type BlocksPluginProps, Button, ComponentData, Config, Data, Dictionary, DndConfig, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, type OutlinePluginProps, Overrides, Permissions, Plugin, Puck, PuckAction, type PuckApi, Render, ResolveDataTrigger, RichTextMenu, Separator, UiState, type UsePuckData, UserGenerics, Viewports, blocksPlugin, createUsePuck, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, renderContext, setDeep, useGetPuck, usePuck };
|
|
339
|
+
export { Action, ActionBar, AutoField, type BlocksPluginProps, Button, ComponentData, Config, Data, Dictionary, DndConfig, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, InlineTextField, Label, Metadata, OnAction, type OutlinePluginProps, Overrides, Permissions, Plugin, Puck, PuckAction, type PuckApi, Render, ResolveDataTrigger, RichTextMenu, Separator, UiState, type UsePuckData, UserGenerics, Viewports, blocksPlugin, createUsePuck, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, renderContext, setDeep, useGetPuck, usePuck };
|
package/dist/index.js
CHANGED
|
@@ -5945,6 +5945,7 @@ __export(index_exports, {
|
|
|
5945
5945
|
FieldLabel: () => FieldLabel,
|
|
5946
5946
|
Group: () => Group,
|
|
5947
5947
|
IconButton: () => IconButton,
|
|
5948
|
+
InlineTextField: () => InlineTextField,
|
|
5948
5949
|
Label: () => Label,
|
|
5949
5950
|
Puck: () => Puck,
|
|
5950
5951
|
Render: () => Render,
|
|
@@ -20183,6 +20184,7 @@ var legacySideBarPlugin = (props = {}) => ({
|
|
|
20183
20184
|
FieldLabel,
|
|
20184
20185
|
Group,
|
|
20185
20186
|
IconButton,
|
|
20187
|
+
InlineTextField,
|
|
20186
20188
|
Label,
|
|
20187
20189
|
Puck,
|
|
20188
20190
|
Render,
|
package/dist/index.mjs
CHANGED
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
Drawer,
|
|
5
5
|
DropZone,
|
|
6
6
|
FieldLabel,
|
|
7
|
+
InlineTextField,
|
|
7
8
|
Puck,
|
|
8
9
|
Render,
|
|
9
10
|
blocksPlugin,
|
|
@@ -17,7 +18,7 @@ import {
|
|
|
17
18
|
setDeep,
|
|
18
19
|
useGetPuck,
|
|
19
20
|
usePuck
|
|
20
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PI2N6YRG.mjs";
|
|
21
22
|
import "./chunk-FVMO3IOJ.mjs";
|
|
22
23
|
import {
|
|
23
24
|
migrate,
|
|
@@ -61,6 +62,7 @@ export {
|
|
|
61
62
|
FieldLabel,
|
|
62
63
|
Group,
|
|
63
64
|
IconButton,
|
|
65
|
+
InlineTextField,
|
|
64
66
|
Label,
|
|
65
67
|
Puck,
|
|
66
68
|
Render,
|
package/dist/no-external.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { A as Adaptor, a as AppState, b as ArrayField, c as ArrayState, d as AsFieldProps, B as BaseData, e as BaseField, C as CacheOpts, f as ComponentConfig, g as ComponentConfigExtensions, h as ComponentConfigParams, i as ComponentData, j as ComponentDataMap, k as ComponentDataOptionalId, l as ComponentMetadata, m as Config, n as ConfigParams, o as Content, p as CustomField, q as CustomFieldRender, D as Data, r as DefaultComponentProps, s as DefaultComponents, t as DefaultRootFieldProps, u as DefaultRootProps, v as DefaultRootRenderProps, w as Direction, x as DndBehavior, y as DndConfig, z as DragAxis, F as ExternalField, G as ExternalFieldWithAdaptor, H as ExtractConfigParams, I as ExtractField, J as Field, K as FieldMetadata, L as FieldProps, M as FieldRenderFunctions, N as FieldTransformFn, O as FieldTransformFnParams, P as FieldTransforms, Q as Fields, R as History, S as IframeConfig, T as InitialHistory, V as ItemWithId, W as MappedItem, X as Metadata, Y as NumberField, Z as ObjectField, _ as OnAction, $ as OverrideKey, a0 as Overrides, a1 as Permissions, a2 as Plugin, a5 as PuckAction, a6 as PuckComponent, a7 as PuckContext, a8 as PuckMetadata, a9 as RadioField, aa as ResolveDataTrigger, ab as RichText, ac as RichtextField, ad as RootConfig, ae as RootData, af as RootDataWithProps, ag as RootDataWithoutProps, ah as SelectField, ai as Slot, aj as SlotComponent, ak as SlotField, al as TextField, am as TextareaField, an as UiState, ao as UserGenerics, ap as Viewport, aq as Viewports, ar as WithChildren, as as WithDefaultRootFieldProps, at as WithId, au as WithPuckProps, av as WithSlotProps, aw as overrideKeys } from './actions-DzP_zhsF.mjs';
|
|
2
2
|
export { D as Dictionary } from './index-poi3aTIz.mjs';
|
|
3
|
-
export { Action, ActionBar, AutoField, BlocksPluginProps, Button, Drawer, DropZone, FieldLabel, Group, IconButton, Label, OutlinePluginProps, Puck, PuckApi, Render, RichTextMenu, Separator, UsePuckData, blocksPlugin, createUsePuck, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, renderContext, setDeep, useGetPuck, usePuck } from './index.mjs';
|
|
3
|
+
export { Action, ActionBar, AutoField, BlocksPluginProps, Button, Drawer, DropZone, FieldLabel, Group, IconButton, InlineTextField, Label, OutlinePluginProps, Puck, PuckApi, Render, RichTextMenu, Separator, UsePuckData, blocksPlugin, createUsePuck, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, renderContext, setDeep, useGetPuck, usePuck } from './index.mjs';
|
|
4
4
|
export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-iWDqHBcM.mjs';
|
|
5
5
|
import 'react';
|
|
6
6
|
import '@tiptap/react';
|
package/dist/no-external.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { A as Adaptor, a as AppState, b as ArrayField, c as ArrayState, d as AsFieldProps, B as BaseData, e as BaseField, C as CacheOpts, f as ComponentConfig, g as ComponentConfigExtensions, h as ComponentConfigParams, i as ComponentData, j as ComponentDataMap, k as ComponentDataOptionalId, l as ComponentMetadata, m as Config, n as ConfigParams, o as Content, p as CustomField, q as CustomFieldRender, D as Data, r as DefaultComponentProps, s as DefaultComponents, t as DefaultRootFieldProps, u as DefaultRootProps, v as DefaultRootRenderProps, w as Direction, x as DndBehavior, y as DndConfig, z as DragAxis, F as ExternalField, G as ExternalFieldWithAdaptor, H as ExtractConfigParams, I as ExtractField, J as Field, K as FieldMetadata, L as FieldProps, M as FieldRenderFunctions, N as FieldTransformFn, O as FieldTransformFnParams, P as FieldTransforms, Q as Fields, R as History, S as IframeConfig, T as InitialHistory, V as ItemWithId, W as MappedItem, X as Metadata, Y as NumberField, Z as ObjectField, _ as OnAction, $ as OverrideKey, a0 as Overrides, a1 as Permissions, a2 as Plugin, a5 as PuckAction, a6 as PuckComponent, a7 as PuckContext, a8 as PuckMetadata, a9 as RadioField, aa as ResolveDataTrigger, ab as RichText, ac as RichtextField, ad as RootConfig, ae as RootData, af as RootDataWithProps, ag as RootDataWithoutProps, ah as SelectField, ai as Slot, aj as SlotComponent, ak as SlotField, al as TextField, am as TextareaField, an as UiState, ao as UserGenerics, ap as Viewport, aq as Viewports, ar as WithChildren, as as WithDefaultRootFieldProps, at as WithId, au as WithPuckProps, av as WithSlotProps, aw as overrideKeys } from './actions-DzP_zhsF.js';
|
|
2
2
|
export { D as Dictionary } from './index-Cv-eVWCd.js';
|
|
3
|
-
export { Action, ActionBar, AutoField, BlocksPluginProps, Button, Drawer, DropZone, FieldLabel, Group, IconButton, Label, OutlinePluginProps, Puck, PuckApi, Render, RichTextMenu, Separator, UsePuckData, blocksPlugin, createUsePuck, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, renderContext, setDeep, useGetPuck, usePuck } from './index.js';
|
|
3
|
+
export { Action, ActionBar, AutoField, BlocksPluginProps, Button, Drawer, DropZone, FieldLabel, Group, IconButton, InlineTextField, Label, OutlinePluginProps, Puck, PuckApi, Render, RichTextMenu, Separator, UsePuckData, blocksPlugin, createUsePuck, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, renderContext, setDeep, useGetPuck, usePuck } from './index.js';
|
|
4
4
|
export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-Bu3IHwm_.js';
|
|
5
5
|
import 'react';
|
|
6
6
|
import '@tiptap/react';
|
package/dist/no-external.js
CHANGED
|
@@ -5945,6 +5945,7 @@ __export(no_external_exports, {
|
|
|
5945
5945
|
FieldLabel: () => FieldLabel,
|
|
5946
5946
|
Group: () => Group,
|
|
5947
5947
|
IconButton: () => IconButton,
|
|
5948
|
+
InlineTextField: () => InlineTextField,
|
|
5948
5949
|
Label: () => Label,
|
|
5949
5950
|
Puck: () => Puck,
|
|
5950
5951
|
Render: () => Render,
|
|
@@ -20183,6 +20184,7 @@ var legacySideBarPlugin = (props = {}) => ({
|
|
|
20183
20184
|
FieldLabel,
|
|
20184
20185
|
Group,
|
|
20185
20186
|
IconButton,
|
|
20187
|
+
InlineTextField,
|
|
20186
20188
|
Label,
|
|
20187
20189
|
Puck,
|
|
20188
20190
|
Render,
|
package/dist/no-external.mjs
CHANGED
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
Drawer,
|
|
5
5
|
DropZone,
|
|
6
6
|
FieldLabel,
|
|
7
|
+
InlineTextField,
|
|
7
8
|
Puck,
|
|
8
9
|
Render,
|
|
9
10
|
blocksPlugin,
|
|
@@ -17,7 +18,7 @@ import {
|
|
|
17
18
|
setDeep,
|
|
18
19
|
useGetPuck,
|
|
19
20
|
usePuck
|
|
20
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PI2N6YRG.mjs";
|
|
21
22
|
import "./chunk-FVMO3IOJ.mjs";
|
|
22
23
|
import {
|
|
23
24
|
migrate,
|
|
@@ -61,6 +62,7 @@ export {
|
|
|
61
62
|
FieldLabel,
|
|
62
63
|
Group,
|
|
63
64
|
IconButton,
|
|
65
|
+
InlineTextField,
|
|
64
66
|
Label,
|
|
65
67
|
Puck,
|
|
66
68
|
Render,
|
package/package.json
CHANGED