@measured/puck 0.9.0-canary.f3e5b50 → 0.9.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.
- package/dist/index.css +21 -17
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -210,24 +210,25 @@
|
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
/* css-module:/home/runner/work/puck/puck/packages/core/components/DraggableComponent/styles.module.css/#css-module-data */
|
|
213
|
-
.
|
|
213
|
+
._DraggableComponent_1phls_1 {
|
|
214
214
|
pointer-events: auto;
|
|
215
215
|
}
|
|
216
|
-
._DraggableComponent--
|
|
216
|
+
._DraggableComponent--isDragging_1phls_5 {
|
|
217
217
|
background: #abc7e510;
|
|
218
218
|
outline: 2px var(--puck-color-azure-8) solid;
|
|
219
219
|
overflow: hidden;
|
|
220
220
|
}
|
|
221
|
-
._DraggableComponent-
|
|
221
|
+
._DraggableComponent-contents_1phls_11 {
|
|
222
222
|
position: relative;
|
|
223
223
|
pointer-events: none;
|
|
224
|
+
z-index: 0;
|
|
224
225
|
}
|
|
225
|
-
._DraggableComponent-
|
|
226
|
-
._DraggableComponent-
|
|
226
|
+
._DraggableComponent-contents_1phls_11::before,
|
|
227
|
+
._DraggableComponent-contents_1phls_11::after {
|
|
227
228
|
content: " ";
|
|
228
229
|
display: table;
|
|
229
230
|
}
|
|
230
|
-
._DraggableComponent-
|
|
231
|
+
._DraggableComponent-overlay_1phls_24 {
|
|
231
232
|
display: none;
|
|
232
233
|
background: #abc7e530;
|
|
233
234
|
cursor: pointer;
|
|
@@ -240,33 +241,36 @@
|
|
|
240
241
|
pointer-events: none;
|
|
241
242
|
box-sizing: border-box;
|
|
242
243
|
}
|
|
243
|
-
.
|
|
244
|
+
._DraggableComponent_1phls_1:hover:not(._DraggableComponent--isLocked_1phls_38) > ._DraggableComponent-overlay_1phls_24 {
|
|
244
245
|
display: block;
|
|
245
246
|
pointer-events: none;
|
|
246
247
|
}
|
|
247
|
-
._DraggableComponent--
|
|
248
|
+
._DraggableComponent--forceHover_1phls_44 > ._DraggableComponent-overlay_1phls_24 {
|
|
248
249
|
display: block;
|
|
249
250
|
pointer-events: none;
|
|
250
251
|
}
|
|
251
|
-
._DraggableComponent--
|
|
252
|
+
._DraggableComponent_1phls_1:not(._DraggableComponent--isSelected_1phls_49) > ._DraggableComponent-overlay_1phls_24 {
|
|
253
|
+
outline: 2px var(--puck-color-azure-8) solid;
|
|
254
|
+
}
|
|
255
|
+
._DraggableComponent--indicativeHover_1phls_54 > ._DraggableComponent-overlay_1phls_24 {
|
|
252
256
|
display: block;
|
|
253
257
|
background: transparent;
|
|
254
258
|
pointer-events: none;
|
|
255
259
|
}
|
|
256
|
-
.
|
|
260
|
+
._DraggableComponent_1phls_1:not(._DraggableComponent--isSelected_1phls_49):has(._DraggableComponent_1phls_1:hover > ._DraggableComponent-overlay_1phls_24) > ._DraggableComponent-overlay_1phls_24 {
|
|
257
261
|
display: none;
|
|
258
262
|
}
|
|
259
|
-
._DraggableComponent--
|
|
263
|
+
._DraggableComponent--isSelected_1phls_49 {
|
|
260
264
|
outline: 2px var(--puck-color-azure-6) solid;
|
|
261
265
|
}
|
|
262
|
-
._DraggableComponent--
|
|
266
|
+
._DraggableComponent--isSelected_1phls_49 > ._DraggableComponent-overlay_1phls_24 {
|
|
263
267
|
background: none;
|
|
264
268
|
display: block;
|
|
265
269
|
position: sticky;
|
|
266
270
|
top: 56px;
|
|
267
271
|
z-index: 1;
|
|
268
272
|
}
|
|
269
|
-
._DraggableComponent-
|
|
273
|
+
._DraggableComponent-actions_1phls_80 {
|
|
270
274
|
position: absolute;
|
|
271
275
|
right: 6.5px;
|
|
272
276
|
width: auto;
|
|
@@ -282,10 +286,10 @@
|
|
|
282
286
|
pointer-events: auto;
|
|
283
287
|
box-sizing: border-box;
|
|
284
288
|
}
|
|
285
|
-
._DraggableComponent--
|
|
289
|
+
._DraggableComponent--isSelected_1phls_49 > ._DraggableComponent-overlay_1phls_24 > ._DraggableComponent-actions_1phls_80 {
|
|
286
290
|
display: flex;
|
|
287
291
|
}
|
|
288
|
-
._DraggableComponent-
|
|
292
|
+
._DraggableComponent-actionsLabel_1phls_103 {
|
|
289
293
|
color: var(--puck-color-grey-7);
|
|
290
294
|
display: flex;
|
|
291
295
|
font-size: var(--puck-font-size-xxxs);
|
|
@@ -299,7 +303,7 @@
|
|
|
299
303
|
text-overflow: ellipsis;
|
|
300
304
|
white-space: nowrap;
|
|
301
305
|
}
|
|
302
|
-
._DraggableComponent-
|
|
306
|
+
._DraggableComponent-action_1phls_80 {
|
|
303
307
|
background: transparent;
|
|
304
308
|
border: none;
|
|
305
309
|
color: var(--puck-color-grey-7);
|
|
@@ -307,7 +311,7 @@
|
|
|
307
311
|
border-radius: 4px;
|
|
308
312
|
overflow: hidden;
|
|
309
313
|
}
|
|
310
|
-
._DraggableComponent-
|
|
314
|
+
._DraggableComponent-action_1phls_80:hover {
|
|
311
315
|
background: var(--puck-color-grey-2);
|
|
312
316
|
color: var(--puck-color-azure-5);
|
|
313
317
|
cursor: pointer;
|
package/dist/index.js
CHANGED
|
@@ -1223,7 +1223,7 @@ var import_react_beautiful_dnd = require("react-beautiful-dnd");
|
|
|
1223
1223
|
|
|
1224
1224
|
// css-module:/home/runner/work/puck/puck/packages/core/components/DraggableComponent/styles.module.css#css-module
|
|
1225
1225
|
init_react_import();
|
|
1226
|
-
var styles_module_default = { "DraggableComponent": "
|
|
1226
|
+
var styles_module_default = { "DraggableComponent": "_DraggableComponent_1phls_1", "DraggableComponent--isDragging": "_DraggableComponent--isDragging_1phls_5", "DraggableComponent-contents": "_DraggableComponent-contents_1phls_11", "DraggableComponent-overlay": "_DraggableComponent-overlay_1phls_24", "DraggableComponent--isLocked": "_DraggableComponent--isLocked_1phls_38", "DraggableComponent--forceHover": "_DraggableComponent--forceHover_1phls_44", "DraggableComponent--isSelected": "_DraggableComponent--isSelected_1phls_49", "DraggableComponent--indicativeHover": "_DraggableComponent--indicativeHover_1phls_54", "DraggableComponent-actions": "_DraggableComponent-actions_1phls_80", "DraggableComponent-actionsLabel": "_DraggableComponent-actionsLabel_1phls_103", "DraggableComponent-action": "_DraggableComponent-action_1phls_80" };
|
|
1227
1227
|
|
|
1228
1228
|
// ../../node_modules/react-feather/dist/index.js
|
|
1229
1229
|
init_react_import();
|