@measured/puck 0.20.0-canary.3badc0ce → 0.20.0-canary.5780043

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/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-6p9XnDIV.mjs';
3
- export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-6p9XnDIV.mjs';
2
+ import { a as Config, U as UserGenerics, M as Metadata } from './walk-tree-BDO40vbf.mjs';
3
+ export { ag as migrate, ai as resolveAllData, ah as transformProps, w as walkTree } from './walk-tree-BDO40vbf.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-6p9XnDIV.js';
3
- export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-6p9XnDIV.js';
2
+ import { a as Config, U as UserGenerics, M as Metadata } from './walk-tree-BDO40vbf.js';
3
+ export { ag as migrate, ai as resolveAllData, ah as transformProps, w as walkTree } from './walk-tree-BDO40vbf.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
@@ -64,7 +64,7 @@ var __async = (__this, __arguments, generator) => {
64
64
  });
65
65
  };
66
66
 
67
- // bundle/rsc.tsx
67
+ // rsc.tsx
68
68
  var rsc_exports = {};
69
69
  __export(rsc_exports, {
70
70
  Render: () => Render,
package/dist/rsc.mjs CHANGED
@@ -1,14 +1,10 @@
1
1
  import {
2
2
  Render,
3
- init_react_import,
4
3
  migrate,
5
4
  resolveAllData,
6
5
  transformProps,
7
6
  walkTree
8
- } from "./chunk-32MJ3X3H.mjs";
9
-
10
- // bundle/rsc.tsx
11
- init_react_import();
7
+ } from "./chunk-H6KSTNLT.mjs";
12
8
  export {
13
9
  Render,
14
10
  migrate,
@@ -548,4 +548,4 @@ type WalkTreeOptions = {
548
548
  };
549
549
  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;
550
550
 
551
- export { type ArrayField as $, type AppState as A, type BaseData as B, type Config as C, type DropZoneProps as D, type RootDataWithoutProps as E, type Fields as F, type RootData as G, type History as H, type IframeConfig as I, type ComponentDataOptionalId as J, type MappedItem as K, type ComponentDataMap as L, type Metadata as M, type Content as N, type Overrides as O, type Permissions as P, type BaseField as Q, type RootDataWithProps as R, type Slot as S, type TextField as T, type UserGenerics as U, type Viewports as V, type WithSlotProps as W, type NumberField as X, type TextareaField as Y, type SelectField as Z, type RadioField as _, type ComponentData as a, type ObjectField as a0, type Adaptor as a1, type ExternalFieldWithAdaptor as a2, type ExternalField as a3, type CustomFieldRender as a4, type CustomField as a5, type SlotField as a6, type PuckContext as a7, type DefaultRootFieldProps as a8, type DefaultRootRenderProps as a9, type DefaultRootProps as aa, type DefaultComponentProps as ab, type WithId as ac, type WithPuckProps as ad, type AsFieldProps as ae, type WithChildren as af, type ExtractPropsFromConfig as ag, type ExtractRootPropsFromConfig as ah, type PuckAction as b, type ResolveDataTrigger as c, type Plugin as d, type UiState as e, type ComponentConfig as f, type Field as g, type FieldProps as h, type Data as i, type OnAction as j, type InitialHistory as k, type ItemSelector as l, migrate as m, type Direction as n, type DragAxis as o, type Viewport as p, overrideKeys as q, resolveAllData as r, type OverrideKey as s, transformProps as t, type FieldRenderFunctions as u, type ItemWithId as v, walkTree as w, type ArrayState as x, type PuckComponent as y, type RootConfig as z };
551
+ export { type Adaptor as $, type AppState as A, type BaseData as B, type ComponentData as C, type DropZoneProps as D, type ComponentDataOptionalId as E, type Fields as F, type MappedItem as G, type History as H, type IframeConfig as I, type ComponentDataMap as J, type Content as K, type BaseField as L, type Metadata as M, type NumberField as N, type Overrides as O, type Permissions as P, type TextareaField as Q, type RootDataWithProps as R, type Slot as S, type TextField as T, type UserGenerics as U, type Viewports as V, type WithSlotProps as W, type SelectField as X, type RadioField as Y, type ArrayField as Z, type ObjectField as _, type Config as a, type ExternalFieldWithAdaptor as a0, type ExternalField as a1, type CustomFieldRender as a2, type CustomField as a3, type SlotField as a4, type PuckContext as a5, type DefaultRootFieldProps as a6, type DefaultRootRenderProps as a7, type DefaultRootProps as a8, type DefaultComponentProps as a9, type WithId as aa, type WithPuckProps as ab, type AsFieldProps as ac, type WithChildren as ad, type ExtractPropsFromConfig as ae, type ExtractRootPropsFromConfig as af, migrate as ag, transformProps as ah, resolveAllData as ai, type PuckAction as b, type ResolveDataTrigger as c, type Plugin as d, type UiState as e, type ComponentConfig as f, type Field as g, type FieldProps as h, type Data as i, type OnAction as j, type InitialHistory as k, type ItemSelector as l, type Direction as m, type DragAxis as n, type Viewport as o, overrideKeys as p, type OverrideKey as q, type FieldRenderFunctions as r, type ItemWithId as s, type ArrayState as t, type SlotComponent as u, type PuckComponent as v, walkTree as w, type RootConfig as x, type RootDataWithoutProps as y, type RootData as z };
@@ -548,4 +548,4 @@ type WalkTreeOptions = {
548
548
  };
549
549
  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;
550
550
 
551
- export { type ArrayField as $, type AppState as A, type BaseData as B, type Config as C, type DropZoneProps as D, type RootDataWithoutProps as E, type Fields as F, type RootData as G, type History as H, type IframeConfig as I, type ComponentDataOptionalId as J, type MappedItem as K, type ComponentDataMap as L, type Metadata as M, type Content as N, type Overrides as O, type Permissions as P, type BaseField as Q, type RootDataWithProps as R, type Slot as S, type TextField as T, type UserGenerics as U, type Viewports as V, type WithSlotProps as W, type NumberField as X, type TextareaField as Y, type SelectField as Z, type RadioField as _, type ComponentData as a, type ObjectField as a0, type Adaptor as a1, type ExternalFieldWithAdaptor as a2, type ExternalField as a3, type CustomFieldRender as a4, type CustomField as a5, type SlotField as a6, type PuckContext as a7, type DefaultRootFieldProps as a8, type DefaultRootRenderProps as a9, type DefaultRootProps as aa, type DefaultComponentProps as ab, type WithId as ac, type WithPuckProps as ad, type AsFieldProps as ae, type WithChildren as af, type ExtractPropsFromConfig as ag, type ExtractRootPropsFromConfig as ah, type PuckAction as b, type ResolveDataTrigger as c, type Plugin as d, type UiState as e, type ComponentConfig as f, type Field as g, type FieldProps as h, type Data as i, type OnAction as j, type InitialHistory as k, type ItemSelector as l, migrate as m, type Direction as n, type DragAxis as o, type Viewport as p, overrideKeys as q, resolveAllData as r, type OverrideKey as s, transformProps as t, type FieldRenderFunctions as u, type ItemWithId as v, walkTree as w, type ArrayState as x, type PuckComponent as y, type RootConfig as z };
551
+ export { type Adaptor as $, type AppState as A, type BaseData as B, type ComponentData as C, type DropZoneProps as D, type ComponentDataOptionalId as E, type Fields as F, type MappedItem as G, type History as H, type IframeConfig as I, type ComponentDataMap as J, type Content as K, type BaseField as L, type Metadata as M, type NumberField as N, type Overrides as O, type Permissions as P, type TextareaField as Q, type RootDataWithProps as R, type Slot as S, type TextField as T, type UserGenerics as U, type Viewports as V, type WithSlotProps as W, type SelectField as X, type RadioField as Y, type ArrayField as Z, type ObjectField as _, type Config as a, type ExternalFieldWithAdaptor as a0, type ExternalField as a1, type CustomFieldRender as a2, type CustomField as a3, type SlotField as a4, type PuckContext as a5, type DefaultRootFieldProps as a6, type DefaultRootRenderProps as a7, type DefaultRootProps as a8, type DefaultComponentProps as a9, type WithId as aa, type WithPuckProps as ab, type AsFieldProps as ac, type WithChildren as ad, type ExtractPropsFromConfig as ae, type ExtractRootPropsFromConfig as af, migrate as ag, transformProps as ah, resolveAllData as ai, type PuckAction as b, type ResolveDataTrigger as c, type Plugin as d, type UiState as e, type ComponentConfig as f, type Field as g, type FieldProps as h, type Data as i, type OnAction as j, type InitialHistory as k, type ItemSelector as l, type Direction as m, type DragAxis as n, type Viewport as o, overrideKeys as p, type OverrideKey as q, type FieldRenderFunctions as r, type ItemWithId as s, type ArrayState as t, type SlotComponent as u, type PuckComponent as v, walkTree as w, type RootConfig as x, type RootDataWithoutProps as y, type RootData as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.20.0-canary.3badc0ce",
3
+ "version": "0.20.0-canary.5780043",
4
4
  "author": "Chris Villa <chris@puckeditor.com>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",
@@ -27,7 +27,6 @@
27
27
  "require": "./dist/rsc.js"
28
28
  },
29
29
  "./puck.css": "./dist/index.css",
30
- "./no-external.css": "./dist/no-external.css",
31
30
  "./dist/index.css": "./dist/index.css",
32
31
  "./package.json": "./package.json"
33
32
  },
@@ -41,7 +40,7 @@
41
40
  "license": "MIT",
42
41
  "scripts": {
43
42
  "lint": "eslint \"**/*.ts*\"",
44
- "build": "rm -rf dist && tsup bundle/index.ts bundle/rsc.tsx bundle/no-external.ts",
43
+ "build": "rm -rf dist && tsup index.ts rsc.tsx",
45
44
  "test": "jest",
46
45
  "prepare": "cp ../../README.md . && yarn build",
47
46
  "postpublish": "rm README.md"