@measured/puck 0.15.0-canary.e2cd445 → 0.15.0

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.
@@ -111,7 +111,7 @@ type CustomField<Props extends any = {}> = BaseField & {
111
111
  type: "custom";
112
112
  render: (props: {
113
113
  field: CustomField<Props>;
114
- name?: string;
114
+ name: string;
115
115
  id: string;
116
116
  value: Props;
117
117
  onChange: (value: Props) => void;
package/dist/index.css CHANGED
@@ -1489,13 +1489,14 @@ textarea._Input-input_1qi5b_46 {
1489
1489
  }
1490
1490
 
1491
1491
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Fields/styles.module.css/#css-module-data */
1492
- ._PuckFields_gmb17_1 {
1492
+ ._PuckFields_jp3lw_1 {
1493
+ position: relative;
1493
1494
  font-family: var(--puck-font-family);
1494
1495
  }
1495
- ._PuckFields--isLoading_gmb17_5 {
1496
+ ._PuckFields--isLoading_jp3lw_6 {
1496
1497
  min-height: 48px;
1497
1498
  }
1498
- ._PuckFields-loadingOverlay_gmb17_9 {
1499
+ ._PuckFields-loadingOverlay_jp3lw_10 {
1499
1500
  background: var(--puck-color-white);
1500
1501
  display: flex;
1501
1502
  justify-content: flex-end;
@@ -1509,7 +1510,7 @@ textarea._Input-input_1qi5b_46 {
1509
1510
  box-sizing: border-box;
1510
1511
  opacity: 0.8;
1511
1512
  }
1512
- ._PuckFields-loadingOverlayInner_gmb17_24 {
1513
+ ._PuckFields-loadingOverlayInner_jp3lw_25 {
1513
1514
  display: flex;
1514
1515
  padding: 16px;
1515
1516
  position: sticky;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { U as UiState, D as Data, A as AppState, F as Field, a as FieldProps, C as Config, b as DefaultRootProps, I as ItemSelector, c as DropZoneProps, V as Viewports, d as DefaultComponentProps, M as MappedItem, R as RootDataWithProps, e as RootData, f as ComponentData } from './Config-a4123ba2.js';
2
- export { q as Adaptor, p as ArrayField, l as ArrayState, B as BaseData, m as BaseField, i as ComponentConfig, g as Content, s as CustomField, r as ExternalField, E as ExternalFieldWithAdaptor, t as Fields, k as ItemWithId, N as NumberField, O as ObjectField, P as PuckComponent, h as PuckContext, o as RadioField, j as RootDataWithoutProps, S as SelectField, T as TextField, n as TextareaField } from './Config-a4123ba2.js';
1
+ import { U as UiState, D as Data, A as AppState, F as Field, a as FieldProps, C as Config, b as DefaultRootProps, I as ItemSelector, c as DropZoneProps, V as Viewports, d as DefaultComponentProps, M as MappedItem, R as RootDataWithProps, e as RootData, f as ComponentData } from './Config-041c35a2.js';
2
+ export { q as Adaptor, p as ArrayField, l as ArrayState, B as BaseData, m as BaseField, i as ComponentConfig, g as Content, s as CustomField, r as ExternalField, E as ExternalFieldWithAdaptor, t as Fields, k as ItemWithId, N as NumberField, O as ObjectField, P as PuckComponent, h as PuckContext, o as RadioField, j as RootDataWithoutProps, S as SelectField, T as TextField, n as TextareaField } from './Config-041c35a2.js';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import * as react from 'react';
5
5
  import { ReactNode, ReactElement, CSSProperties, SyntheticEvent } from 'react';
package/dist/index.js CHANGED
@@ -32375,7 +32375,7 @@ init_react_import();
32375
32375
 
32376
32376
  // css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Fields/styles.module.css#css-module
32377
32377
  init_react_import();
32378
- var styles_module_default15 = { "PuckFields": "_PuckFields_gmb17_1", "PuckFields--isLoading": "_PuckFields--isLoading_gmb17_5", "PuckFields-loadingOverlay": "_PuckFields-loadingOverlay_gmb17_9", "PuckFields-loadingOverlayInner": "_PuckFields-loadingOverlayInner_gmb17_24" };
32378
+ var styles_module_default15 = { "PuckFields": "_PuckFields_jp3lw_1", "PuckFields--isLoading": "_PuckFields--isLoading_jp3lw_6", "PuckFields-loadingOverlay": "_PuckFields-loadingOverlay_jp3lw_10", "PuckFields-loadingOverlayInner": "_PuckFields-loadingOverlayInner_jp3lw_25" };
32379
32379
 
32380
32380
  // components/Puck/components/Fields/index.tsx
32381
32381
  var import_react20 = require("react");
package/dist/rsc.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as Config, D as Data } from './Config-a4123ba2.js';
2
+ import { C as Config, D as Data } from './Config-041c35a2.js';
3
3
  import 'react';
4
4
 
5
5
  declare function Render<UserConfig extends Config = Config>({ config, data, }: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.15.0-canary.e2cd445",
3
+ "version": "0.15.0",
4
4
  "author": "Measured Corporation Ltd <hello@measured.co>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",