@measured/puck 0.17.3 → 0.17.4-canary.5c60d6a

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -101,11 +101,11 @@ Available recipes include:
101
101
  - [Discord server](https://discord.gg/D9e4E3MQVZ) for discussions
102
102
  - [awesome-puck](https://github.com/measuredco/awesome-puck) community repo for plugins, custom fields & more
103
103
 
104
- ## Hire the Puck team
104
+ ## Get support
105
105
 
106
- 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.
106
+ If you have any questions about Puck, please open a [GitHub issue](https://github.com/measuredco/puck/issues) or join us on [Discord](https://discord.gg/D9e4E3MQVZ).
107
107
 
108
- If you need support integrating Puck or creating a beautiful component library, please reach out via the [Measured](https://measured.co) website.
108
+ Or [book a discovery call](https://app.cal.com/chrisvxd/puck-enquiry/) for hands-on support and consultancy.
109
109
 
110
110
  ## License
111
111
 
package/dist/index.d.mts CHANGED
@@ -39,7 +39,7 @@ declare const FieldLabel: ({ children, icon, label, el, readOnly, className, }:
39
39
  type FieldNoLabel<Props extends any = any> = Omit<Field<Props>, "label">;
40
40
  declare function AutoField<ValueType = any, FieldType extends FieldNoLabel<ValueType> = FieldNoLabel<ValueType>>(props: FieldProps<ValueType, FieldType>): react_jsx_runtime.JSX.Element;
41
41
 
42
- declare const Button: ({ children, href, onClick, variant, type, disabled, tabIndex, newTab, fullWidth, icon, size, loading: loadingProp, }: {
42
+ declare const Button: ({ children, href, onClick, variant, type, disabled, tabIndex, newTab, fullWidth, icon, size, loading: loadingProp, ...props }: {
43
43
  children: ReactNode;
44
44
  href?: string;
45
45
  onClick?: (e: any) => void | Promise<void>;
@@ -156,7 +156,9 @@ declare function Puck<UserConfig extends Config = Config, G extends UserGenerics
156
156
  }): react_jsx_runtime.JSX.Element;
157
157
  declare namespace Puck {
158
158
  var Components: () => react_jsx_runtime.JSX.Element;
159
- var Fields: () => react_jsx_runtime.JSX.Element;
159
+ var Fields: ({ wrapFields }: {
160
+ wrapFields?: boolean;
161
+ }) => react_jsx_runtime.JSX.Element;
160
162
  var Outline: () => react_jsx_runtime.JSX.Element;
161
163
  var Preview: ({ id }: {
162
164
  id?: string;
package/dist/index.d.ts CHANGED
@@ -39,7 +39,7 @@ declare const FieldLabel: ({ children, icon, label, el, readOnly, className, }:
39
39
  type FieldNoLabel<Props extends any = any> = Omit<Field<Props>, "label">;
40
40
  declare function AutoField<ValueType = any, FieldType extends FieldNoLabel<ValueType> = FieldNoLabel<ValueType>>(props: FieldProps<ValueType, FieldType>): react_jsx_runtime.JSX.Element;
41
41
 
42
- declare const Button: ({ children, href, onClick, variant, type, disabled, tabIndex, newTab, fullWidth, icon, size, loading: loadingProp, }: {
42
+ declare const Button: ({ children, href, onClick, variant, type, disabled, tabIndex, newTab, fullWidth, icon, size, loading: loadingProp, ...props }: {
43
43
  children: ReactNode;
44
44
  href?: string;
45
45
  onClick?: (e: any) => void | Promise<void>;
@@ -156,7 +156,9 @@ declare function Puck<UserConfig extends Config = Config, G extends UserGenerics
156
156
  }): react_jsx_runtime.JSX.Element;
157
157
  declare namespace Puck {
158
158
  var Components: () => react_jsx_runtime.JSX.Element;
159
- var Fields: () => react_jsx_runtime.JSX.Element;
159
+ var Fields: ({ wrapFields }: {
160
+ wrapFields?: boolean;
161
+ }) => react_jsx_runtime.JSX.Element;
160
162
  var Outline: () => react_jsx_runtime.JSX.Element;
161
163
  var Preview: ({ id }: {
162
164
  id?: string;