@measured/puck 0.15.0-canary.e2cd445 → 0.15.1-canary.9151255

Sign up to get free protection for your applications and to get access to all the features.
@@ -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;
@@ -1679,7 +1680,7 @@ textarea._Input-input_1qi5b_46 {
1679
1680
  }
1680
1681
 
1681
1682
  /* css-module:/home/runner/work/puck/puck/packages/core/components/ViewportControls/styles.module.css/#css-module-data */
1682
- ._ViewportControls_3zdvn_1 {
1683
+ ._ViewportControls_g1wgg_1 {
1683
1684
  display: flex;
1684
1685
  background: var(--puck-color-grey-11);
1685
1686
  box-sizing: border-box;
@@ -1692,12 +1693,12 @@ textarea._Input-input_1qi5b_46 {
1692
1693
  padding-right: var(--puck-space-px);
1693
1694
  z-index: 1;
1694
1695
  }
1695
- ._ViewportControls-divider_3zdvn_15 {
1696
+ ._ViewportControls-divider_g1wgg_15 {
1696
1697
  border-right: 1px solid var(--puck-color-grey-09);
1697
1698
  margin-left: 8px;
1698
1699
  margin-right: 8px;
1699
1700
  }
1700
- ._ViewportControls-zoomSelect_3zdvn_21 {
1701
+ ._ViewportControls-zoomSelect_g1wgg_21 {
1701
1702
  appearance: none;
1702
1703
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23c3c3c3'><polygon points='0,0 100,0 50,50'/></svg>") no-repeat;
1703
1704
  background-size: 10px;
@@ -1705,9 +1706,10 @@ textarea._Input-input_1qi5b_46 {
1705
1706
  background-repeat: no-repeat;
1706
1707
  border: 0;
1707
1708
  font-size: var(--puck-font-size-xxxs);
1709
+ padding: 0;
1708
1710
  width: 96px;
1709
1711
  }
1710
- ._ViewportButton--isActive_3zdvn_33 ._ViewportButton-inner_3zdvn_33 {
1712
+ ._ViewportButton--isActive_g1wgg_34 ._ViewportButton-inner_g1wgg_34 {
1711
1713
  color: var(--puck-color-azure-04);
1712
1714
  }
1713
1715
 
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");
@@ -33447,7 +33447,7 @@ var import_react28 = require("react");
33447
33447
 
33448
33448
  // css-module:/home/runner/work/puck/puck/packages/core/components/ViewportControls/styles.module.css#css-module
33449
33449
  init_react_import();
33450
- var styles_module_default19 = { "ViewportControls": "_ViewportControls_3zdvn_1", "ViewportControls-divider": "_ViewportControls-divider_3zdvn_15", "ViewportControls-zoomSelect": "_ViewportControls-zoomSelect_3zdvn_21", "ViewportButton--isActive": "_ViewportButton--isActive_3zdvn_33", "ViewportButton-inner": "_ViewportButton-inner_3zdvn_33" };
33450
+ var styles_module_default19 = { "ViewportControls": "_ViewportControls_g1wgg_1", "ViewportControls-divider": "_ViewportControls-divider_g1wgg_15", "ViewportControls-zoomSelect": "_ViewportControls-zoomSelect_g1wgg_21", "ViewportButton--isActive": "_ViewportButton--isActive_g1wgg_34", "ViewportButton-inner": "_ViewportButton-inner_g1wgg_34" };
33451
33451
 
33452
33452
  // components/ViewportControls/index.tsx
33453
33453
  var import_jsx_runtime34 = require("react/jsx-runtime");
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.1-canary.9151255",
4
4
  "author": "Measured Corporation Ltd <hello@measured.co>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",