@measured/puck 0.21.0-canary.e9d5c0ea → 0.21.0-canary.ec77dd9f

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.
@@ -11,24 +11,21 @@ import {
11
11
  Label,
12
12
  Puck,
13
13
  Render,
14
- blocksPlugin,
15
14
  createUsePuck,
16
- fieldsPlugin,
17
- outlinePlugin,
18
15
  overrideKeys,
19
16
  registerOverlayPortal,
20
17
  renderContext,
21
18
  setDeep,
22
19
  useGetPuck,
23
20
  usePuck
24
- } from "./chunk-J6I4S2BQ.mjs";
21
+ } from "./chunk-NW2GGRCZ.mjs";
25
22
  import {
26
23
  init_react_import,
27
24
  migrate,
28
25
  resolveAllData,
29
26
  transformProps,
30
27
  walkTree
31
- } from "./chunk-6SIKCDJJ.mjs";
28
+ } from "./chunk-TC25DCTQ.mjs";
32
29
 
33
30
  // bundle/no-external.ts
34
31
  init_react_import();
@@ -45,11 +42,8 @@ export {
45
42
  Label,
46
43
  Puck,
47
44
  Render,
48
- blocksPlugin,
49
45
  createUsePuck,
50
- fieldsPlugin,
51
46
  migrate,
52
- outlinePlugin,
53
47
  overrideKeys,
54
48
  registerOverlayPortal,
55
49
  renderContext,
package/dist/rsc.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as Config, U as UserGenerics, M as Metadata } from './walk-tree-CD9WQheJ.mjs';
3
- export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-CD9WQheJ.mjs';
2
+ import { C as Config, U as UserGenerics, M as Metadata } from './walk-tree-CkSoNBF7.mjs';
3
+ export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-CkSoNBF7.mjs';
4
4
  import 'react';
5
5
 
