@measured/puck 0.14.0-canary.de9c2c4 → 0.14.0-canary.f975d87
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Config-1b86f0dc.d.ts → Config-1444273f.d.ts} +7 -8
- package/dist/index.css +718 -522
- package/dist/index.d.ts +2 -2
- package/dist/index.js +30 -28
- package/dist/rsc.d.ts +1 -1
- package/package.json +7 -2
package/dist/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { C as Config, D as Data, I as ItemSelector, U as UiState, A as AppState, F as Field, a as DefaultComponentProps, b as DefaultRootProps, M as MappedItem, R as RootDataWithProps, c as RootData } from './Config-
|
2
|
-
export { g as Adaptor, f as ArrayField, r as ArrayState, n as BaseData, B as BaseField, m as ComponentConfig, o as ComponentData, k as Content, i as CustomField, s as DropZone, h as ExternalField, E as ExternalFieldWithAdaptor, j as Fields, q as ItemWithId, N as NumberField, O as ObjectField, P as PuckComponent, l as PuckContext, e as RadioField, p as RootDataWithoutProps, S as SelectField, T as TextField, d as TextareaField } from './Config-
|
1
|
+
import { C as Config, D as Data, I as ItemSelector, U as UiState, A as AppState, F as Field, a as DefaultComponentProps, b as DefaultRootProps, M as MappedItem, R as RootDataWithProps, c as RootData } from './Config-1444273f.js';
|
2
|
+
export { g as Adaptor, f as ArrayField, r as ArrayState, n as BaseData, B as BaseField, m as ComponentConfig, o as ComponentData, k as Content, i as CustomField, s as DropZone, h as ExternalField, E as ExternalFieldWithAdaptor, j as Fields, q as ItemWithId, N as NumberField, O as ObjectField, P as PuckComponent, l as PuckContext, e as RadioField, p as RootDataWithoutProps, S as SelectField, T as TextField, d as TextareaField } from './Config-1444273f.js';
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
4
4
|
import * as react from 'react';
|
5
5
|
import { ReactNode, CSSProperties, ReactElement, SyntheticEvent } from 'react';
|
package/dist/index.js
CHANGED
@@ -29173,7 +29173,7 @@ var import_react2 = require("react");
|
|
29173
29173
|
|
29174
29174
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Button/Button.module.css#css-module
|
29175
29175
|
init_react_import();
|
29176
|
-
var Button_module_default = { "Button": "
|
29176
|
+
var Button_module_default = { "Button": "_Button_1hb69_1", "Button--medium": "_Button--medium_1hb69_29", "Button--large": "_Button--large_1hb69_37", "Button-icon": "_Button-icon_1hb69_44", "Button--primary": "_Button--primary_1hb69_48", "Button--secondary": "_Button--secondary_1hb69_67", "Button--flush": "_Button--flush_1hb69_82", "Button--disabled": "_Button--disabled_1hb69_86", "Button--fullWidth": "_Button--fullWidth_1hb69_93" };
|
29177
29177
|
|
29178
29178
|
// lib/get-class-name-factory.ts
|
29179
29179
|
init_react_import();
|
@@ -29227,7 +29227,7 @@ var Button = ({
|
|
29227
29227
|
}) => {
|
29228
29228
|
const [loading, setLoading] = (0, import_react2.useState)(loadingProp);
|
29229
29229
|
(0, import_react2.useEffect)(() => setLoading(loadingProp), [loadingProp]);
|
29230
|
-
const ElementType = href ? "a" :
|
29230
|
+
const ElementType = href ? "a" : type ? "button" : "span";
|
29231
29231
|
const el = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
29232
29232
|
ElementType,
|
29233
29233
|
{
|
@@ -29271,7 +29271,7 @@ var import_dnd2 = require("@hello-pangea/dnd");
|
|
29271
29271
|
|
29272
29272
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Drawer/styles.module.css#css-module
|
29273
29273
|
init_react_import();
|
29274
|
-
var styles_module_default = { "
|
29274
|
+
var styles_module_default = { "Drawer": "_Drawer_6zh0b_1", "DrawerItem-default": "_DrawerItem-default_6zh0b_5", "DrawerItem-draggableWrapper": "_DrawerItem-draggableWrapper_6zh0b_5", "DrawerItem": "_DrawerItem_6zh0b_5", "DrawerItem-draggable": "_DrawerItem-draggable_6zh0b_5", "Drawer--isDraggingFrom": "_Drawer--isDraggingFrom_6zh0b_31", "DrawerItem-name": "_DrawerItem-name_6zh0b_47" };
|
29275
29275
|
|
29276
29276
|
// components/Draggable/index.tsx
|
29277
29277
|
init_react_import();
|
@@ -29350,7 +29350,7 @@ var replace = (list, index, newItem) => {
|
|
29350
29350
|
|
29351
29351
|
// css-module:/home/runner/work/puck/puck/packages/core/components/DragIcon/styles.module.css#css-module
|
29352
29352
|
init_react_import();
|
29353
|
-
var styles_module_default2 = { "DragIcon": "
|
29353
|
+
var styles_module_default2 = { "DragIcon": "_DragIcon_1p5wn_1" };
|
29354
29354
|
|
29355
29355
|
// components/DragIcon/index.tsx
|
29356
29356
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
@@ -29430,7 +29430,7 @@ var import_dnd3 = require("@hello-pangea/dnd");
|
|
29430
29430
|
|
29431
29431
|
// css-module:/home/runner/work/puck/puck/packages/core/components/DraggableComponent/styles.module.css#css-module
|
29432
29432
|
init_react_import();
|
29433
|
-
var styles_module_default3 = { "DraggableComponent": "
|
29433
|
+
var styles_module_default3 = { "DraggableComponent": "_DraggableComponent_1vpvt_1", "DraggableComponent--isDragging": "_DraggableComponent--isDragging_1vpvt_10", "DraggableComponent-contents": "_DraggableComponent-contents_1vpvt_16", "DraggableComponent-overlay": "_DraggableComponent-overlay_1vpvt_29", "DraggableComponent-loadingOverlay": "_DraggableComponent-loadingOverlay_1vpvt_42", "DraggableComponent--isLocked": "_DraggableComponent--isLocked_1vpvt_58", "DraggableComponent--forceHover": "_DraggableComponent--forceHover_1vpvt_64", "DraggableComponent--isSelected": "_DraggableComponent--isSelected_1vpvt_69", "DraggableComponent--indicativeHover": "_DraggableComponent--indicativeHover_1vpvt_74", "DraggableComponent-actions": "_DraggableComponent-actions_1vpvt_100", "DraggableComponent-actionsLabel": "_DraggableComponent-actionsLabel_1vpvt_125", "DraggableComponent-action": "_DraggableComponent-action_1vpvt_100" };
|
29434
29434
|
|
29435
29435
|
// ../../node_modules/lucide-react/dist/esm/lucide-react.js
|
29436
29436
|
init_react_import();
|
@@ -29773,7 +29773,7 @@ var getItem = (selector, data, dynamicProps = {}) => {
|
|
29773
29773
|
|
29774
29774
|
// css-module:/home/runner/work/puck/puck/packages/core/components/DropZone/styles.module.css#css-module
|
29775
29775
|
init_react_import();
|
29776
|
-
var styles_module_default4 = { "DropZone": "
|
29776
|
+
var styles_module_default4 = { "DropZone": "_DropZone_utidm_1", "DropZone--zoomEnabled": "_DropZone--zoomEnabled_utidm_10", "DropZone-renderWrapper": "_DropZone-renderWrapper_utidm_14", "DropZone-content": "_DropZone-content_utidm_18", "DropZone--userIsDragging": "_DropZone--userIsDragging_utidm_23", "DropZone--draggingOverArea": "_DropZone--draggingOverArea_utidm_27", "DropZone--draggingNewComponent": "_DropZone--draggingNewComponent_utidm_28", "DropZone--isAreaSelected": "_DropZone--isAreaSelected_utidm_34", "DropZone--hoveringOverArea": "_DropZone--hoveringOverArea_utidm_35", "DropZone--isDisabled": "_DropZone--isDisabled_utidm_36", "DropZone--isRootZone": "_DropZone--isRootZone_utidm_37", "DropZone--hasChildren": "_DropZone--hasChildren_utidm_43", "DropZone--isDestination": "_DropZone--isDestination_utidm_48", "DropZone-item": "_DropZone-item_utidm_56", "DropZone-hitbox": "_DropZone-hitbox_utidm_60" };
|
29777
29777
|
|
29778
29778
|
// components/DropZone/context.tsx
|
29779
29779
|
init_react_import();
|
@@ -30188,7 +30188,7 @@ function DropZoneEdit({ zone, allow, disallow, style }) {
|
|
30188
30188
|
{
|
30189
30189
|
"data-puck-placeholder": true,
|
30190
30190
|
style: __spreadProps(__spreadValues({}, placeholderStyle), {
|
30191
|
-
background: "var(--puck-color-azure-
|
30191
|
+
background: "var(--puck-color-azure-06)",
|
30192
30192
|
opacity: 0.3,
|
30193
30193
|
zIndex: 0
|
30194
30194
|
})
|
@@ -30252,7 +30252,7 @@ var import_react10 = require("react");
|
|
30252
30252
|
|
30253
30253
|
// css-module:/home/runner/work/puck/puck/packages/core/components/IconButton/IconButton.module.css#css-module
|
30254
30254
|
init_react_import();
|
30255
|
-
var IconButton_module_default = { "IconButton": "
|
30255
|
+
var IconButton_module_default = { "IconButton": "_IconButton_1xqlg_1", "IconButton-title": "_IconButton-title_1xqlg_33" };
|
30256
30256
|
|
30257
30257
|
// components/IconButton/IconButton.tsx
|
30258
30258
|
var import_react_spinners3 = require("react-spinners");
|
@@ -30367,14 +30367,14 @@ init_react_import();
|
|
30367
30367
|
|
30368
30368
|
// css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css#css-module
|
30369
30369
|
init_react_import();
|
30370
|
-
var styles_module_default5 = { "SidebarSection": "
|
30370
|
+
var styles_module_default5 = { "SidebarSection": "_SidebarSection_125qe_1", "SidebarSection-title": "_SidebarSection-title_125qe_12", "SidebarSection--noBorderTop": "_SidebarSection--noBorderTop_125qe_20", "SidebarSection-content": "_SidebarSection-content_125qe_24", "SidebarSection--noPadding": "_SidebarSection--noPadding_125qe_28", "SidebarSection-breadcrumbLabel": "_SidebarSection-breadcrumbLabel_125qe_41", "SidebarSection-breadcrumbs": "_SidebarSection-breadcrumbs_125qe_70", "SidebarSection-breadcrumb": "_SidebarSection-breadcrumb_125qe_41", "SidebarSection-heading": "_SidebarSection-heading_125qe_82", "SidebarSection-loadingOverlay": "_SidebarSection-loadingOverlay_125qe_86" };
|
30371
30371
|
|
30372
30372
|
// components/Heading/index.tsx
|
30373
30373
|
init_react_import();
|
30374
30374
|
|
30375
30375
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Heading/styles.module.css#css-module
|
30376
30376
|
init_react_import();
|
30377
|
-
var styles_module_default6 = { "Heading": "
|
30377
|
+
var styles_module_default6 = { "Heading": "_Heading_qxrry_1", "Heading--xxxxl": "_Heading--xxxxl_qxrry_12", "Heading--xxxl": "_Heading--xxxl_qxrry_18", "Heading--xxl": "_Heading--xxl_qxrry_22", "Heading--xl": "_Heading--xl_qxrry_26", "Heading--l": "_Heading--l_qxrry_30", "Heading--m": "_Heading--m_qxrry_34", "Heading--s": "_Heading--s_qxrry_38", "Heading--xs": "_Heading--xs_qxrry_42" };
|
30378
30378
|
|
30379
30379
|
// components/Heading/index.tsx
|
30380
30380
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
@@ -30482,7 +30482,7 @@ var SidebarSection = ({
|
|
30482
30482
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: getClassName8("title"), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: getClassName8("breadcrumbs"), children: [
|
30483
30483
|
showBreadcrumbs ? breadcrumbs.map((breadcrumb, i) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: getClassName8("breadcrumb"), children: [
|
30484
30484
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
30485
|
-
"
|
30485
|
+
"button",
|
30486
30486
|
{
|
30487
30487
|
className: getClassName8("breadcrumbLabel"),
|
30488
30488
|
onClick: () => setUi({ itemSelector: breadcrumb.selector }),
|
@@ -30527,8 +30527,8 @@ init_react_import();
|
|
30527
30527
|
|
30528
30528
|
// lib/generate-id.ts
|
30529
30529
|
init_react_import();
|
30530
|
-
var
|
30531
|
-
var generateId = (type) => `${type}-${(0,
|
30530
|
+
var import_uuid = require("uuid");
|
30531
|
+
var generateId = (type) => `${type}-${(0, import_uuid.v4)()}`;
|
30532
30532
|
|
30533
30533
|
// lib/reduce-related-zones.ts
|
30534
30534
|
var reduceRelatedZones = (item, data, fn) => {
|
@@ -31070,7 +31070,7 @@ init_react_import();
|
|
31070
31070
|
|
31071
31071
|
// css-module:/home/runner/work/puck/puck/packages/core/components/MenuBar/styles.module.css#css-module
|
31072
31072
|
init_react_import();
|
31073
|
-
var styles_module_default7 = { "MenuBar": "
|
31073
|
+
var styles_module_default7 = { "MenuBar": "_MenuBar_8pf8c_1", "MenuBar--menuOpen": "_MenuBar--menuOpen_8pf8c_14", "MenuBar-inner": "_MenuBar-inner_8pf8c_29", "MenuBar-history": "_MenuBar-history_8pf8c_45" };
|
31074
31074
|
|
31075
31075
|
// components/MenuBar/index.tsx
|
31076
31076
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
@@ -31108,14 +31108,14 @@ var MenuBar = ({
|
|
31108
31108
|
ChevronLeft,
|
31109
31109
|
{
|
31110
31110
|
size: 21,
|
31111
|
-
stroke: hasPast ? "var(--puck-color-black)" : "var(--puck-color-grey-
|
31111
|
+
stroke: hasPast ? "var(--puck-color-black)" : "var(--puck-color-grey-08)"
|
31112
31112
|
}
|
31113
31113
|
) }),
|
31114
31114
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(IconButton, { title: "redo", disabled: !hasFuture, onClick: forward, children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
31115
31115
|
ChevronRight,
|
31116
31116
|
{
|
31117
31117
|
size: 21,
|
31118
|
-
stroke: hasFuture ? "var(--puck-color-black)" : "var(--puck-color-grey-
|
31118
|
+
stroke: hasFuture ? "var(--puck-color-black)" : "var(--puck-color-grey-08)"
|
31119
31119
|
}
|
31120
31120
|
) })
|
31121
31121
|
] }),
|
@@ -31140,7 +31140,7 @@ var MenuBar = ({
|
|
31140
31140
|
|
31141
31141
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css#css-module
|
31142
31142
|
init_react_import();
|
31143
|
-
var styles_module_default8 = { "Puck": "
|
31143
|
+
var styles_module_default8 = { "Puck": "_Puck_1mnww_19", "Puck--leftSideBarVisible": "_Puck--leftSideBarVisible_1mnww_36", "Puck--rightSideBarVisible": "_Puck--rightSideBarVisible_1mnww_42", "Puck-header": "_Puck-header_1mnww_96", "Puck-headerInner": "_Puck-headerInner_1mnww_105", "Puck-headerToggle": "_Puck-headerToggle_1mnww_115", "Puck-rightSideBarToggle": "_Puck-rightSideBarToggle_1mnww_122", "Puck-leftSideBarToggle": "_Puck-leftSideBarToggle_1mnww_123", "Puck-headerTitle": "_Puck-headerTitle_1mnww_127", "Puck-headerPath": "_Puck-headerPath_1mnww_131", "Puck-headerTools": "_Puck-headerTools_1mnww_138", "Puck-menuButton": "_Puck-menuButton_1mnww_144", "Puck--menuOpen": "_Puck--menuOpen_1mnww_149", "Puck-leftSideBar": "_Puck-leftSideBar_1mnww_123", "Puck-frame": "_Puck-frame_1mnww_168", "Puck-root": "_Puck-root_1mnww_176", "Puck-rightSideBar": "_Puck-rightSideBar_1mnww_122" };
|
31144
31144
|
|
31145
31145
|
// components/Puck/components/Fields/index.tsx
|
31146
31146
|
init_react_import();
|
@@ -31151,7 +31151,7 @@ init_react_import();
|
|
31151
31151
|
|
31152
31152
|
// css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/styles.module.css#css-module
|
31153
31153
|
init_react_import();
|
31154
|
-
var styles_module_default9 = { "Input": "
|
31154
|
+
var styles_module_default9 = { "Input": "_Input_3msty_1", "Input-label": "_Input-label_3msty_26", "Input-labelIcon": "_Input-labelIcon_3msty_34", "Input-disabledIcon": "_Input-disabledIcon_3msty_40", "Input-input": "_Input-input_3msty_45", "Input--readOnly": "_Input--readOnly_3msty_89", "Input-radioGroupItems": "_Input-radioGroupItems_3msty_100", "Input-radio": "_Input-radio_3msty_100", "Input-radioInner": "_Input-radioInner_3msty_117", "Input-radioInput": "_Input-radioInput_3msty_162" };
|
31155
31155
|
|
31156
31156
|
// components/InputOrGroup/index.tsx
|
31157
31157
|
var import_react18 = require("react");
|
@@ -31164,7 +31164,7 @@ init_react_import();
|
|
31164
31164
|
|
31165
31165
|
// css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/fields/ArrayField/styles.module.css#css-module
|
31166
31166
|
init_react_import();
|
31167
|
-
var styles_module_default10 = { "ArrayField": "
|
31167
|
+
var styles_module_default10 = { "ArrayField": "_ArrayField_1txra_5", "ArrayField--isDraggingFrom": "_ArrayField--isDraggingFrom_1txra_13", "ArrayField-addButton": "_ArrayField-addButton_1txra_17", "ArrayField--hasItems": "_ArrayField--hasItems_1txra_32", "ArrayFieldItem": "_ArrayFieldItem_1txra_61", "ArrayFieldItem--isDragging": "_ArrayFieldItem--isDragging_1txra_69", "ArrayFieldItem--isExpanded": "_ArrayFieldItem--isExpanded_1txra_74", "ArrayFieldItem-summary": "_ArrayFieldItem-summary_1txra_84", "ArrayFieldItem--readOnly": "_ArrayFieldItem--readOnly_1txra_108", "ArrayFieldItem-body": "_ArrayFieldItem-body_1txra_142", "ArrayFieldItem-fieldset": "_ArrayFieldItem-fieldset_1txra_150", "ArrayFieldItem-rhs": "_ArrayFieldItem-rhs_1txra_157", "ArrayFieldItem-actions": "_ArrayFieldItem-actions_1txra_163" };
|
31168
31168
|
|
31169
31169
|
// components/InputOrGroup/fields/ArrayField/index.tsx
|
31170
31170
|
var import_dnd5 = require("@hello-pangea/dnd");
|
@@ -31456,6 +31456,7 @@ var DefaultField = ({
|
|
31456
31456
|
}
|
31457
31457
|
},
|
31458
31458
|
readOnly,
|
31459
|
+
tabIndex: readOnly ? -1 : void 0,
|
31459
31460
|
id,
|
31460
31461
|
min: field.type === "number" ? field.min : void 0,
|
31461
31462
|
max: field.type === "number" ? field.max : void 0
|
@@ -31475,7 +31476,7 @@ var import_react16 = require("react");
|
|
31475
31476
|
|
31476
31477
|
// css-module:/home/runner/work/puck/puck/packages/core/components/ExternalInput/styles.module.css#css-module
|
31477
31478
|
init_react_import();
|
31478
|
-
var styles_module_default11 = { "ExternalInput
|
31479
|
+
var styles_module_default11 = { "ExternalInput-actions": "_ExternalInput-actions_oqtaj_1", "ExternalInput-button": "_ExternalInput-button_oqtaj_5", "ExternalInput--dataSelected": "_ExternalInput--dataSelected_oqtaj_25", "ExternalInput-detachButton": "_ExternalInput-detachButton_oqtaj_32", "ExternalInputModal": "_ExternalInputModal_oqtaj_74", "ExternalInputModal-masthead": "_ExternalInputModal-masthead_oqtaj_82", "ExternalInputModal-tableWrapper": "_ExternalInputModal-tableWrapper_oqtaj_90", "ExternalInputModal-table": "_ExternalInputModal-table_oqtaj_90", "ExternalInputModal-thead": "_ExternalInputModal-thead_oqtaj_106", "ExternalInputModal-th": "_ExternalInputModal-th_oqtaj_106", "ExternalInputModal-td": "_ExternalInputModal-td_oqtaj_120", "ExternalInputModal-tr": "_ExternalInputModal-tr_oqtaj_124", "ExternalInputModal-tbody": "_ExternalInputModal-tbody_oqtaj_137", "ExternalInputModal--hasData": "_ExternalInputModal--hasData_oqtaj_157", "ExternalInputModal-loadingBanner": "_ExternalInputModal-loadingBanner_oqtaj_161", "ExternalInputModal--isLoading": "_ExternalInputModal--isLoading_oqtaj_174", "ExternalInputModal-noContentBanner": "_ExternalInputModal-noContentBanner_oqtaj_178", "ExternalInputModal--loaded": "_ExternalInputModal--loaded_oqtaj_185", "ExternalInputModal-searchForm": "_ExternalInputModal-searchForm_oqtaj_190", "ExternalInputModal-search": "_ExternalInputModal-search_oqtaj_190", "ExternalInputModal-searchIcon": "_ExternalInputModal-searchIcon_oqtaj_221", "ExternalInputModal-searchIconText": "_ExternalInputModal-searchIconText_oqtaj_246", "ExternalInputModal-searchInput": "_ExternalInputModal-searchInput_oqtaj_256" };
|
31479
31480
|
|
31480
31481
|
// components/Modal/index.tsx
|
31481
31482
|
init_react_import();
|
@@ -31483,7 +31484,7 @@ var import_react15 = require("react");
|
|
31483
31484
|
|
31484
31485
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Modal/styles.module.css#css-module
|
31485
31486
|
init_react_import();
|
31486
|
-
var styles_module_default12 = { "Modal": "
|
31487
|
+
var styles_module_default12 = { "Modal": "_Modal_1yh4j_1", "Modal--isOpen": "_Modal--isOpen_1yh4j_15", "Modal-inner": "_Modal-inner_1yh4j_19" };
|
31487
31488
|
|
31488
31489
|
// components/Modal/index.tsx
|
31489
31490
|
var import_react_dom = __toESM(require_react_dom());
|
@@ -31857,6 +31858,7 @@ var TextareaField = ({
|
|
31857
31858
|
value: typeof value === "undefined" ? "" : value,
|
31858
31859
|
onChange: (e) => onChange(e.currentTarget.value),
|
31859
31860
|
readOnly,
|
31861
|
+
tabIndex: readOnly ? -1 : void 0,
|
31860
31862
|
rows: 5
|
31861
31863
|
}
|
31862
31864
|
)
|
@@ -31872,7 +31874,7 @@ init_react_import();
|
|
31872
31874
|
|
31873
31875
|
// css-module:/home/runner/work/puck/puck/packages/core/components/InputOrGroup/fields/ObjectField/styles.module.css#css-module
|
31874
31876
|
init_react_import();
|
31875
|
-
var styles_module_default13 = { "ObjectField": "
|
31877
|
+
var styles_module_default13 = { "ObjectField": "_ObjectField_15j63_5", "ObjectField-fieldset": "_ObjectField-fieldset_15j63_13" };
|
31876
31878
|
|
31877
31879
|
// components/InputOrGroup/fields/ObjectField/index.tsx
|
31878
31880
|
var import_jsx_runtime20 = require("react/jsx-runtime");
|
@@ -32036,7 +32038,7 @@ var InputOrGroup = (_a) => {
|
|
32036
32038
|
|
32037
32039
|
// css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Fields/styles.module.css#css-module
|
32038
32040
|
init_react_import();
|
32039
|
-
var styles_module_default14 = { "PuckFields": "
|
32041
|
+
var styles_module_default14 = { "PuckFields": "_PuckFields_17k3p_1", "PuckFields-loadingOverlay": "_PuckFields-loadingOverlay_17k3p_6" };
|
32040
32042
|
|
32041
32043
|
// components/Puck/components/Fields/index.tsx
|
32042
32044
|
var import_react19 = require("react");
|
@@ -32193,7 +32195,7 @@ init_react_import();
|
|
32193
32195
|
|
32194
32196
|
// css-module:/home/runner/work/puck/puck/packages/core/components/ComponentList/styles.module.css#css-module
|
32195
32197
|
init_react_import();
|
32196
|
-
var styles_module_default15 = { "ComponentList": "
|
32198
|
+
var styles_module_default15 = { "ComponentList": "_ComponentList_odh9d_1", "ComponentList--isExpanded": "_ComponentList--isExpanded_odh9d_5", "ComponentList-content": "_ComponentList-content_odh9d_9", "ComponentList-title": "_ComponentList-title_odh9d_17", "ComponentList-titleIcon": "_ComponentList-titleIcon_odh9d_53" };
|
32197
32199
|
|
32198
32200
|
// components/ComponentList/index.tsx
|
32199
32201
|
var import_jsx_runtime23 = require("react/jsx-runtime");
|
@@ -32214,7 +32216,7 @@ var ComponentList = ({
|
|
32214
32216
|
const { expanded = true } = state.ui.componentList[id] || {};
|
32215
32217
|
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: getClassName20({ isExpanded: expanded }), children: [
|
32216
32218
|
title && /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
32217
|
-
"
|
32219
|
+
"button",
|
32218
32220
|
{
|
32219
32221
|
className: getClassName20("title"),
|
32220
32222
|
onClick: () => setUi({
|
@@ -32378,7 +32380,7 @@ init_react_import();
|
|
32378
32380
|
|
32379
32381
|
// css-module:/home/runner/work/puck/puck/packages/core/components/LayerTree/styles.module.css#css-module
|
32380
32382
|
init_react_import();
|
32381
|
-
var styles_module_default16 = { "LayerTree": "
|
32383
|
+
var styles_module_default16 = { "LayerTree": "_LayerTree_1pgw8_1", "LayerTree-zoneTitle": "_LayerTree-zoneTitle_1pgw8_11", "LayerTree-helper": "_LayerTree-helper_1pgw8_17", "Layer": "_Layer_1pgw8_1", "Layer-inner": "_Layer-inner_1pgw8_29", "Layer--containsZone": "_Layer--containsZone_1pgw8_35", "Layer-clickable": "_Layer-clickable_1pgw8_39", "Layer--isSelected": "_Layer--isSelected_1pgw8_61", "Layer-chevron": "_Layer-chevron_1pgw8_77", "Layer--childIsSelected": "_Layer--childIsSelected_1pgw8_78", "Layer-zones": "_Layer-zones_1pgw8_82", "Layer-title": "_Layer-title_1pgw8_96", "Layer-name": "_Layer-name_1pgw8_105", "Layer-icon": "_Layer-icon_1pgw8_111", "Layer-zoneIcon": "_Layer-zoneIcon_1pgw8_116" };
|
32382
32384
|
|
32383
32385
|
// lib/scroll-into-view.ts
|
32384
32386
|
init_react_import();
|
@@ -32452,7 +32454,7 @@ var LayerTree = ({
|
|
32452
32454
|
}),
|
32453
32455
|
children: [
|
32454
32456
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: getClassNameLayer("inner"), children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
32455
|
-
"
|
32457
|
+
"button",
|
32456
32458
|
{
|
32457
32459
|
className: getClassNameLayer("clickable"),
|
32458
32460
|
onClick: () => {
|
@@ -33023,7 +33025,7 @@ function Puck({
|
|
33023
33025
|
"div",
|
33024
33026
|
{
|
33025
33027
|
style: {
|
33026
|
-
background: "var(--puck-color-grey-
|
33028
|
+
background: "var(--puck-color-grey-11)",
|
33027
33029
|
height: "100%",
|
33028
33030
|
flexGrow: 1
|
33029
33031
|
}
|
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-
|
2
|
+
import { C as Config, D as Data } from './Config-1444273f.js';
|
3
3
|
import 'react';
|
4
4
|
|
5
5
|
declare function Render<UserConfig extends Config<any, any, any> = Config<any, any, any>>({ config, data }: {
|
package/package.json
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "@measured/puck",
|
3
|
-
"version": "0.14.0-canary.
|
3
|
+
"version": "0.14.0-canary.f975d87",
|
4
|
+
"author": "Measured Corporation Ltd <hello@measured.co>",
|
5
|
+
"repository": "measuredco/puck",
|
6
|
+
"bugs": "https://github.com/measuredco/puck/issues",
|
7
|
+
"homepage": "https://puckeditor.com",
|
4
8
|
"private": false,
|
5
9
|
"main": "./dist/index.js",
|
6
10
|
"types": "./dist/index.d.ts",
|
@@ -58,7 +62,8 @@
|
|
58
62
|
"deep-diff": "^1.0.2",
|
59
63
|
"react-hotkeys-hook": "^4.4.1",
|
60
64
|
"react-spinners": "^0.13.8",
|
61
|
-
"use-debounce": "^9.0.4"
|
65
|
+
"use-debounce": "^9.0.4",
|
66
|
+
"uuid": "^9.0.1"
|
62
67
|
},
|
63
68
|
"peerDependencies": {
|
64
69
|
"react": "^17.0.0 || ^18.0.0"
|