@measured/puck 0.14.0-canary.f81931a → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -15,6 +15,9 @@ The visual editor for React.
15
15
  <a aria-label="Join the community on Discord" href="https://discord.gg/D9e4E3MQVZ">
16
16
  <img alt="" src="https://img.shields.io/badge/Join%20the%20Discord-blueviolet.svg?style=for-the-badge&logo=Discord&labelColor=000000&logoWidth=20">
17
17
  </a>
18
+ <a aria-label="Browse the awesome-puck community repo" href="https://github.com/measuredco/awesome-puck">
19
+ <img alt="" src="https://img.shields.io/badge/repo-awesome--puck-fc60a8.svg?style=for-the-badge&labelColor=000000&logoWidth=20">
20
+ </a>
18
21
  </p>
19
22
 
20
23
  ## Demo
@@ -96,6 +99,11 @@ Available recipes include:
96
99
  - [**next**](https://github.com/measuredco/puck/tree/main/recipes/next): Next.js 13 app example, using App Router and static page generation
97
100
  - [**remix**](https://github.com/measuredco/puck/tree/main/recipes/remix): Remix Run v2 app example, using dynamic routes at root-level
98
101
 
102
+ ## Community
103
+
104
+ - [Discord server](https://discord.gg/D9e4E3MQVZ) for discussions
105
+ - [awesome-puck](https://github.com/measuredco/awesome-puck) community repo for plugins, custom fields & more
106
+
99
107
  ## Hire the Puck team
100
108
 
101
109
  Puck is developed and maintained by **Measured**, a small group of industry veterans with decades of experience helping companies solve hard UI problems. We offer consultancy and development services for scale-ups, SMEs and enterprises.
@@ -104,7 +104,7 @@ type ExternalField<Props extends {
104
104
  }) => Promise<any[] | null>;
105
105
  mapProp?: (value: any) => Props;
106
106
  mapRow?: (value: any) => Record<string, string | number>;
107
- getItemSummary: (item: Props, index?: number) => string;
107
+ getItemSummary?: (item: Props, index?: number) => string;
108
108
  showSearch?: boolean;
109
109
  initialQuery?: string;
110
110
  filterFields?: Record<string, Field>;
@@ -241,4 +241,4 @@ type AppState = {
241
241
  ui: UiState;
242
242
  };
243
243
 
244
- export type { AppState as A, BaseField as B, Config as C, Data as D, ExternalFieldWithAdaptor as E, Field as F, ItemSelector as I, MappedItem as M, NumberField as N, ObjectField as O, PuckComponent as P, RootDataWithProps as R, SelectField as S, TextField as T, UiState as U, Viewports as V, DefaultRootProps as a, DropZoneProps as b, DefaultComponentProps as c, RootData as d, ComponentData as e, TextareaField as f, RadioField as g, ArrayField as h, Adaptor as i, ExternalField as j, CustomField as k, Fields as l, Content as m, PuckContext as n, ComponentConfig as o, BaseData as p, RootDataWithoutProps as q, ItemWithId as r, ArrayState as s };
244
+ export { AppState as A, BaseField as B, Config as C, Data as D, ExternalFieldWithAdaptor as E, Field as F, ItemSelector as I, MappedItem as M, NumberField as N, ObjectField as O, PuckComponent as P, RootDataWithProps as R, SelectField as S, TextField as T, UiState as U, Viewports as V, DefaultRootProps as a, DropZoneProps as b, DefaultComponentProps as c, RootData as d, ComponentData as e, TextareaField as f, RadioField as g, ArrayField as h, Adaptor as i, ExternalField as j, CustomField as k, Fields as l, Content as m, PuckContext as n, ComponentConfig as o, BaseData as p, RootDataWithoutProps as q, ItemWithId as r, ArrayState as s };