@measured/puck 0.20.0-canary.8c56aa8b → 0.20.0-canary.b2d0f01a

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 CHANGED
@@ -231,10 +231,10 @@
231
231
  }
232
232
 
233
233
  /* css-module:/home/runner/work/puck/puck/packages/core/components/AutoField/styles.module.css/#css-module-data */
234
- ._InputWrapper_py9hf_1 + ._InputWrapper_py9hf_1 {
234
+ ._InputWrapper_bsxfo_1 + ._InputWrapper_bsxfo_1 {
235
235
  margin-top: 12px;
236
236
  }
237
- ._Input-label_py9hf_5 {
237
+ ._Input-label_bsxfo_5 {
238
238
  align-items: center;
239
239
  color: var(--puck-color-grey-04);
240
240
  display: flex;
@@ -242,17 +242,17 @@
242
242
  font-size: var(--puck-font-size-xxs);
243
243
  font-weight: 600;
244
244
  }
245
- ._Input-labelIcon_py9hf_14 {
245
+ ._Input-labelIcon_bsxfo_14 {
246
246
  color: var(--puck-color-grey-07);
247
247
  display: flex;
248
248
  margin-inline-end: 4px;
249
249
  padding-inline-start: 4px;
250
250
  }
251
- ._Input-disabledIcon_py9hf_21 {
251
+ ._Input-disabledIcon_bsxfo_21 {
252
252
  color: var(--puck-color-grey-05);
253
253
  margin-inline-start: auto;
254
254
  }
255
- ._Input-input_py9hf_26 {
255
+ ._Input-input_bsxfo_26 {
256
256
  background: var(--puck-color-white);
257
257
  border-width: 1px;
258
258
  border-style: solid;
@@ -260,13 +260,18 @@
260
260
  border-radius: 4px;
261
261
  box-sizing: border-box;
262
262
  font-family: inherit;
263
- font-size: 14px;
263
+ font-size: 16px;
264
264
  padding: 12px 15px;
265
265
  transition: border-color 50ms ease-in;
266
266
  width: 100%;
267
267
  max-width: 100%;
268
268
  }
269
- select._Input-input_py9hf_26 {
269
+ @media (min-width: 458px) {
270
+ ._Input-input_bsxfo_26 {
271
+ font-size: 14px;
272
+ }
273
+ }
274
+ select._Input-input_bsxfo_26 {
270
275
  appearance: none;
271
276
  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;
272
277
  background-size: 12px;
@@ -275,29 +280,29 @@ select._Input-input_py9hf_26 {
275
280
  background-color: var(--puck-color-white);
276
281
  cursor: pointer;
277
282
  }
278
- select._Input-input_py9hf_26:dir(rtl) {
283
+ select._Input-input_bsxfo_26:dir(rtl) {
279
284
  background-position: 12px calc(50% + 3px);
280
285
  }
281
286
  @media (hover: hover) and (pointer: fine) {
282
- ._Input_py9hf_1:has(> input):hover ._Input-input_py9hf_26:not([readonly]),
283
- ._Input_py9hf_1:has(> textarea):hover ._Input-input_py9hf_26:not([readonly]) {
287
+ ._Input_bsxfo_1:has(> input):hover ._Input-input_bsxfo_26:not([readonly]),
288
+ ._Input_bsxfo_1:has(> textarea):hover ._Input-input_bsxfo_26:not([readonly]) {
284
289
  border-color: var(--puck-color-grey-05);
285
290
  transition: none;
286
291
  }
287
- ._Input_py9hf_1:has(> select):hover ._Input-input_py9hf_26:not([disabled]) {
292
+ ._Input_bsxfo_1:has(> select):hover ._Input-input_bsxfo_26:not([disabled]) {
288
293
  background-color: var(--puck-color-azure-12);
289
294
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%235a5a5a'><polygon points='0,0 100,0 50,50'/></svg>");
290
295
  border-color: var(--puck-color-grey-05);
291
296
  transition: none;
292
297
  }
293
298
  }
294
- ._Input-input_py9hf_26:focus {
299
+ ._Input-input_bsxfo_26:focus {
295
300
  border-color: var(--puck-color-grey-05);
296
301
  outline: 2px solid var(--puck-color-azure-05);
297
302
  transition: none;
298
303
  }
299
- ._Input--readOnly_py9hf_76 > ._Input-input_py9hf_26,
300
- ._Input--readOnly_py9hf_76 > select._Input-input_py9hf_26 {
304
+ ._Input--readOnly_bsxfo_82 > ._Input-input_bsxfo_26,
305
+ ._Input--readOnly_bsxfo_82 > select._Input-input_bsxfo_26 {
301
306
  background-color: var(--puck-color-grey-11);
302
307
  border-color: var(--puck-color-grey-09);
303
308
  color: var(--puck-color-grey-04);
@@ -306,34 +311,34 @@ select._Input-input_py9hf_26:dir(rtl) {
306
311
  outline: 0;
307
312
  transition: none;
308
313
  }
309
- ._Input-radioGroupItems_py9hf_87 {
314
+ ._Input-radioGroupItems_bsxfo_93 {
310
315
  display: flex;
311
316
  border: 1px solid var(--puck-color-grey-09);
312
317
  border-radius: 4px;
313
318
  flex-wrap: wrap;
314
319
  }
315
- ._Input-radio_py9hf_87 {
320
+ ._Input-radio_bsxfo_93 {
316
321
  border-inline-end: 1px solid var(--puck-color-grey-09);
317
322
  flex-grow: 1;
318
323
  }
319
- ._Input-radio_py9hf_87:first-of-type {
324
+ ._Input-radio_bsxfo_93:first-of-type {
320
325
  border-bottom-left-radius: 4px;
321
326
  border-top-left-radius: 4px;
322
327
  }
323
- ._Input-radio_py9hf_87:first-of-type ._Input-radioInner_py9hf_104 {
328
+ ._Input-radio_bsxfo_93:first-of-type ._Input-radioInner_bsxfo_110 {
324
329
  border-bottom-left-radius: 3px;
325
330
  border-top-left-radius: 3px;
326
331
  }
327
- ._Input-radio_py9hf_87:last-of-type {
332
+ ._Input-radio_bsxfo_93:last-of-type {
328
333
  border-bottom-right-radius: 4px;
329
334
  border-inline-end: 0;
330
335
  border-top-right-radius: 4px;
331
336
  }
332
- ._Input-radio_py9hf_87:last-of-type ._Input-radioInner_py9hf_104 {
337
+ ._Input-radio_bsxfo_93:last-of-type ._Input-radioInner_bsxfo_110 {
333
338
  border-bottom-right-radius: 3px;
334
339
  border-top-right-radius: 3px;
335
340
  }
336
- ._Input-radioInner_py9hf_104 {
341
+ ._Input-radioInner_bsxfo_110 {
337
342
  background-color: var(--puck-color-white);
338
343
  color: var(--puck-color-grey-04);
339
344
  cursor: pointer;
@@ -342,32 +347,32 @@ select._Input-input_py9hf_26:dir(rtl) {
342
347
  text-align: center;
343
348
  transition: background-color 50ms ease-in;
344
349
  }
345
- ._Input-radio_py9hf_87:has(:focus-visible) {
350
+ ._Input-radio_bsxfo_93:has(:focus-visible) {
346
351
  outline: 2px solid var(--puck-color-azure-05);
347
352
  outline-offset: 2px;
348
353
  position: relative;
349
354
  }
350
355
  @media (hover: hover) and (pointer: fine) {
351
- ._Input-radioInner_py9hf_104:hover {
356
+ ._Input-radioInner_bsxfo_110:hover {
352
357
  background-color: var(--puck-color-azure-12);
353
358
  transition: none;
354
359
  }
355
360
  }
356
- ._Input--readOnly_py9hf_76 ._Input-radioInner_py9hf_104 {
361
+ ._Input--readOnly_bsxfo_82 ._Input-radioInner_bsxfo_110 {
357
362
  background-color: var(--puck-color-white);
358
363
  color: var(--puck-color-grey-04);
359
364
  cursor: default;
360
365
  }
361
- ._Input-radio_py9hf_87 ._Input-radioInput_py9hf_149:checked ~ ._Input-radioInner_py9hf_104 {
366
+ ._Input-radio_bsxfo_93 ._Input-radioInput_bsxfo_155:checked ~ ._Input-radioInner_bsxfo_110 {
362
367
  background-color: var(--puck-color-azure-11);
363
368
  color: var(--puck-color-azure-04);
364
369
  font-weight: 500;
365
370
  }
366
- ._Input--readOnly_py9hf_76 ._Input-radioInput_py9hf_149:checked ~ ._Input-radioInner_py9hf_104 {
371
+ ._Input--readOnly_bsxfo_82 ._Input-radioInput_bsxfo_155:checked ~ ._Input-radioInner_bsxfo_110 {
367
372
  background-color: var(--puck-color-grey-11);
368
373
  color: var(--puck-color-grey-04);
369
374
  }
370
- ._Input-radio_py9hf_87 ._Input-radioInput_py9hf_149 {
375
+ ._Input-radio_bsxfo_93 ._Input-radioInput_bsxfo_155 {
371
376
  clip: rect(0 0 0 0);
372
377
  clip-path: inset(100%);
373
378
  height: 1px;
@@ -376,7 +381,7 @@ select._Input-input_py9hf_26:dir(rtl) {
376
381
  white-space: nowrap;
377
382
  width: 1px;
378
383
  }
379
- textarea._Input-input_py9hf_26 {
384
+ textarea._Input-input_bsxfo_26 {
380
385
  margin-bottom: -4px;
381
386
  }
382
387
 
@@ -1311,164 +1316,31 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1311
1316
  opacity: 0 !important;
1312
1317
  }
1313
1318
 
1314
- /* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
1315
- ._SidebarSection_8boj8_1 {
1316
- display: flex;
1317
- position: relative;
1318
- flex-direction: column;
1319
- color: var(--puck-color-black);
1320
- }
1321
- ._SidebarSection_8boj8_1:last-of-type {
1322
- flex-grow: 1;
1323
- }
1324
- ._SidebarSection-title_8boj8_12 {
1325
- background: var(--puck-color-white);
1326
- padding: 16px;
1327
- border-bottom: 1px solid var(--puck-color-grey-09);
1328
- border-top: 1px solid var(--puck-color-grey-09);
1329
- overflow-x: auto;
1330
- }
1331
- ._SidebarSection--noBorderTop_8boj8_20 > ._SidebarSection-title_8boj8_12 {
1332
- border-top: 0px;
1333
- }
1334
- ._SidebarSection-content_8boj8_24 {
1335
- padding: 16px;
1336
- }
1337
- ._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24 {
1338
- padding: 0px;
1339
- }
1340
- ._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24:last-child {
1341
- padding-bottom: 4px;
1342
- }
1343
- ._SidebarSection_8boj8_1:last-of-type ._SidebarSection-content_8boj8_24 {
1344
- border-bottom: none;
1345
- flex-grow: 1;
1346
- }
1347
- ._SidebarSection-breadcrumbLabel_8boj8_41 {
1348
- background: none;
1349
- border: 0;
1350
- border-radius: 2px;
1351
- color: var(--puck-color-azure-04);
1352
- cursor: pointer;
1353
- font: inherit;
1354
- flex-shrink: 0;
1355
- padding: 0;
1356
- transition: color 50ms ease-in;
1319
+ /* lib/overlay-portal/styles.css */
1320
+ [data-puck-overlay-portal],
1321
+ [data-puck-overlay-portal] * {
1322
+ pointer-events: auto !important;
1357
1323
  }
1358
- ._SidebarSection-breadcrumbLabel_8boj8_41:focus-visible {
1359
- outline: 2px solid var(--puck-color-azure-05);
1324
+ [data-puck-overlay-portal]:hover {
1325
+ outline: 2px var(--puck-color-azure-09) dashed;
1360
1326
  outline-offset: 2px;
1361
1327
  }
1362
- @media (hover: hover) and (pointer: fine) {
1363
- ._SidebarSection-breadcrumbLabel_8boj8_41:hover {
1364
- color: var(--puck-color-azure-03);
1365
- transition: none;
1366
- }
1367
- }
1368
- ._SidebarSection-breadcrumbLabel_8boj8_41:active {
1369
- color: var(--puck-color-azure-02);
1370
- transition: none;
1371
- }
1372
- ._SidebarSection-breadcrumbs_8boj8_70 {
1373
- align-items: center;
1374
- display: flex;
1375
- gap: 4px;
1376
- }
1377
- ._SidebarSection-breadcrumb_8boj8_41 {
1378
- align-items: center;
1379
- display: flex;
1380
- gap: 4px;
1381
- }
1382
- ._SidebarSection-heading_8boj8_82 {
1383
- padding-inline-end: 16px;
1384
- }
1385
- ._SidebarSection-loadingOverlay_8boj8_86 {
1386
- background: var(--puck-color-white);
1387
- display: flex;
1388
- justify-content: center;
1389
- align-items: center;
1390
- height: 100%;
1391
- width: 100%;
1392
- top: 0;
1393
- position: absolute;
1394
- z-index: 1;
1395
- pointer-events: all;
1396
- box-sizing: border-box;
1397
- opacity: 0.8;
1328
+ [data-puck-overlay-portal]:focus-within {
1329
+ outline: 2px var(--puck-color-azure-07) solid;
1330
+ outline-offset: 2px;
1398
1331
  }
1399
1332
 
1400
- /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css/#css-module-data */
1401
- ._Puck_vnhjy_19 {
1402
- --puck-space-px: 16px;
1403
- font-family: var(--puck-font-family);
1404
- overflow-x: hidden;
1405
- }
1406
- @media (min-width: 766px) {
1407
- ._Puck_vnhjy_19 {
1408
- overflow-x: auto;
1409
- }
1410
- }
1411
- ._Puck-portal_vnhjy_31 {
1412
- position: relative;
1413
- z-index: 2;
1414
- }
1415
- ._PuckLayout-inner_vnhjy_38 {
1416
- --puck-frame-width: auto;
1417
- --puck-side-bar-width: 0px;
1418
- display: grid;
1419
- grid-template-areas: "header header header" "left editor right";
1420
- grid-template-columns: 0 var(--puck-frame-width) 0;
1421
- grid-template-rows: min-content auto;
1422
- height: 100dvh;
1423
- position: relative;
1424
- z-index: 0;
1425
- }
1426
- ._PuckLayout--mounted_vnhjy_50 ._PuckLayout-inner_vnhjy_38 {
1427
- --puck-side-bar-width: 186px;
1428
- }
1429
- ._PuckLayout--leftSideBarVisible_vnhjy_54 ._PuckLayout-inner_vnhjy_38 {
1430
- grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) 0;
1431
- }
1432
- ._PuckLayout--rightSideBarVisible_vnhjy_60 ._PuckLayout-inner_vnhjy_38 {
1433
- grid-template-columns: 0 var(--puck-frame-width) var(--puck-side-bar-width);
1434
- }
1435
- ._PuckLayout--leftSideBarVisible_vnhjy_54._PuckLayout--rightSideBarVisible_vnhjy_60 ._PuckLayout-inner_vnhjy_38 {
1436
- grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) var(--puck-side-bar-width);
1437
- }
1438
- @media (min-width: 458px) {
1439
- ._PuckLayout-mounted_vnhjy_74 ._PuckLayout-inner_vnhjy_38 {
1440
- --puck-frame-width: minmax(266px, auto);
1441
- }
1442
- }
1443
- @media (min-width: 638px) {
1444
- ._PuckLayout_vnhjy_38 ._PuckLayout-inner_vnhjy_38 {
1445
- --puck-side-bar-width: minmax(186px, 250px);
1446
- }
1447
- }
1448
- @media (min-width: 766px) {
1449
- ._PuckLayout_vnhjy_38 ._PuckLayout-inner_vnhjy_38 {
1450
- --puck-frame-width: auto;
1451
- }
1452
- }
1453
- @media (min-width: 990px) {
1454
- ._PuckLayout_vnhjy_38 ._PuckLayout-inner_vnhjy_38 {
1455
- --puck-side-bar-width: 256px;
1456
- }
1457
- }
1458
- @media (min-width: 1198px) {
1459
- ._PuckLayout_vnhjy_38 ._PuckLayout-inner_vnhjy_38 {
1460
- --puck-side-bar-width: 274px;
1461
- }
1333
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/InlineTextField/styles.module.css/#css-module-data */
1334
+ ._InlineTextField_ilw2a_1 {
1335
+ cursor: text;
1336
+ display: inline-block;
1462
1337
  }
1463
- @media (min-width: 1398px) {
1464
- ._PuckLayout_vnhjy_38 ._PuckLayout-inner_vnhjy_38 {
1465
- --puck-side-bar-width: 290px;
1466
- }
1338
+ [data-dnd-dragging] ._InlineTextField_ilw2a_1 {
1339
+ cursor: none;
1340
+ caret-color: transparent;
1467
1341
  }
1468
- @media (min-width: 1598px) {
1469
- ._PuckLayout_vnhjy_38 ._PuckLayout-inner_vnhjy_38 {
1470
- --puck-side-bar-width: 320px;
1471
- }
1342
+ [data-dnd-dragging] ._InlineTextField_ilw2a_1::selection {
1343
+ display: none;
1472
1344
  }
1473
1345
 
1474
1346
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Fields/styles.module.css/#css-module-data */
@@ -1562,6 +1434,11 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1562
1434
  margin-inline-start: auto;
1563
1435
  }
1564
1436
 
1437
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Components/styles.module.css/#css-module-data */
1438
+ ._Components_uwdh8_1 {
1439
+ padding: 16px;
1440
+ }
1441
+
1565
1442
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Preview/styles.module.css/#css-module-data */
1566
1443
  ._PuckPreview_z2rgu_1 {
1567
1444
  position: relative;
@@ -1676,111 +1553,94 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1676
1553
  margin-top: 4px;
1677
1554
  }
1678
1555
 
1679
- /* css-module:/home/runner/work/puck/puck/packages/core/components/ViewportControls/styles.module.css/#css-module-data */
1680
- ._ViewportControls_gejzr_1 {
1681
- display: flex;
1682
- background: var(--puck-color-grey-11);
1683
- box-sizing: border-box;
1684
- border-inline-start: 2px solid var(--puck-color-grey-11);
1685
- justify-content: center;
1686
- gap: 8px;
1687
- min-width: 358px;
1688
- padding-bottom: 16px;
1689
- padding-inline-start: var(--puck-space-px);
1690
- padding-inline-end: var(--puck-space-px);
1691
- z-index: 1;
1556
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Outline/styles.module.css/#css-module-data */
1557
+ ._Outline_1rrni_1 {
1558
+ padding: 16px;
1692
1559
  }
1693
- ._ViewportControls-divider_gejzr_15 {
1694
- border-inline-end: 1px solid var(--puck-color-grey-09);
1695
- margin-inline-start: 8px;
1696
- margin-inline-end: 8px;
1560
+
1561
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Layout/styles.module.css/#css-module-data */
1562
+ ._Puck_1xke2_19 {
1563
+ --puck-space-px: 16px;
1564
+ font-family: var(--puck-font-family);
1565
+ overflow-x: hidden;
1697
1566
  }
1698
- ._ViewportControls-zoomSelect_gejzr_21 {
1699
- appearance: none;
1700
- 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;
1701
- background-size: 10px;
1702
- background-position: calc(100% - 12px) calc(50% + 3px);
1703
- background-repeat: no-repeat;
1704
- border: 0;
1705
- font-size: var(--puck-font-size-xxxs);
1706
- padding: 0;
1707
- width: 96px;
1567
+ @media (min-width: 766px) {
1568
+ ._Puck_1xke2_19 {
1569
+ overflow-x: auto;
1570
+ }
1708
1571
  }
1709
- ._ViewportControls-zoomSelect_gejzr_21:dir(rtl) {
1710
- background-position: 12px calc(50% + 3px);
1572
+ ._Puck-portal_1xke2_31 {
1573
+ position: relative;
1574
+ z-index: 2;
1711
1575
  }
1712
- ._ViewportButton--isActive_gejzr_38 ._ViewportButton-inner_gejzr_38 {
1713
- color: var(--puck-color-azure-04);
1576
+ ._PuckLayout-inner_1xke2_36 {
1577
+ --puck-frame-width: auto;
1578
+ --puck-side-bar-width: 0px;
1579
+ --puck-side-nav-width: 68px;
1580
+ --puck-side-bar-width: 186px;
1581
+ --puck-left-side-bar-width: var( --puck-user-left-side-bar-width, --puck-side-bar-width );
1582
+ --puck-right-side-bar-width: var( --puck-user-right-side-bar-width, --puck-side-bar-width );
1583
+ display: grid;
1584
+ grid-template-areas: "header header header header" "sidenav left editor right";
1585
+ grid-template-columns: var(--puck-side-nav-width) 0 var(--puck-frame-width) 0;
1586
+ grid-template-rows: min-content auto;
1587
+ height: 100dvh;
1588
+ position: relative;
1589
+ z-index: 0;
1714
1590
  }
1715
-
1716
- /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Canvas/styles.module.css/#css-module-data */
1717
- ._PuckCanvas_18jay_1 {
1718
- background: var(--puck-color-grey-11);
1719
- display: flex;
1720
- grid-area: editor;
1721
- flex-direction: column;
1722
- padding: var(--puck-space-px);
1723
- overflow: auto;
1591
+ ._PuckLayout--leftSideBarVisible_1xke2_59 ._PuckLayout-inner_1xke2_36 {
1592
+ grid-template-columns: var(--puck-side-nav-width) var(--puck-left-side-bar-width) var( --puck-frame-width ) 0;
1724
1593
  }
1725
- @media (min-width: 1198px) {
1726
- ._PuckCanvas_18jay_1 {
1727
- padding: calc(var(--puck-space-px) * 1.5);
1728
- padding-top: var(--puck-space-px);
1594
+ ._PuckLayout--rightSideBarVisible_1xke2_67 ._PuckLayout-inner_1xke2_36 {
1595
+ grid-template-columns: var(--puck-side-nav-width) 0 var(--puck-frame-width) var(--puck-side-bar-width);
1596
+ }
1597
+ ._PuckLayout--leftSideBarVisible_1xke2_59._PuckLayout--rightSideBarVisible_1xke2_67 ._PuckLayout-inner_1xke2_36 {
1598
+ grid-template-columns: var(--puck-side-nav-width) var(--puck-left-side-bar-width) var( --puck-frame-width ) var(--puck-right-side-bar-width);
1599
+ }
1600
+ @media (min-width: 458px) {
1601
+ ._PuckLayout-inner_1xke2_36 {
1602
+ --puck-frame-width: minmax(266px, auto);
1729
1603
  }
1730
- ._PuckCanvas_18jay_1:not(._PuckCanvas_18jay_1:has(._PuckCanvas-controls_18jay_16)) {
1731
- padding-top: calc(var(--puck-space-px) * 1.5);
1604
+ }
1605
+ @media (min-width: 638px) {
1606
+ ._PuckLayout_1xke2_36 ._PuckLayout-inner_1xke2_36 {
1607
+ --puck-side-bar-width: minmax(186px, 250px);
1732
1608
  }
1733
1609
  }
1734
- ._PuckCanvas-inner_18jay_21 {
1735
- display: flex;
1736
- height: 100%;
1737
- justify-content: center;
1738
- min-width: 358px;
1739
- position: relative;
1740
- width: 100%;
1610
+ @media (min-width: 766px) {
1611
+ ._PuckLayout_1xke2_36 ._PuckLayout-inner_1xke2_36 {
1612
+ --puck-frame-width: auto;
1613
+ }
1741
1614
  }
1742
- ._PuckCanvas-root_18jay_30 {
1743
- background: white;
1744
- border: 1px solid var(--puck-color-grey-09);
1745
- box-sizing: content-box;
1746
- min-width: 321px;
1747
- position: absolute;
1748
- pointer-events: none;
1749
- transform-origin: top;
1750
- top: 0;
1751
- bottom: 0;
1752
- opacity: 0;
1615
+ @media (min-width: 990px) {
1616
+ ._PuckLayout_1xke2_36 ._PuckLayout-inner_1xke2_36 {
1617
+ --puck-side-bar-width: 256px;
1618
+ }
1753
1619
  }
1754
1620
  @media (min-width: 1198px) {
1755
- ._PuckCanvas-root_18jay_30 {
1756
- min-width: unset;
1621
+ ._PuckLayout_1xke2_36 ._PuckLayout-inner_1xke2_36 {
1622
+ --puck-side-bar-width: 274px;
1757
1623
  }
1758
1624
  }
1759
- @media (prefers-reduced-motion: reduce) {
1760
- ._PuckCanvas-root_18jay_30 {
1761
- transition: none !important;
1625
+ @media (min-width: 1398px) {
1626
+ ._PuckLayout_1xke2_36 ._PuckLayout-inner_1xke2_36 {
1627
+ --puck-side-bar-width: 290px;
1762
1628
  }
1763
1629
  }
1764
- ._PuckCanvas--ready_18jay_55 ._PuckCanvas-root_18jay_30 {
1765
- pointer-events: unset;
1766
- opacity: 1;
1630
+ @media (min-width: 1598px) {
1631
+ ._PuckLayout_1xke2_36 ._PuckLayout-inner_1xke2_36 {
1632
+ --puck-side-bar-width: 320px;
1633
+ }
1767
1634
  }
1768
- ._PuckCanvas-loader_18jay_60 {
1769
- align-items: center;
1770
- color: var(--puck-color-grey-06);
1771
- display: flex;
1772
- height: 100%;
1773
- justify-content: center;
1774
- transition: opacity 250ms ease-out;
1775
- opacity: 0;
1635
+ ._PuckLayout-nav_1xke2_124 {
1636
+ border-right: 1px solid var(--puck-color-grey-09);
1637
+ background-color: var(--puck-color-grey-12);
1776
1638
  }
1777
- ._PuckCanvas--showLoader_18jay_70 ._PuckCanvas-loader_18jay_60 {
1778
- opacity: 1;
1639
+ ._PuckPluginTab_1xke2_129 {
1640
+ display: none;
1779
1641
  }
1780
- ._PuckCanvas--showLoader_18jay_70._PuckCanvas--ready_18jay_55 ._PuckCanvas-loader_18jay_60 {
1781
- opacity: 0;
1782
- height: 0;
1783
- transition: none;
1642
+ ._PuckPluginTab--visible_1xke2_133 {
1643
+ display: block;
1784
1644
  }
1785
1645
 
1786
1646
  /* css-module:/home/runner/work/puck/puck/packages/core/components/MenuBar/styles.module.css/#css-module-data */
@@ -1828,7 +1688,7 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1828
1688
  }
1829
1689
 
1830
1690
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Header/styles.module.css/#css-module-data */
1831
- ._PuckHeader_15xnq_1 {
1691
+ ._PuckHeader_1ehbp_1 {
1832
1692
  background: var(--puck-color-white);
1833
1693
  border-bottom: 1px solid var(--puck-color-grey-09);
1834
1694
  color: var(--puck-color-black);
@@ -1836,8 +1696,14 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1836
1696
  position: relative;
1837
1697
  max-width: 100vw;
1838
1698
  }
1839
- ._PuckHeader-inner_15xnq_10 {
1699
+ @media (min-width: 638px) {
1700
+ ._PuckHeader_1ehbp_1 {
1701
+ padding-left: 67px;
1702
+ }
1703
+ }
1704
+ ._PuckHeader-inner_1ehbp_16 {
1840
1705
  align-items: end;
1706
+ border-left: 1px solid var(--puck-color-grey-09);
1841
1707
  display: grid;
1842
1708
  gap: var(--puck-space-px);
1843
1709
  grid-template-areas: "left middle right";
@@ -1845,61 +1711,261 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1845
1711
  grid-template-rows: auto;
1846
1712
  padding: var(--puck-space-px);
1847
1713
  }
1848
- ._PuckHeader-toggle_15xnq_20 {
1714
+ @media (min-width: 638px) {
1715
+ ._PuckHeader-inner_1ehbp_16 {
1716
+ border-left: 1px solid var(--puck-color-grey-09);
1717
+ }
1718
+ }
1719
+ ._PuckHeader-toggle_1ehbp_33 {
1849
1720
  color: var(--puck-color-grey-05);
1850
1721
  display: flex;
1851
1722
  margin-inline-start: -4px;
1852
1723
  padding-top: 2px;
1853
1724
  }
1854
- ._PuckHeader--rightSideBarVisible_15xnq_27 ._PuckHeader-rightSideBarToggle_15xnq_27,
1855
- ._PuckHeader--leftSideBarVisible_15xnq_28 ._PuckHeader-leftSideBarToggle_15xnq_28 {
1725
+ ._PuckHeader--rightSideBarVisible_1ehbp_40 ._PuckHeader-rightSideBarToggle_1ehbp_40,
1726
+ ._PuckHeader--leftSideBarVisible_1ehbp_41 ._PuckHeader-leftSideBarToggle_1ehbp_41 {
1856
1727
  color: var(--puck-color-black);
1857
1728
  }
1858
- ._PuckHeader-title_15xnq_32 {
1729
+ ._PuckHeader-title_1ehbp_45 {
1859
1730
  align-self: center;
1860
1731
  }
1861
- ._PuckHeader-path_15xnq_36 {
1732
+ ._PuckHeader-path_1ehbp_49 {
1862
1733
  font-family: var(--puck-font-family-monospaced);
1863
1734
  font-size: var(--puck-font-size-xxs);
1864
1735
  font-weight: normal;
1865
1736
  word-break: break-all;
1866
1737
  }
1867
- ._PuckHeader-tools_15xnq_43 {
1738
+ ._PuckHeader-tools_1ehbp_56 {
1868
1739
  display: flex;
1869
1740
  gap: 16px;
1870
1741
  justify-content: flex-end;
1871
1742
  }
1872
- ._PuckHeader-menuButton_15xnq_49 {
1743
+ ._PuckHeader-menuButton_1ehbp_62 {
1873
1744
  color: var(--puck-color-grey-05);
1874
1745
  margin-inline-start: -4px;
1875
1746
  }
1876
- ._PuckHeader--menuOpen_15xnq_54 ._PuckHeader-menuButton_15xnq_49 {
1747
+ ._PuckHeader--menuOpen_1ehbp_67 ._PuckHeader-menuButton_1ehbp_62 {
1877
1748
  color: var(--puck-color-black);
1878
1749
  }
1879
1750
  @media (min-width: 638px) {
1880
- ._PuckHeader-menuButton_15xnq_49 {
1751
+ ._PuckHeader-menuButton_1ehbp_62 {
1881
1752
  display: none;
1882
1753
  }
1883
1754
  }
1884
1755
 
1885
- /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/ResizeHandle/styles.module.css/#css-module-data */
1886
- ._ResizeHandle_v7w0r_1 {
1756
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
1757
+ ._SidebarSection_8boj8_1 {
1758
+ display: flex;
1759
+ position: relative;
1760
+ flex-direction: column;
1761
+ color: var(--puck-color-black);
1762
+ }
1763
+ ._SidebarSection_8boj8_1:last-of-type {
1764
+ flex-grow: 1;
1765
+ }
1766
+ ._SidebarSection-title_8boj8_12 {
1767
+ background: var(--puck-color-white);
1768
+ padding: 16px;
1769
+ border-bottom: 1px solid var(--puck-color-grey-09);
1770
+ border-top: 1px solid var(--puck-color-grey-09);
1771
+ overflow-x: auto;
1772
+ }
1773
+ ._SidebarSection--noBorderTop_8boj8_20 > ._SidebarSection-title_8boj8_12 {
1774
+ border-top: 0px;
1775
+ }
1776
+ ._SidebarSection-content_8boj8_24 {
1777
+ padding: 16px;
1778
+ }
1779
+ ._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24 {
1780
+ padding: 0px;
1781
+ }
1782
+ ._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24:last-child {
1783
+ padding-bottom: 4px;
1784
+ }
1785
+ ._SidebarSection_8boj8_1:last-of-type ._SidebarSection-content_8boj8_24 {
1786
+ border-bottom: none;
1787
+ flex-grow: 1;
1788
+ }
1789
+ ._SidebarSection-breadcrumbLabel_8boj8_41 {
1790
+ background: none;
1791
+ border: 0;
1792
+ border-radius: 2px;
1793
+ color: var(--puck-color-azure-04);
1794
+ cursor: pointer;
1795
+ font: inherit;
1796
+ flex-shrink: 0;
1797
+ padding: 0;
1798
+ transition: color 50ms ease-in;
1799
+ }
1800
+ ._SidebarSection-breadcrumbLabel_8boj8_41:focus-visible {
1801
+ outline: 2px solid var(--puck-color-azure-05);
1802
+ outline-offset: 2px;
1803
+ }
1804
+ @media (hover: hover) and (pointer: fine) {
1805
+ ._SidebarSection-breadcrumbLabel_8boj8_41:hover {
1806
+ color: var(--puck-color-azure-03);
1807
+ transition: none;
1808
+ }
1809
+ }
1810
+ ._SidebarSection-breadcrumbLabel_8boj8_41:active {
1811
+ color: var(--puck-color-azure-02);
1812
+ transition: none;
1813
+ }
1814
+ ._SidebarSection-breadcrumbs_8boj8_70 {
1815
+ align-items: center;
1816
+ display: flex;
1817
+ gap: 4px;
1818
+ }
1819
+ ._SidebarSection-breadcrumb_8boj8_41 {
1820
+ align-items: center;
1821
+ display: flex;
1822
+ gap: 4px;
1823
+ }
1824
+ ._SidebarSection-heading_8boj8_82 {
1825
+ padding-inline-end: 16px;
1826
+ }
1827
+ ._SidebarSection-loadingOverlay_8boj8_86 {
1828
+ background: var(--puck-color-white);
1829
+ display: flex;
1830
+ justify-content: center;
1831
+ align-items: center;
1832
+ height: 100%;
1833
+ width: 100%;
1834
+ top: 0;
1887
1835
  position: absolute;
1888
- width: 5px;
1836
+ z-index: 1;
1837
+ pointer-events: all;
1838
+ box-sizing: border-box;
1839
+ opacity: 0.8;
1840
+ }
1841
+
1842
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/ViewportControls/styles.module.css/#css-module-data */
1843
+ ._ViewportControls_gejzr_1 {
1844
+ display: flex;
1845
+ background: var(--puck-color-grey-11);
1846
+ box-sizing: border-box;
1847
+ border-inline-start: 2px solid var(--puck-color-grey-11);
1848
+ justify-content: center;
1849
+ gap: 8px;
1850
+ min-width: 358px;
1851
+ padding-bottom: 16px;
1852
+ padding-inline-start: var(--puck-space-px);
1853
+ padding-inline-end: var(--puck-space-px);
1854
+ z-index: 1;
1855
+ }
1856
+ ._ViewportControls-divider_gejzr_15 {
1857
+ border-inline-end: 1px solid var(--puck-color-grey-09);
1858
+ margin-inline-start: 8px;
1859
+ margin-inline-end: 8px;
1860
+ }
1861
+ ._ViewportControls-zoomSelect_gejzr_21 {
1862
+ appearance: none;
1863
+ 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;
1864
+ background-size: 10px;
1865
+ background-position: calc(100% - 12px) calc(50% + 3px);
1866
+ background-repeat: no-repeat;
1867
+ border: 0;
1868
+ font-size: var(--puck-font-size-xxxs);
1869
+ padding: 0;
1870
+ width: 96px;
1871
+ }
1872
+ ._ViewportControls-zoomSelect_gejzr_21:dir(rtl) {
1873
+ background-position: 12px calc(50% + 3px);
1874
+ }
1875
+ ._ViewportButton--isActive_gejzr_38 ._ViewportButton-inner_gejzr_38 {
1876
+ color: var(--puck-color-azure-04);
1877
+ }
1878
+
1879
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Canvas/styles.module.css/#css-module-data */
1880
+ ._PuckCanvas_18jay_1 {
1881
+ background: var(--puck-color-grey-11);
1882
+ display: flex;
1883
+ grid-area: editor;
1884
+ flex-direction: column;
1885
+ padding: var(--puck-space-px);
1886
+ overflow: auto;
1887
+ }
1888
+ @media (min-width: 1198px) {
1889
+ ._PuckCanvas_18jay_1 {
1890
+ padding: calc(var(--puck-space-px) * 1.5);
1891
+ padding-top: var(--puck-space-px);
1892
+ }
1893
+ ._PuckCanvas_18jay_1:not(._PuckCanvas_18jay_1:has(._PuckCanvas-controls_18jay_16)) {
1894
+ padding-top: calc(var(--puck-space-px) * 1.5);
1895
+ }
1896
+ }
1897
+ ._PuckCanvas-inner_18jay_21 {
1898
+ display: flex;
1889
1899
  height: 100%;
1890
- cursor: col-resize;
1891
- z-index: 10;
1892
- background: transparent;
1900
+ justify-content: center;
1901
+ min-width: 358px;
1902
+ position: relative;
1903
+ width: 100%;
1904
+ }
1905
+ ._PuckCanvas-root_18jay_30 {
1906
+ background: white;
1907
+ border: 1px solid var(--puck-color-grey-09);
1908
+ box-sizing: content-box;
1909
+ min-width: 321px;
1910
+ position: absolute;
1911
+ pointer-events: none;
1912
+ transform-origin: top;
1893
1913
  top: 0;
1914
+ bottom: 0;
1915
+ opacity: 0;
1916
+ }
1917
+ @media (min-width: 1198px) {
1918
+ ._PuckCanvas-root_18jay_30 {
1919
+ min-width: unset;
1920
+ }
1894
1921
  }
1895
- ._ResizeHandle_v7w0r_1:hover {
1896
- background: rgba(0, 0, 0, 0.1);
1922
+ @media (prefers-reduced-motion: reduce) {
1923
+ ._PuckCanvas-root_18jay_30 {
1924
+ transition: none !important;
1925
+ }
1897
1926
  }
1898
- ._ResizeHandle--left_v7w0r_15 {
1899
- right: -3px;
1927
+ ._PuckCanvas--ready_18jay_55 ._PuckCanvas-root_18jay_30 {
1928
+ pointer-events: unset;
1929
+ opacity: 1;
1930
+ }
1931
+ ._PuckCanvas-loader_18jay_60 {
1932
+ align-items: center;
1933
+ color: var(--puck-color-grey-06);
1934
+ display: flex;
1935
+ height: 100%;
1936
+ justify-content: center;
1937
+ transition: opacity 250ms ease-out;
1938
+ opacity: 0;
1939
+ }
1940
+ ._PuckCanvas--showLoader_18jay_70 ._PuckCanvas-loader_18jay_60 {
1941
+ opacity: 1;
1942
+ }
1943
+ ._PuckCanvas--showLoader_18jay_70._PuckCanvas--ready_18jay_55 ._PuckCanvas-loader_18jay_60 {
1944
+ opacity: 0;
1945
+ height: 0;
1946
+ transition: none;
1900
1947
  }
1901
- ._ResizeHandle--right_v7w0r_19 {
1902
- left: -3px;
1948
+
1949
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/ResizeHandle/styles.module.css/#css-module-data */
1950
+ @media (min-width: 766px) {
1951
+ ._ResizeHandle_144bf_2 {
1952
+ position: absolute;
1953
+ width: 5px;
1954
+ height: 100%;
1955
+ cursor: col-resize;
1956
+ z-index: 10;
1957
+ background: transparent;
1958
+ top: 0;
1959
+ }
1960
+ ._ResizeHandle_144bf_2:hover {
1961
+ background: rgba(0, 0, 0, 0.1);
1962
+ }
1963
+ ._ResizeHandle--left_144bf_16 {
1964
+ right: -3px;
1965
+ }
1966
+ ._ResizeHandle--right_144bf_20 {
1967
+ left: -3px;
1968
+ }
1903
1969
  }
1904
1970
 
1905
1971
  /* components/Puck/components/ResizeHandle/styles.css */
@@ -1943,16 +2009,93 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1943
2009
  justify-self: start;
1944
2010
  }
1945
2011
 
1946
- /* lib/overlay-portal/styles.css */
1947
- [data-puck-overlay-portal],
1948
- [data-puck-overlay-portal] * {
1949
- pointer-events: auto;
2012
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Nav/styles.module.css/#css-module-data */
2013
+ ._Nav-list_b6txo_1 {
2014
+ list-style: none;
2015
+ margin: 0;
2016
+ padding: 0;
1950
2017
  }
1951
- [data-puck-overlay-portal]:hover {
1952
- outline: 2px var(--puck-color-azure-09) solid;
1953
- outline-offset: 2px;
2018
+ ._NavSection_b6txo_7 {
2019
+ padding: 16px;
1954
2020
  }
1955
- [data-puck-overlay-portal]:focus-within {
1956
- outline: 2px var(--puck-color-azure-07) solid;
1957
- outline-offset: 2px;
2021
+ ._NavSection_b6txo_7:first-of-type {
2022
+ padding-top: 32px;
2023
+ }
2024
+ ._Nav--slim_b6txo_15 ._NavSection_b6txo_7 {
2025
+ padding-left: 0;
2026
+ padding-right: 0;
2027
+ }
2028
+ ._Nav--slim_b6txo_15 ._NavSection_b6txo_7 + ._NavSection_b6txo_7 {
2029
+ border-top: 1px solid var(--puck-color-grey-09);
2030
+ }
2031
+ ._NavSection-list_b6txo_24 {
2032
+ display: flex;
2033
+ flex-direction: column;
2034
+ list-style: none;
2035
+ margin: 0;
2036
+ padding: 0;
2037
+ }
2038
+ ._Nav--slim_b6txo_15 ._NavSection-list_b6txo_24 {
2039
+ gap: 16px;
2040
+ }
2041
+ ._NavSection-title_b6txo_36 {
2042
+ font-weight: 700;
2043
+ margin-bottom: 8px;
2044
+ padding-left: 8px;
2045
+ padding-right: 8px;
2046
+ }
2047
+ ._Nav--slim_b6txo_15 ._NavSection-title_b6txo_36 {
2048
+ opacity: 0;
2049
+ }
2050
+ ._NavItem-link_b6txo_47 {
2051
+ align-items: center;
2052
+ color: var(--puck-color-grey-03);
2053
+ display: flex;
2054
+ gap: 8px;
2055
+ text-decoration: none;
2056
+ cursor: pointer;
2057
+ border-radius: 4px;
2058
+ padding: 8px 4px;
2059
+ }
2060
+ ._Nav--slim_b6txo_15 ._NavItem-link_b6txo_47 {
2061
+ border-left: 4px solid transparent;
2062
+ border-right: 4px solid transparent;
2063
+ border-radius: 0;
2064
+ flex-direction: column;
2065
+ font-size: var(--puck-font-size-xxxs);
2066
+ }
2067
+ ._NavItem-linkIcon_b6txo_67 {
2068
+ height: 24px;
2069
+ width: 24px;
2070
+ }
2071
+ ._NavItem--active_b6txo_72 > ._NavItem-link_b6txo_47 {
2072
+ background-color: var(--puck-color-azure-10);
2073
+ color: var(--puck-color-azure-04);
2074
+ font-weight: 600;
2075
+ }
2076
+ ._Nav--slim_b6txo_15 ._NavItem--active_b6txo_72 > ._NavItem-link_b6txo_47 {
2077
+ background-color: transparent;
2078
+ border-right-color: var(--puck-color-azure-04);
2079
+ border-top-right-radius: 0;
2080
+ border-bottom-right-radius: 0;
2081
+ font-weight: 600;
2082
+ }
2083
+ ._NavItem_b6txo_47:not(._NavItem--active_b6txo_72) > ._NavItem-link_b6txo_47:hover {
2084
+ background-color: var(--puck-color-azure-11);
2085
+ color: var(--puck-color-azure-04);
2086
+ }
2087
+ ._NavItem-list_b6txo_91 {
2088
+ border-left: 1px solid var(--puck-color-grey-09);
2089
+ display: flex;
2090
+ flex-direction: column;
2091
+ list-style: none;
2092
+ margin-top: 8px;
2093
+ margin-left: 4px;
2094
+ padding: 0;
2095
+ padding-left: 8px;
2096
+ }
2097
+ ._Nav--slim_b6txo_15 ._NavItem-list_b6txo_91 {
2098
+ border-left: 0;
2099
+ padding-left: 0;
2100
+ margin-left: 0;
1958
2101
  }