6
6
  declare function Render<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>>({ config, data, metadata, }: {
package/dist/rsc.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as Config, U as UserGenerics, M as Metadata } from './walk-tree-CD9WQheJ.js';
3
- export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-CD9WQheJ.js';
2
+ import { C as Config, U as UserGenerics, M as Metadata } from './walk-tree-CkSoNBF7.js';
3
+ export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-CkSoNBF7.js';
4
4
  import 'react';
5
5
 
6
6
  declare function Render<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>>({ config, data, metadata, }: {
package/dist/rsc.js CHANGED
@@ -474,7 +474,7 @@ var getChanged = (newItem, oldItem) => {
474
474
  // lib/resolve-component-data.ts
475
475
  var import_fast_equals2 = require("fast-equals");
476
476
  var cache = { lastChange: {} };
477
- var resolveComponentData = (_0, _1, ..._2) => __async(void 0, [_0, _1, ..._2], function* (item, config, metadata = {}, onResolveStart, onResolveEnd, trigger = "replace") {
477
+ var resolveComponentData = (_0, _1, ..._2) => __async(null, [_0, _1, ..._2], function* (item, config, metadata = {}, onResolveStart, onResolveEnd, trigger = "replace") {
478
478
  const configForItem = "type" in item && item.type !== "root" ? config.components[item.type] : config.root;
479
479
  const resolvedItem = __spreadValues({}, item);
480
480
  const shouldRunResolver = (configForItem == null ? void 0 : configForItem.resolveData) && item.props;
@@ -502,11 +502,11 @@ var resolveComponentData = (_0, _1, ..._2) => __async(void 0, [_0, _1, ..._2], f
502
502
  let itemWithResolvedChildren = yield mapFields(
503
503
  resolvedItem,
504
504
  {
505
- slot: (_02) => __async(void 0, [_02], function* ({ value }) {
505
+ slot: (_02) => __async(null, [_02], function* ({ value }) {
506
506
  const content = value;
507
507
  return yield Promise.all(
508
508
  content.map(
509
- (childItem) => __async(void 0, null, function* () {
509
+ (childItem) => __async(null, null, function* () {
510
510
  return (yield resolveComponentData(
511
511
  childItem,
512
512
  config,
@@ -554,7 +554,7 @@ function resolveAllData(_0, _1) {
554
554
  return __async(this, arguments, function* (data, config, metadata = {}, onResolveStart, onResolveEnd) {
555
555
  var _a;
556
556
  const defaultedData = defaultData(data);
557
- const resolveNode = (_node) => __async(this, null, function* () {
557
+ const resolveNode = (_node) => __async(null, null, function* () {
558
558
  const node = toComponent(_node);
559
559
  onResolveStart == null ? void 0 : onResolveStart(node);
560
560
  const resolved = (yield resolveComponentData(
@@ -575,13 +575,13 @@ function resolveAllData(_0, _1) {
575
575
  onResolveEnd == null ? void 0 : onResolveEnd(toComponent(resolvedDeep));
576
576
  return resolvedDeep;
577
577
  });
578
- const processContent = (content) => __async(this, null, function* () {
578
+ const processContent = (content) => __async(null, null, function* () {
579
579
  return Promise.all(content.map(resolveNode));
580
580
  });
581
- const processZones = () => __async(this, null, function* () {
581
+ const processZones = () => __async(null, null, function* () {
582
582
  var _a2;
583
583
  const zones = (_a2 = data.zones) != null ? _a2 : {};
584
- Object.entries(zones).forEach((_02) => __async(this, [_02], function* ([zoneKey, content]) {
584
+ Object.entries(zones).forEach((_02) => __async(null, [_02], function* ([zoneKey, content]) {
585
585
  zones[zoneKey] = yield Promise.all(content.map(resolveNode));
586
586
  }));
587
587
  return zones;
@@ -591,7 +591,7 @@ function resolveAllData(_0, _1) {
591
591
  content: yield processContent(defaultedData.content),
592
592
  zones: yield processZones()
593
593
  };
594
- Object.keys((_a = defaultedData.zones) != null ? _a : {}).forEach((zoneKey) => __async(this, null, function* () {
594
+ Object.keys((_a = defaultedData.zones) != null ? _a : {}).forEach((zoneKey) => __async(null, null, function* () {
595
595
  const content = defaultedData.zones[zoneKey];
596
596
  dynamic.zones[zoneKey] = yield processContent(content);
597
597
  }), {});
@@ -671,8 +671,7 @@ function transformProps(data, propTransforms, config = { components: {} }) {
671
671
  var defaultViewports = [
672
672
  { width: 360, height: "auto", icon: "Smartphone", label: "Small" },
673
673
  { width: 768, height: "auto", icon: "Tablet", label: "Medium" },
674
- { width: 1280, height: "auto", icon: "Monitor", label: "Large" },
675
- { width: "100%", height: "auto", icon: "FullWidth", label: "Full-width" }
674
+ { width: 1280, height: "auto", icon: "Monitor", label: "Large" }
676
675
  ];
677
676
 
678
677
  // store/default-app-state.ts
@@ -694,8 +693,7 @@ var defaultAppState = {
694
693
  options: [],
695
694
  controlsVisible: true
696
695
  },
697
- field: { focus: null },
698
- plugin: { current: null }
696
+ field: { focus: null }
699
697
  },
700
698
  indexes: {
701
699
  nodes: {},
package/dist/rsc.mjs CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  transformProps,
13
13
  useSlots,
14
14
  walkTree
15
- } from "./chunk-6SIKCDJJ.mjs";
15
+ } from "./chunk-TC25DCTQ.mjs";
16
16
 
17
17
  // bundle/rsc.tsx
18
18
  init_react_import();
@@ -118,6 +118,7 @@ interface CustomField<Value extends any> extends BaseField {
118
118
  type: "custom";
119
119
  render: CustomFieldRender<Value>;
120
120
  contentEditable?: boolean;
121
+ key?: string;
121
122
  }
122
123
  interface SlotField extends BaseField {
123
124
  type: "slot";
@@ -331,7 +332,6 @@ interface FieldMetadata extends Metadata {
331
332
  type ItemWithId = {
332
333
  _arrayId: string;
333
334
  _originalIndex: number;
334
- _currentIndex: number;
335
335
  };
336
336
  type ArrayState = {
337
337
  items: ItemWithId[];
@@ -342,7 +342,6 @@ type UiState = {
342
342
  rightSideBarVisible: boolean;
343
343
  leftSideBarWidth?: number | null;
344
344
  rightSideBarWidth?: number | null;
345
- mobilePanelExpanded?: boolean;
346
345
  itemSelector: ItemSelector | null;
347
346
  arrayState: Record<string, ArrayState | undefined>;
348
347
  previewMode: "interactive" | "edit";
@@ -355,7 +354,7 @@ type UiState = {
355
354
  isDragging: boolean;
356
355
  viewports: {
357
356
  current: {
358
- width: number | "100%";
357
+ width: number;
359
358
  height: number | "auto";
360
359
  };
361
360
  controlsVisible: boolean;
@@ -364,9 +363,6 @@ type UiState = {
364
363
  field: {
365
364
  focus?: string | null;
366
365
  };
367
- plugin: {
368
- current: string | null;
369
- };
370
366
  };
371
367
  type AppState<UserData extends Data = Data> = {
372
368
  data: UserData;
@@ -410,14 +406,6 @@ type LeftOrExactRight<Union, Left, Right> = (Left & Union extends Right ? Exact<
410
406
  type AssertHasValue<T, True = T, False = never> = [keyof T] extends [
411
407
  never
412
408
  ] ? False : True;
413
- type RenderFunc<Props extends {
414
- [key: string]: any;
415
- } = {
416
- children: ReactNode;
417
- }> = (props: Props) => ReactElement;
418
- type PluginInternal = Plugin & {
419
- mobileOnly?: boolean;
420
- };
421
409
 
422
410
  type MapFnParams<ThisField = Field> = {
423
411
  value: any;
@@ -441,6 +429,11 @@ G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>, UserField extends
441
429
  [Type in UserField["type"]]: FieldTransformFn<ExtractField<UserField, Type>>;
442
430
  }>;
443
431
 
432
+ type RenderFunc<Props extends {
433
+ [key: string]: any;
434
+ } = {
435
+ children: ReactNode;
436
+ }> = (props: Props) => ReactElement;
444
437
  declare const overrideKeys: readonly ["header", "headerActions", "fields", "fieldLabel", "drawer", "drawerItem", "componentOverlay", "outline", "puck", "preview"];
445
438
  type OverrideKey = (typeof overrideKeys)[number];
446
439
  type OverridesGeneric<Shape extends {
@@ -512,7 +505,7 @@ type DragAxis = "dynamic" | "y" | "x";
512
505
 
513
506
  type iconTypes = "Smartphone" | "Monitor" | "Tablet";
514
507
  type Viewport = {
515
- width: number | "100%";
508
+ width: number;
516
509
  height?: number | "auto";
517
510
  label?: string;
518
511
  icon?: iconTypes | ReactNode;
@@ -532,13 +525,8 @@ type IframeConfig = {
532
525
  };
533
526
  type OnAction<UserData extends Data = Data> = (action: PuckAction, appState: AppState<UserData>, prevAppState: AppState<UserData>) => void;
534
527
  type Plugin<UserConfig extends Config = Config> = {
535
- name?: string;
536
- label?: string;
537
- icon?: ReactNode;
538
- render?: () => ReactElement;
539
528
  overrides?: Partial<Overrides<UserConfig>>;
540
529
  fieldTransforms?: FieldTransforms<UserConfig>;
541
- mobilePanelHeight?: "toggle" | "min-content";
542
530
  };
543
531
  type History<D = any> = {
544
532
  state: D;
@@ -656,4 +644,4 @@ type WalkTreeOptions = {
656
644
  };
657
645
  declare function walkTree<T extends ComponentData | RootData | G["UserData"], UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>>(data: T, config: UserConfig, callbackFn: (data: Content, options: WalkTreeOptions) => Content | null | void): T;
658
646
 
659
- export { type ComponentDataOptionalId as $, type AppState as A, type ItemWithId as B, type Config as C, type DropZoneProps as D, type ArrayState as E, type Fields as F, type SlotComponent as G, type History as H, type IframeConfig as I, type PuckComponent as J, type ComponentConfigExtensions as K, type RootConfig as L, type Metadata as M, type DefaultComponents as N, type Overrides as O, type Permissions as P, type ExtractConfigParams as Q, type RootDataWithProps as R, type Slot as S, type ConfigParams as T, type UserGenerics as U, type Viewports as V, type WithSlotProps as W, type ComponentConfigParams as X, type BaseData as Y, type RootDataWithoutProps as Z, type RootData as _, type ComponentData as a, type MappedItem as a0, type ComponentDataMap as a1, type Content as a2, type PuckMetadata as a3, type ComponentMetadata as a4, type FieldMetadata as a5, type BaseField as a6, type TextField as a7, type NumberField as a8, type TextareaField as a9, type SelectField as aa, type RadioField as ab, type ArrayField as ac, type ObjectField as ad, type Adaptor as ae, type ExternalFieldWithAdaptor as af, type CacheOpts as ag, type ExternalField as ah, type CustomFieldRender as ai, type CustomField as aj, type SlotField as ak, type PuckContext as al, type DefaultRootFieldProps as am, type DefaultRootRenderProps as an, type DefaultRootProps as ao, type DefaultComponentProps as ap, type WithId as aq, type WithPuckProps as ar, type AsFieldProps as as, type WithChildren as at, type ExtractField as au, type PuckAction as b, type ResolveDataTrigger as c, type Plugin as d, type UiState as e, type ComponentConfig as f, type FieldTransforms as g, type Field as h, type FieldProps as i, type Data as j, type OnAction as k, type InitialHistory as l, migrate as m, type ItemSelector as n, type PluginInternal as o, type Direction as p, type DragAxis as q, resolveAllData as r, type Viewport as s, transformProps as t, type FieldTransformFnParams as u, type FieldTransformFn as v, walkTree as w, overrideKeys as x, type OverrideKey as y, type FieldRenderFunctions as z };
647
+ export { type MappedItem as $, type AppState as A, type ArrayState as B, type Config as C, type DropZoneProps as D, type SlotComponent as E, type Fields as F, type PuckComponent as G, type History as H, type IframeConfig as I, type ComponentConfigExtensions as J, type RootConfig as K, type DefaultComponents as L, type Metadata as M, type ExtractConfigParams as N, type Overrides as O, type Permissions as P, type ConfigParams as Q, type RootDataWithProps as R, type Slot as S, type ComponentConfigParams as T, type UserGenerics as U, type Viewports as V, type WithSlotProps as W, type BaseData as X, type RootDataWithoutProps as Y, type RootData as Z, type ComponentDataOptionalId as _, type ComponentData as a, type ComponentDataMap as a0, type Content as a1, type PuckMetadata as a2, type ComponentMetadata as a3, type FieldMetadata as a4, type BaseField as a5, type TextField as a6, type NumberField as a7, type TextareaField as a8, type SelectField as a9, type RadioField as aa, type ArrayField as ab, type ObjectField as ac, type Adaptor as ad, type ExternalFieldWithAdaptor as ae, type CacheOpts as af, type ExternalField as ag, type CustomFieldRender as ah, type CustomField as ai, type SlotField as aj, type PuckContext as ak, type DefaultRootFieldProps as al, type DefaultRootRenderProps as am, type DefaultRootProps as an, type DefaultComponentProps as ao, type WithId as ap, type WithPuckProps as aq, type AsFieldProps as ar, type WithChildren as as, type ExtractField as at, type PuckAction as b, type ResolveDataTrigger as c, type Plugin as d, type UiState as e, type ComponentConfig as f, type FieldTransforms as g, type Field as h, type FieldProps as i, type Data as j, type OnAction as k, type InitialHistory as l, migrate as m, type ItemSelector as n, type Direction as o, type DragAxis as p, type Viewport as q, resolveAllData as r, type FieldTransformFnParams as s, transformProps as t, type FieldTransformFn as u, overrideKeys as v, walkTree as w, type OverrideKey as x, type FieldRenderFunctions as y, type ItemWithId as z };
@@ -118,6 +118,7 @@ interface CustomField<Value extends any> extends BaseField {
118
118
  type: "custom";
119
119
  render: CustomFieldRender<Value>;
120
120
  contentEditable?: boolean;
121
+ key?: string;
121
122
  }
122
123
  interface SlotField extends BaseField {
123
124
  type: "slot";
@@ -331,7 +332,6 @@ interface FieldMetadata extends Metadata {
331
332
  type ItemWithId = {
332
333
  _arrayId: string;
333
334
  _originalIndex: number;
334
- _currentIndex: number;
335
335
  };
336
336
  type ArrayState = {
337
337
  items: ItemWithId[];
@@ -342,7 +342,6 @@ type UiState = {
342
342
  rightSideBarVisible: boolean;
343
343
  leftSideBarWidth?: number | null;
344
344
  rightSideBarWidth?: number | null;
345
- mobilePanelExpanded?: boolean;
346
345
  itemSelector: ItemSelector | null;
347
346
  arrayState: Record<string, ArrayState | undefined>;
348
347
  previewMode: "interactive" | "edit";
@@ -355,7 +354,7 @@ type UiState = {
355
354
  isDragging: boolean;
356
355
  viewports: {
357
356
  current: {
358
- width: number | "100%";
357
+ width: number;
359
358
  height: number | "auto";
360
359
  };
361
360
  controlsVisible: boolean;
@@ -364,9 +363,6 @@ type UiState = {
364
363
  field: {
365
364
  focus?: string | null;
366
365
  };
367
- plugin: {
368
- current: string | null;
369
- };
370
366
  };
371
367
  type AppState<UserData extends Data = Data> = {
372
368
  data: UserData;
@@ -410,14 +406,6 @@ type LeftOrExactRight<Union, Left, Right> = (Left & Union extends Right ? Exact<
410
406
  type AssertHasValue<T, True = T, False = never> = [keyof T] extends [
411
407
  never
412
408
  ] ? False : True;
413
- type RenderFunc<Props extends {
414
- [key: string]: any;
415
- } = {
416
- children: ReactNode;
417
- }> = (props: Props) => ReactElement;
418
- type PluginInternal = Plugin & {
419
- mobileOnly?: boolean;
420
- };
421
409
 
422
410
  type MapFnParams<ThisField = Field> = {
423
411
  value: any;
@@ -441,6 +429,11 @@ G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>, UserField extends
441
429
  [Type in UserField["type"]]: FieldTransformFn<ExtractField<UserField, Type>>;
442
430
  }>;
443
431
 
432
+ type RenderFunc<Props extends {
433
+ [key: string]: any;
434
+ } = {
435
+ children: ReactNode;
436
+ }> = (props: Props) => ReactElement;
444
437
  declare const overrideKeys: readonly ["header", "headerActions", "fields", "fieldLabel", "drawer", "drawerItem", "componentOverlay", "outline", "puck", "preview"];
445
438
  type OverrideKey = (typeof overrideKeys)[number];
446
439
  type OverridesGeneric<Shape extends {
@@ -512,7 +505,7 @@ type DragAxis = "dynamic" | "y" | "x";
512
505
 
513
506
  type iconTypes = "Smartphone" | "Monitor" | "Tablet";
514
507
  type Viewport = {
515
- width: number | "100%";
508
+ width: number;
516
509
  height?: number | "auto";
517
510
  label?: string;
518
511
  icon?: iconTypes | ReactNode;
@@ -532,13 +525,8 @@ type IframeConfig = {
532
525
  };
533
526
  type OnAction<UserData extends Data = Data> = (action: PuckAction, appState: AppState<UserData>, prevAppState: AppState<UserData>) => void;
534
527
  type Plugin<UserConfig extends Config = Config> = {
535
- name?: string;
536
- label?: string;
537
- icon?: ReactNode;
538
- render?: () => ReactElement;
539
528
  overrides?: Partial<Overrides<UserConfig>>;
540
529
  fieldTransforms?: FieldTransforms<UserConfig>;
541
- mobilePanelHeight?: "toggle" | "min-content";
542
530
  };
543
531
  type History<D = any> = {
544
532
  state: D;
@@ -656,4 +644,4 @@ type WalkTreeOptions = {
656
644
  };
657
645
  declare function walkTree<T extends ComponentData | RootData | G["UserData"], UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>>(data: T, config: UserConfig, callbackFn: (data: Content, options: WalkTreeOptions) => Content | null | void): T;
658
646
 
659
- export { type ComponentDataOptionalId as $, type AppState as A, type ItemWithId as B, type Config as C, type DropZoneProps as D, type ArrayState as E, type Fields as F, type SlotComponent as G, type History as H, type IframeConfig as I, type PuckComponent as J, type ComponentConfigExtensions as K, type RootConfig as L, type Metadata as M, type DefaultComponents as N, type Overrides as O, type Permissions as P, type ExtractConfigParams as Q, type RootDataWithProps as R, type Slot as S, type ConfigParams as T, type UserGenerics as U, type Viewports as V, type WithSlotProps as W, type ComponentConfigParams as X, type BaseData as Y, type RootDataWithoutProps as Z, type RootData as _, type ComponentData as a, type MappedItem as a0, type ComponentDataMap as a1, type Content as a2, type PuckMetadata as a3, type ComponentMetadata as a4, type FieldMetadata as a5, type BaseField as a6, type TextField as a7, type NumberField as a8, type TextareaField as a9, type SelectField as aa, type RadioField as ab, type ArrayField as ac, type ObjectField as ad, type Adaptor as ae, type ExternalFieldWithAdaptor as af, type CacheOpts as ag, type ExternalField as ah, type CustomFieldRender as ai, type CustomField as aj, type SlotField as ak, type PuckContext as al, type DefaultRootFieldProps as am, type DefaultRootRenderProps as an, type DefaultRootProps as ao, type DefaultComponentProps as ap, type WithId as aq, type WithPuckProps as ar, type AsFieldProps as as, type WithChildren as at, type ExtractField as au, type PuckAction as b, type ResolveDataTrigger as c, type Plugin as d, type UiState as e, type ComponentConfig as f, type FieldTransforms as g, type Field as h, type FieldProps as i, type Data as j, type OnAction as k, type InitialHistory as l, migrate as m, type ItemSelector as n, type PluginInternal as o, type Direction as p, type DragAxis as q, resolveAllData as r, type Viewport as s, transformProps as t, type FieldTransformFnParams as u, type FieldTransformFn as v, walkTree as w, overrideKeys as x, type OverrideKey as y, type FieldRenderFunctions as z };
647
+ export { type MappedItem as $, type AppState as A, type ArrayState as B, type Config as C, type DropZoneProps as D, type SlotComponent as E, type Fields as F, type PuckComponent as G, type History as H, type IframeConfig as I, type ComponentConfigExtensions as J, type RootConfig as K, type DefaultComponents as L, type Metadata as M, type ExtractConfigParams as N, type Overrides as O, type Permissions as P, type ConfigParams as Q, type RootDataWithProps as R, type Slot as S, type ComponentConfigParams as T, type UserGenerics as U, type Viewports as V, type WithSlotProps as W, type BaseData as X, type RootDataWithoutProps as Y, type RootData as Z, type ComponentDataOptionalId as _, type ComponentData as a, type ComponentDataMap as a0, type Content as a1, type PuckMetadata as a2, type ComponentMetadata as a3, type FieldMetadata as a4, type BaseField as a5, type TextField as a6, type NumberField as a7, type TextareaField as a8, type SelectField as a9, type RadioField as aa, type ArrayField as ab, type ObjectField as ac, type Adaptor as ad, type ExternalFieldWithAdaptor as ae, type CacheOpts as af, type ExternalField as ag, type CustomFieldRender as ah, type CustomField as ai, type SlotField as aj, type PuckContext as ak, type DefaultRootFieldProps as al, type DefaultRootRenderProps as am, type DefaultRootProps as an, type DefaultComponentProps as ao, type WithId as ap, type WithPuckProps as aq, type AsFieldProps as ar, type WithChildren as as, type ExtractField as at, type PuckAction as b, type ResolveDataTrigger as c, type Plugin as d, type UiState as e, type ComponentConfig as f, type FieldTransforms as g, type Field as h, type FieldProps as i, type Data as j, type OnAction as k, type InitialHistory as l, migrate as m, type ItemSelector as n, type Direction as o, type DragAxis as p, type Viewport as q, resolveAllData as r, type FieldTransformFnParams as s, transformProps as t, type FieldTransformFn as u, overrideKeys as v, walkTree as w, type OverrideKey as x, type FieldRenderFunctions as y, type ItemWithId as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.21.0-canary.e9d5c0ea",
3
+ "version": "0.21.0-canary.ec77dd9f",
4
4
  "description": "The open-source visual editor for React",
5
5
  "author": "Chris Villa <chris@puckeditor.com>",
6
6
  "repository": "measuredco/puck",