@measured/puck 0.10.0-canary.74cd3a7 → 0.10.0-canary.ca4f4be
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.
- package/dist/index.css +9 -8
- package/dist/index.js +7 -15
- package/package.json +1 -1
package/dist/index.css
CHANGED
@@ -723,32 +723,33 @@
|
|
723
723
|
}
|
724
724
|
|
725
725
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/ComponentList/styles.module.css/#css-module-data */
|
726
|
-
.
|
726
|
+
._ComponentList_1f52d_1 {
|
727
|
+
display: grid;
|
727
728
|
font-family: var(--puck-font-stack);
|
729
|
+
grid-template-columns: 1fr;
|
728
730
|
max-width: 100%;
|
731
|
+
grid-gap: 12px;
|
729
732
|
}
|
730
|
-
._ComponentList-
|
733
|
+
._ComponentList-item_1f52d_9 {
|
731
734
|
background: white;
|
732
735
|
padding: 12px;
|
733
736
|
display: flex;
|
734
737
|
border: 1px var(--puck-color-grey-8) solid;
|
735
|
-
border-radius:
|
738
|
+
border-radius: 8px;
|
736
739
|
font-size: var(--puck-font-size-xxs);
|
737
740
|
justify-content: space-between;
|
738
741
|
align-items: center;
|
739
742
|
gap: 12px;
|
740
743
|
cursor: grab;
|
741
|
-
margin-bottom: 12px;
|
742
744
|
}
|
743
|
-
._ComponentList-
|
745
|
+
._ComponentList-item_1f52d_9:last-of-type {
|
744
746
|
margin-bottom: 0px;
|
745
747
|
}
|
746
|
-
._ComponentList-
|
748
|
+
._ComponentList-itemIcon_1f52d_26 {
|
747
749
|
color: var(--puck-color-grey-4);
|
748
750
|
}
|
749
|
-
.
|
751
|
+
._ComponentList_1f52d_1:not(._ComponentList--isDraggingFrom_1f52d_30) ._ComponentList-item_1f52d_9:hover {
|
750
752
|
background-color: var(--puck-color-azure-9);
|
751
|
-
color: var(--puck-color-azure-4);
|
752
753
|
}
|
753
754
|
|
754
755
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
|
package/dist/index.js
CHANGED
@@ -327,7 +327,7 @@ var require_react_is_development = __commonJS({
|
|
327
327
|
var ContextProvider = REACT_PROVIDER_TYPE;
|
328
328
|
var Element = REACT_ELEMENT_TYPE;
|
329
329
|
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
330
|
-
var
|
330
|
+
var Fragment10 = REACT_FRAGMENT_TYPE;
|
331
331
|
var Lazy = REACT_LAZY_TYPE;
|
332
332
|
var Memo = REACT_MEMO_TYPE;
|
333
333
|
var Portal = REACT_PORTAL_TYPE;
|
@@ -386,7 +386,7 @@ var require_react_is_development = __commonJS({
|
|
386
386
|
exports.ContextProvider = ContextProvider;
|
387
387
|
exports.Element = Element;
|
388
388
|
exports.ForwardRef = ForwardRef;
|
389
|
-
exports.Fragment =
|
389
|
+
exports.Fragment = Fragment10;
|
390
390
|
exports.Lazy = Lazy;
|
391
391
|
exports.Memo = Memo;
|
392
392
|
exports.Portal = Portal;
|
@@ -3140,14 +3140,7 @@ var Draggable2 = ({
|
|
3140
3140
|
children: children(provided, snapshot)
|
3141
3141
|
})
|
3142
3142
|
),
|
3143
|
-
showShadow && snapshot.isDragging && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
3144
|
-
"div",
|
3145
|
-
{
|
3146
|
-
className: className && className(provided, snapshot),
|
3147
|
-
style: { transform: "none !important" },
|
3148
|
-
children: children(provided, snapshot)
|
3149
|
-
}
|
3150
|
-
)
|
3143
|
+
showShadow && snapshot.isDragging && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { style: { transform: "none !important" }, children: children(provided, snapshot) })
|
3151
3144
|
] });
|
3152
3145
|
} });
|
3153
3146
|
};
|
@@ -3732,7 +3725,7 @@ init_react_import();
|
|
3732
3725
|
|
3733
3726
|
// css-module:/home/runner/work/puck/puck/packages/core/components/ComponentList/styles.module.css#css-module
|
3734
3727
|
init_react_import();
|
3735
|
-
var styles_module_default7 = { "ComponentList": "
|
3728
|
+
var styles_module_default7 = { "ComponentList": "_ComponentList_1f52d_1", "ComponentList-item": "_ComponentList-item_1f52d_9", "ComponentList-itemIcon": "_ComponentList-itemIcon_1f52d_26", "ComponentList--isDraggingFrom": "_ComponentList--isDraggingFrom_1f52d_30" };
|
3736
3729
|
|
3737
3730
|
// components/ComponentList/index.tsx
|
3738
3731
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
@@ -3754,16 +3747,15 @@ var ComponentList = ({ config }) => {
|
|
3754
3747
|
index: i,
|
3755
3748
|
showShadow: true,
|
3756
3749
|
disableAnimations: true,
|
3757
|
-
|
3758
|
-
children: () => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_jsx_runtime17.Fragment, { children: [
|
3750
|
+
children: () => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: getClassName14("item"), children: [
|
3759
3751
|
componentKey,
|
3760
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: getClassName14("itemIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
3752
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: getClassName14("itemIcon"), children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(grid_default, { size: 18 }) })
|
3761
3753
|
] })
|
3762
3754
|
},
|
3763
3755
|
componentKey
|
3764
3756
|
);
|
3765
3757
|
}),
|
3766
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("
|
3758
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { style: { display: "none" }, children: provided.placeholder })
|
3767
3759
|
]
|
3768
3760
|
})
|
3769
3761
|
) });
|