@measured/puck 0.20.0-canary.6a211610 → 0.20.0-canary.6aefde61

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.
@@ -1341,166 +1341,6 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1341
1341
  display: none;
1342
1342
  }
1343
1343
 
1344
- /* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
1345
- ._SidebarSection_8boj8_1 {
1346
- display: flex;
1347
- position: relative;
1348
- flex-direction: column;
1349
- color: var(--puck-color-black);
1350
- }
1351
- ._SidebarSection_8boj8_1:last-of-type {
1352
- flex-grow: 1;
1353
- }
1354
- ._SidebarSection-title_8boj8_12 {
1355
- background: var(--puck-color-white);
1356
- padding: 16px;
1357
- border-bottom: 1px solid var(--puck-color-grey-09);
1358
- border-top: 1px solid var(--puck-color-grey-09);
1359
- overflow-x: auto;
1360
- }
1361
- ._SidebarSection--noBorderTop_8boj8_20 > ._SidebarSection-title_8boj8_12 {
1362
- border-top: 0px;
1363
- }
1364
- ._SidebarSection-content_8boj8_24 {
1365
- padding: 16px;
1366
- }
1367
- ._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24 {
1368
- padding: 0px;
1369
- }
1370
- ._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24:last-child {
1371
- padding-bottom: 4px;
1372
- }
1373
- ._SidebarSection_8boj8_1:last-of-type ._SidebarSection-content_8boj8_24 {
1374
- border-bottom: none;
1375
- flex-grow: 1;
1376
- }
1377
- ._SidebarSection-breadcrumbLabel_8boj8_41 {
1378
- background: none;
1379
- border: 0;
1380
- border-radius: 2px;
1381
- color: var(--puck-color-azure-04);
1382
- cursor: pointer;
1383
- font: inherit;
1384
- flex-shrink: 0;
1385
- padding: 0;
1386
- transition: color 50ms ease-in;
1387
- }
1388
- ._SidebarSection-breadcrumbLabel_8boj8_41:focus-visible {
1389
- outline: 2px solid var(--puck-color-azure-05);
1390
- outline-offset: 2px;
1391
- }
1392
- @media (hover: hover) and (pointer: fine) {
1393
- ._SidebarSection-breadcrumbLabel_8boj8_41:hover {
1394
- color: var(--puck-color-azure-03);
1395
- transition: none;
1396
- }
1397
- }
1398
- ._SidebarSection-breadcrumbLabel_8boj8_41:active {
1399
- color: var(--puck-color-azure-02);
1400
- transition: none;
1401
- }
1402
- ._SidebarSection-breadcrumbs_8boj8_70 {
1403
- align-items: center;
1404
- display: flex;
1405
- gap: 4px;
1406
- }
1407
- ._SidebarSection-breadcrumb_8boj8_41 {
1408
- align-items: center;
1409
- display: flex;
1410
- gap: 4px;
1411
- }
1412
- ._SidebarSection-heading_8boj8_82 {
1413
- padding-inline-end: 16px;
1414
- }
1415
- ._SidebarSection-loadingOverlay_8boj8_86 {
1416
- background: var(--puck-color-white);
1417
- display: flex;
1418
- justify-content: center;
1419
- align-items: center;
1420
- height: 100%;
1421
- width: 100%;
1422
- top: 0;
1423
- position: absolute;
1424
- z-index: 1;
1425
- pointer-events: all;
1426
- box-sizing: border-box;
1427
- opacity: 0.8;
1428
- }
1429
-
1430
- /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/styles.module.css/#css-module-data */
1431
- ._Puck_vnhjy_19 {
1432
- --puck-space-px: 16px;
1433
- font-family: var(--puck-font-family);
1434
- overflow-x: hidden;
1435
- }
1436
- @media (min-width: 766px) {
1437
- ._Puck_vnhjy_19 {
1438
- overflow-x: auto;
1439
- }
1440
- }
1441
- ._Puck-portal_vnhjy_31 {
1442
- position: relative;
1443
- z-index: 2;
1444
- }
1445
- ._PuckLayout-inner_vnhjy_38 {
1446
- --puck-frame-width: auto;
1447
- --puck-side-bar-width: 0px;
1448
- display: grid;
1449
- grid-template-areas: "header header header" "left editor right";
1450
- grid-template-columns: 0 var(--puck-frame-width) 0;
1451
- grid-template-rows: min-content auto;
1452
- height: 100dvh;
1453
- position: relative;
1454
- z-index: 0;
1455
- }
1456
- ._PuckLayout--mounted_vnhjy_50 ._PuckLayout-inner_vnhjy_38 {
1457
- --puck-side-bar-width: 186px;
1458
- }
1459
- ._PuckLayout--leftSideBarVisible_vnhjy_54 ._PuckLayout-inner_vnhjy_38 {
1460
- grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) 0;
1461
- }
1462
- ._PuckLayout--rightSideBarVisible_vnhjy_60 ._PuckLayout-inner_vnhjy_38 {
1463
- grid-template-columns: 0 var(--puck-frame-width) var(--puck-side-bar-width);
1464
- }
1465
- ._PuckLayout--leftSideBarVisible_vnhjy_54._PuckLayout--rightSideBarVisible_vnhjy_60 ._PuckLayout-inner_vnhjy_38 {
1466
- grid-template-columns: var(--puck-side-bar-width) var(--puck-frame-width) var(--puck-side-bar-width);
1467
- }
1468
- @media (min-width: 458px) {
1469
- ._PuckLayout-mounted_vnhjy_74 ._PuckLayout-inner_vnhjy_38 {
1470
- --puck-frame-width: minmax(266px, auto);
1471
- }
1472
- }
1473
- @media (min-width: 638px) {
1474
- ._PuckLayout_vnhjy_38 ._PuckLayout-inner_vnhjy_38 {
1475
- --puck-side-bar-width: minmax(186px, 250px);
1476
- }
1477
- }
1478
- @media (min-width: 766px) {
1479
- ._PuckLayout_vnhjy_38 ._PuckLayout-inner_vnhjy_38 {
1480
- --puck-frame-width: auto;
1481
- }
1482
- }
1483
- @media (min-width: 990px) {
1484
- ._PuckLayout_vnhjy_38 ._PuckLayout-inner_vnhjy_38 {
1485
- --puck-side-bar-width: 256px;
1486
- }
1487
- }
1488
- @media (min-width: 1198px) {
1489
- ._PuckLayout_vnhjy_38 ._PuckLayout-inner_vnhjy_38 {
1490
- --puck-side-bar-width: 274px;
1491
- }
1492
- }
1493
- @media (min-width: 1398px) {
1494
- ._PuckLayout_vnhjy_38 ._PuckLayout-inner_vnhjy_38 {
1495
- --puck-side-bar-width: 290px;
1496
- }
1497
- }
1498
- @media (min-width: 1598px) {
1499
- ._PuckLayout_vnhjy_38 ._PuckLayout-inner_vnhjy_38 {
1500
- --puck-side-bar-width: 320px;
1501
- }
1502
- }
1503
-
1504
1344
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Fields/styles.module.css/#css-module-data */
1505
1345
  ._PuckFields_10bh7_1 {
1506
1346
  position: relative;
@@ -1592,6 +1432,11 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1592
1432
  margin-inline-start: auto;
1593
1433
  }
1594
1434
 
1435
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Components/styles.module.css/#css-module-data */
1436
+ ._Components_uwdh8_1 {
1437
+ padding: 16px;
1438
+ }
1439
+
1595
1440
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Preview/styles.module.css/#css-module-data */
1596
1441
  ._PuckPreview_z2rgu_1 {
1597
1442
  position: relative;
@@ -1706,111 +1551,142 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1706
1551
  margin-top: 4px;
1707
1552
  }
1708
1553
 
1709
- /* css-module:/home/runner/work/puck/puck/packages/core/components/ViewportControls/styles.module.css/#css-module-data */
1710
- ._ViewportControls_gejzr_1 {
1711
- display: flex;
1712
- background: var(--puck-color-grey-11);
1713
- box-sizing: border-box;
1714
- border-inline-start: 2px solid var(--puck-color-grey-11);
1715
- justify-content: center;
1716
- gap: 8px;
1717
- min-width: 358px;
1718
- padding-bottom: 16px;
1719
- padding-inline-start: var(--puck-space-px);
1720
- padding-inline-end: var(--puck-space-px);
1721
- z-index: 1;
1722
- }
1723
- ._ViewportControls-divider_gejzr_15 {
1724
- border-inline-end: 1px solid var(--puck-color-grey-09);
1725
- margin-inline-start: 8px;
1726
- margin-inline-end: 8px;
1554
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Outline/styles.module.css/#css-module-data */
1555
+ ._Outline_1rrni_1 {
1556
+ padding: 16px;
1727
1557
  }
1728
- ._ViewportControls-zoomSelect_gejzr_21 {
1729
- appearance: none;
1730
- 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;
1731
- background-size: 10px;
1732
- background-position: calc(100% - 12px) calc(50% + 3px);
1733
- background-repeat: no-repeat;
1734
- border: 0;
1735
- font-size: var(--puck-font-size-xxxs);
1736
- padding: 0;
1737
- width: 96px;
1558
+
1559
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Layout/styles.module.css/#css-module-data */
1560
+ ._Puck_15wj5_19 {
1561
+ --puck-space-px: 16px;
1562
+ font-family: var(--puck-font-family);
1563
+ overflow-x: hidden;
1738
1564
  }
1739
- ._ViewportControls-zoomSelect_gejzr_21:dir(rtl) {
1740
- background-position: 12px calc(50% + 3px);
1565
+ @media (min-width: 766px) {
1566
+ ._Puck_15wj5_19 {
1567
+ overflow-x: auto;
1568
+ }
1741
1569
  }
1742
- ._ViewportButton--isActive_gejzr_38 ._ViewportButton-inner_gejzr_38 {
1743
- color: var(--puck-color-azure-04);
1570
+ ._Puck-portal_15wj5_31 {
1571
+ position: relative;
1572
+ z-index: 2;
1744
1573
  }
1745
-
1746
- /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Canvas/styles.module.css/#css-module-data */
1747
- ._PuckCanvas_18jay_1 {
1748
- background: var(--puck-color-grey-11);
1749
- display: flex;
1750
- grid-area: editor;
1751
- flex-direction: column;
1752
- padding: var(--puck-space-px);
1753
- overflow: auto;
1574
+ ._PuckLayout-inner_15wj5_36 {
1575
+ --puck-frame-width: auto;
1576
+ --puck-side-nav-width: min-content;
1577
+ --puck-side-bar-width: 0px;
1578
+ --puck-left-side-bar-width: var( --puck-user-left-side-bar-width, var(--puck-side-bar-width) );
1579
+ --puck-right-side-bar-width: var( --puck-user-right-side-bar-width, var(--puck-side-bar-width) );
1580
+ display: grid;
1581
+ grid-template-areas: "header" "editor" "left" "right" "sidenav";
1582
+ grid-template-columns: var(--puck-frame-width);
1583
+ grid-template-rows: min-content auto 0 0 var(--puck-side-nav-width);
1584
+ height: 100dvh;
1585
+ position: relative;
1586
+ transition: grid-template-rows 150ms ease-in;
1587
+ z-index: 0;
1588
+ overflow: hidden;
1754
1589
  }
1755
- @media (min-width: 1198px) {
1756
- ._PuckCanvas_18jay_1 {
1757
- padding: calc(var(--puck-space-px) * 1.5);
1758
- padding-top: var(--puck-space-px);
1759
- }
1760
- ._PuckCanvas_18jay_1:not(._PuckCanvas_18jay_1:has(._PuckCanvas-controls_18jay_16)) {
1761
- padding-top: calc(var(--puck-space-px) * 1.5);
1590
+ @media (min-width: 638px) {
1591
+ ._PuckLayout-inner_15wj5_36 {
1592
+ --puck-side-nav-width: 67.5px;
1593
+ grid-template-areas: "header header header header" "sidenav left editor right";
1594
+ grid-template-columns: var(--puck-side-nav-width) 0 var(--puck-frame-width) 0;
1595
+ grid-template-rows: min-content auto;
1762
1596
  }
1763
1597
  }
1764
- ._PuckCanvas-inner_18jay_21 {
1765
- display: flex;
1766
- height: 100%;
1767
- justify-content: center;
1768
- min-width: 358px;
1769
- position: relative;
1770
- width: 100%;
1598
+ ._PuckLayout--mounted_15wj5_68 ._PuckLayout-inner_15wj5_36 {
1599
+ --puck-side-bar-width: 186px;
1771
1600
  }
1772
- ._PuckCanvas-root_18jay_30 {
1773
- background: white;
1774
- border: 1px solid var(--puck-color-grey-09);
1775
- box-sizing: content-box;
1776
- min-width: 321px;
1777
- position: absolute;
1778
- pointer-events: none;
1779
- transform-origin: top;
1780
- top: 0;
1781
- bottom: 0;
1782
- opacity: 0;
1601
+ ._PuckLayout--leftSideBarVisible_15wj5_72 ._PuckLayout-inner_15wj5_36 {
1602
+ grid-template-rows: 0 auto 30% 0 var(--puck-side-nav-width);
1783
1603
  }
1784
- @media (min-width: 1198px) {
1785
- ._PuckCanvas-root_18jay_30 {
1786
- min-width: unset;
1604
+ ._PuckLayout--leftSideBarVisible_15wj5_72._PuckLayout--isExpanded_15wj5_77 ._PuckLayout-inner_15wj5_36 {
1605
+ grid-template-rows: 0 auto 55% 0 var(--puck-side-nav-width);
1606
+ }
1607
+ @media (min-width: 638px) {
1608
+ ._PuckLayout--leftSideBarVisible_15wj5_72 ._PuckLayout-inner_15wj5_36 {
1609
+ grid-template-columns: var(--puck-side-nav-width) var(--puck-left-side-bar-width) var( --puck-frame-width ) 0;
1610
+ grid-template-rows: min-content auto;
1787
1611
  }
1788
1612
  }
1789
- @media (prefers-reduced-motion: reduce) {
1790
- ._PuckCanvas-root_18jay_30 {
1791
- transition: none !important;
1613
+ @media (min-width: 638px) {
1614
+ ._PuckLayout--rightSideBarVisible_15wj5_94 ._PuckLayout-inner_15wj5_36 {
1615
+ grid-template-columns: var(--puck-side-nav-width) 0 var(--puck-frame-width) var(--puck-right-side-bar-width);
1792
1616
  }
1793
1617
  }
1794
- ._PuckCanvas--ready_18jay_55 ._PuckCanvas-root_18jay_30 {
1795
- pointer-events: unset;
1796
- opacity: 1;
1618
+ @media (min-width: 638px) {
1619
+ ._PuckLayout--leftSideBarVisible_15wj5_72._PuckLayout--rightSideBarVisible_15wj5_94 ._PuckLayout-inner_15wj5_36 {
1620
+ grid-template-columns: var(--puck-side-nav-width) var(--puck-left-side-bar-width) var( --puck-frame-width ) var(--puck-right-side-bar-width);
1621
+ }
1797
1622
  }
1798
- ._PuckCanvas-loader_18jay_60 {
1799
- align-items: center;
1800
- color: var(--puck-color-grey-06);
1801
- display: flex;
1802
- height: 100%;
1803
- justify-content: center;
1804
- transition: opacity 250ms ease-out;
1805
- opacity: 0;
1623
+ @media (min-width: 458px) {
1624
+ ._PuckLayout-mounted_15wj5_113 ._PuckLayout-inner_15wj5_36 {
1625
+ --puck-frame-width: minmax(266px, auto);
1626
+ }
1806
1627
  }
1807
- ._PuckCanvas--showLoader_18jay_70 ._PuckCanvas-loader_18jay_60 {
1808
- opacity: 1;
1628
+ @media (min-width: 638px) {
1629
+ ._PuckLayout_15wj5_36 ._PuckLayout-inner_15wj5_36 {
1630
+ --puck-side-bar-width: minmax(186px, 250px);
1631
+ }
1809
1632
  }
1810
- ._PuckCanvas--showLoader_18jay_70._PuckCanvas--ready_18jay_55 ._PuckCanvas-loader_18jay_60 {
1811
- opacity: 0;
1812
- height: 0;
1813
- transition: none;
1633
+ @media (min-width: 766px) {
1634
+ ._PuckLayout_15wj5_36 ._PuckLayout-inner_15wj5_36 {
1635
+ --puck-frame-width: auto;
1636
+ }
1637
+ }
1638
+ @media (min-width: 990px) {
1639
+ ._PuckLayout_15wj5_36 ._PuckLayout-inner_15wj5_36 {
1640
+ --puck-side-bar-width: 256px;
1641
+ }
1642
+ }
1643
+ @media (min-width: 1198px) {
1644
+ ._PuckLayout_15wj5_36 ._PuckLayout-inner_15wj5_36 {
1645
+ --puck-side-bar-width: 274px;
1646
+ }
1647
+ }
1648
+ @media (min-width: 1398px) {
1649
+ ._PuckLayout_15wj5_36 ._PuckLayout-inner_15wj5_36 {
1650
+ --puck-side-bar-width: 290px;
1651
+ }
1652
+ }
1653
+ @media (min-width: 1598px) {
1654
+ ._PuckLayout_15wj5_36 ._PuckLayout-inner_15wj5_36 {
1655
+ --puck-side-bar-width: 320px;
1656
+ }
1657
+ }
1658
+ ._PuckLayout-nav_15wj5_154 {
1659
+ border-top: 1px solid var(--puck-color-grey-09);
1660
+ background-color: var(--puck-color-grey-12);
1661
+ grid-area: sidenav;
1662
+ }
1663
+ @media (min-width: 638px) {
1664
+ ._PuckLayout-nav_15wj5_154 {
1665
+ border-top: 0;
1666
+ border-right: 1px solid var(--puck-color-grey-09);
1667
+ }
1668
+ }
1669
+ ._PuckLayout-header_15wj5_167 {
1670
+ grid-area: header;
1671
+ }
1672
+ ._PuckLayout--leftSideBarVisible_15wj5_72 ._PuckLayout-header_15wj5_167 {
1673
+ overflow: hidden;
1674
+ }
1675
+ @media (min-width: 638px) {
1676
+ ._PuckLayout--leftSideBarVisible_15wj5_72 ._PuckLayout-header_15wj5_167 {
1677
+ overflow: auto;
1678
+ }
1679
+ }
1680
+ ._PuckPluginTab_15wj5_181 {
1681
+ display: none;
1682
+ flex-grow: 1;
1683
+ }
1684
+ ._PuckPluginTab--visible_15wj5_186 {
1685
+ display: flex;
1686
+ flex-direction: column;
1687
+ }
1688
+ ._PuckPluginTab-body_15wj5_191 {
1689
+ flex-grow: 1;
1814
1690
  }
1815
1691
 
1816
1692
  /* css-module:/home/runner/work/puck/puck/packages/core/components/MenuBar/styles.module.css/#css-module-data */
@@ -1858,7 +1734,7 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1858
1734
  }
1859
1735
 
1860
1736
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Header/styles.module.css/#css-module-data */
1861
- ._PuckHeader_15xnq_1 {
1737
+ ._PuckHeader_1bhmt_1 {
1862
1738
  background: var(--puck-color-white);
1863
1739
  border-bottom: 1px solid var(--puck-color-grey-09);
1864
1740
  color: var(--puck-color-black);
@@ -1866,7 +1742,12 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1866
1742
  position: relative;
1867
1743
  max-width: 100vw;
1868
1744
  }
1869
- ._PuckHeader-inner_15xnq_10 {
1745
+ @media (min-width: 638px) {
1746
+ ._PuckHeader_1bhmt_1 {
1747
+ padding-left: 67px;
1748
+ }
1749
+ }
1750
+ ._PuckHeader-inner_1bhmt_16 {
1870
1751
  align-items: end;
1871
1752
  display: grid;
1872
1753
  gap: var(--puck-space-px);
@@ -1875,43 +1756,251 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1875
1756
  grid-template-rows: auto;
1876
1757
  padding: var(--puck-space-px);
1877
1758
  }
1878
- ._PuckHeader-toggle_15xnq_20 {
1759
+ @media (min-width: 638px) {
1760
+ ._PuckHeader-inner_1bhmt_16 {
1761
+ border-left: 1px solid var(--puck-color-grey-09);
1762
+ }
1763
+ }
1764
+ ._PuckHeader-toggle_1bhmt_32 {
1879
1765
  color: var(--puck-color-grey-05);
1880
1766
  display: flex;
1881
1767
  margin-inline-start: -4px;
1882
1768
  padding-top: 2px;
1883
1769
  }
1884
- ._PuckHeader--rightSideBarVisible_15xnq_27 ._PuckHeader-rightSideBarToggle_15xnq_27,
1885
- ._PuckHeader--leftSideBarVisible_15xnq_28 ._PuckHeader-leftSideBarToggle_15xnq_28 {
1770
+ ._PuckHeader--rightSideBarVisible_1bhmt_39 ._PuckHeader-rightSideBarToggle_1bhmt_39,
1771
+ ._PuckHeader--leftSideBarVisible_1bhmt_40 ._PuckHeader-leftSideBarToggle_1bhmt_40 {
1886
1772
  color: var(--puck-color-black);
1887
1773
  }
1888
- ._PuckHeader-title_15xnq_32 {
1774
+ ._PuckHeader-rightSideBarToggle_1bhmt_39,
1775
+ ._PuckHeader-leftSideBarToggle_1bhmt_40 {
1776
+ display: none;
1777
+ }
1778
+ @media (min-width: 638px) {
1779
+ ._PuckHeader-rightSideBarToggle_1bhmt_39,
1780
+ ._PuckHeader-leftSideBarToggle_1bhmt_40 {
1781
+ display: block;
1782
+ }
1783
+ }
1784
+ ._PuckHeader-title_1bhmt_56 {
1889
1785
  align-self: center;
1890
1786
  }
1891
- ._PuckHeader-path_15xnq_36 {
1787
+ ._PuckHeader-path_1bhmt_60 {
1892
1788
  font-family: var(--puck-font-family-monospaced);
1893
1789
  font-size: var(--puck-font-size-xxs);
1894
1790
  font-weight: normal;
1895
1791
  word-break: break-all;
1896
1792
  }
1897
- ._PuckHeader-tools_15xnq_43 {
1793
+ ._PuckHeader-tools_1bhmt_67 {
1898
1794
  display: flex;
1899
1795
  gap: 16px;
1900
1796
  justify-content: flex-end;
1901
1797
  }
1902
- ._PuckHeader-menuButton_15xnq_49 {
1798
+ ._PuckHeader-menuButton_1bhmt_73 {
1903
1799
  color: var(--puck-color-grey-05);
1904
1800
  margin-inline-start: -4px;
1905
1801
  }
1906
- ._PuckHeader--menuOpen_15xnq_54 ._PuckHeader-menuButton_15xnq_49 {
1802
+ ._PuckHeader--menuOpen_1bhmt_78 ._PuckHeader-menuButton_1bhmt_73 {
1907
1803
  color: var(--puck-color-black);
1908
1804
  }
1909
1805
  @media (min-width: 638px) {
1910
- ._PuckHeader-menuButton_15xnq_49 {
1806
+ ._PuckHeader-menuButton_1bhmt_73 {
1911
1807
  display: none;
1912
1808
  }
1913
1809
  }
1914
1810
 
1811
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/SidebarSection/styles.module.css/#css-module-data */
1812
+ ._SidebarSection_8boj8_1 {
1813
+ display: flex;
1814
+ position: relative;
1815
+ flex-direction: column;
1816
+ color: var(--puck-color-black);
1817
+ }
1818
+ ._SidebarSection_8boj8_1:last-of-type {
1819
+ flex-grow: 1;
1820
+ }
1821
+ ._SidebarSection-title_8boj8_12 {
1822
+ background: var(--puck-color-white);
1823
+ padding: 16px;
1824
+ border-bottom: 1px solid var(--puck-color-grey-09);
1825
+ border-top: 1px solid var(--puck-color-grey-09);
1826
+ overflow-x: auto;
1827
+ }
1828
+ ._SidebarSection--noBorderTop_8boj8_20 > ._SidebarSection-title_8boj8_12 {
1829
+ border-top: 0px;
1830
+ }
1831
+ ._SidebarSection-content_8boj8_24 {
1832
+ padding: 16px;
1833
+ }
1834
+ ._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24 {
1835
+ padding: 0px;
1836
+ }
1837
+ ._SidebarSection--noPadding_8boj8_28 > ._SidebarSection-content_8boj8_24:last-child {
1838
+ padding-bottom: 4px;
1839
+ }
1840
+ ._SidebarSection_8boj8_1:last-of-type ._SidebarSection-content_8boj8_24 {
1841
+ border-bottom: none;
1842
+ flex-grow: 1;
1843
+ }
1844
+ ._SidebarSection-breadcrumbLabel_8boj8_41 {
1845
+ background: none;
1846
+ border: 0;
1847
+ border-radius: 2px;
1848
+ color: var(--puck-color-azure-04);
1849
+ cursor: pointer;
1850
+ font: inherit;
1851
+ flex-shrink: 0;
1852
+ padding: 0;
1853
+ transition: color 50ms ease-in;
1854
+ }
1855
+ ._SidebarSection-breadcrumbLabel_8boj8_41:focus-visible {
1856
+ outline: 2px solid var(--puck-color-azure-05);
1857
+ outline-offset: 2px;
1858
+ }
1859
+ @media (hover: hover) and (pointer: fine) {
1860
+ ._SidebarSection-breadcrumbLabel_8boj8_41:hover {
1861
+ color: var(--puck-color-azure-03);
1862
+ transition: none;
1863
+ }
1864
+ }
1865
+ ._SidebarSection-breadcrumbLabel_8boj8_41:active {
1866
+ color: var(--puck-color-azure-02);
1867
+ transition: none;
1868
+ }
1869
+ ._SidebarSection-breadcrumbs_8boj8_70 {
1870
+ align-items: center;
1871
+ display: flex;
1872
+ gap: 4px;
1873
+ }
1874
+ ._SidebarSection-breadcrumb_8boj8_41 {
1875
+ align-items: center;
1876
+ display: flex;
1877
+ gap: 4px;
1878
+ }
1879
+ ._SidebarSection-heading_8boj8_82 {
1880
+ padding-inline-end: 16px;
1881
+ }
1882
+ ._SidebarSection-loadingOverlay_8boj8_86 {
1883
+ background: var(--puck-color-white);
1884
+ display: flex;
1885
+ justify-content: center;
1886
+ align-items: center;
1887
+ height: 100%;
1888
+ width: 100%;
1889
+ top: 0;
1890
+ position: absolute;
1891
+ z-index: 1;
1892
+ pointer-events: all;
1893
+ box-sizing: border-box;
1894
+ opacity: 0.8;
1895
+ }
1896
+
1897
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/ViewportControls/styles.module.css/#css-module-data */
1898
+ ._ViewportControls_gejzr_1 {
1899
+ display: flex;
1900
+ background: var(--puck-color-grey-11);
1901
+ box-sizing: border-box;
1902
+ border-inline-start: 2px solid var(--puck-color-grey-11);
1903
+ justify-content: center;
1904
+ gap: 8px;
1905
+ min-width: 358px;
1906
+ padding-bottom: 16px;
1907
+ padding-inline-start: var(--puck-space-px);
1908
+ padding-inline-end: var(--puck-space-px);
1909
+ z-index: 1;
1910
+ }
1911
+ ._ViewportControls-divider_gejzr_15 {
1912
+ border-inline-end: 1px solid var(--puck-color-grey-09);
1913
+ margin-inline-start: 8px;
1914
+ margin-inline-end: 8px;
1915
+ }
1916
+ ._ViewportControls-zoomSelect_gejzr_21 {
1917
+ appearance: none;
1918
+ 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;
1919
+ background-size: 10px;
1920
+ background-position: calc(100% - 12px) calc(50% + 3px);
1921
+ background-repeat: no-repeat;
1922
+ border: 0;
1923
+ font-size: var(--puck-font-size-xxxs);
1924
+ padding: 0;
1925
+ width: 96px;
1926
+ }
1927
+ ._ViewportControls-zoomSelect_gejzr_21:dir(rtl) {
1928
+ background-position: 12px calc(50% + 3px);
1929
+ }
1930
+ ._ViewportButton--isActive_gejzr_38 ._ViewportButton-inner_gejzr_38 {
1931
+ color: var(--puck-color-azure-04);
1932
+ }
1933
+
1934
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Canvas/styles.module.css/#css-module-data */
1935
+ ._PuckCanvas_18jay_1 {
1936
+ background: var(--puck-color-grey-11);
1937
+ display: flex;
1938
+ grid-area: editor;
1939
+ flex-direction: column;
1940
+ padding: var(--puck-space-px);
1941
+ overflow: auto;
1942
+ }
1943
+ @media (min-width: 1198px) {
1944
+ ._PuckCanvas_18jay_1 {
1945
+ padding: calc(var(--puck-space-px) * 1.5);
1946
+ padding-top: var(--puck-space-px);
1947
+ }
1948
+ ._PuckCanvas_18jay_1:not(._PuckCanvas_18jay_1:has(._PuckCanvas-controls_18jay_16)) {
1949
+ padding-top: calc(var(--puck-space-px) * 1.5);
1950
+ }
1951
+ }
1952
+ ._PuckCanvas-inner_18jay_21 {
1953
+ display: flex;
1954
+ height: 100%;
1955
+ justify-content: center;
1956
+ min-width: 358px;
1957
+ position: relative;
1958
+ width: 100%;
1959
+ }
1960
+ ._PuckCanvas-root_18jay_30 {
1961
+ background: white;
1962
+ border: 1px solid var(--puck-color-grey-09);
1963
+ box-sizing: content-box;
1964
+ min-width: 321px;
1965
+ position: absolute;
1966
+ pointer-events: none;
1967
+ transform-origin: top;
1968
+ top: 0;
1969
+ bottom: 0;
1970
+ opacity: 0;
1971
+ }
1972
+ @media (min-width: 1198px) {
1973
+ ._PuckCanvas-root_18jay_30 {
1974
+ min-width: unset;
1975
+ }
1976
+ }
1977
+ @media (prefers-reduced-motion: reduce) {
1978
+ ._PuckCanvas-root_18jay_30 {
1979
+ transition: none !important;
1980
+ }
1981
+ }
1982
+ ._PuckCanvas--ready_18jay_55 ._PuckCanvas-root_18jay_30 {
1983
+ pointer-events: unset;
1984
+ opacity: 1;
1985
+ }
1986
+ ._PuckCanvas-loader_18jay_60 {
1987
+ align-items: center;
1988
+ color: var(--puck-color-grey-06);
1989
+ display: flex;
1990
+ height: 100%;
1991
+ justify-content: center;
1992
+ transition: opacity 250ms ease-out;
1993
+ opacity: 0;
1994
+ }
1995
+ ._PuckCanvas--showLoader_18jay_70 ._PuckCanvas-loader_18jay_60 {
1996
+ opacity: 1;
1997
+ }
1998
+ ._PuckCanvas--showLoader_18jay_70._PuckCanvas--ready_18jay_55 ._PuckCanvas-loader_18jay_60 {
1999
+ opacity: 0;
2000
+ height: 0;
2001
+ transition: none;
2002
+ }
2003
+
1915
2004
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/ResizeHandle/styles.module.css/#css-module-data */
1916
2005
  @media (min-width: 766px) {
1917
2006
  ._ResizeHandle_144bf_2 {
@@ -1946,31 +2035,197 @@ body:has(._DropZone--isAnimating_1i2sv_68:empty) [data-puck-overlay] {
1946
2035
  }
1947
2036
 
1948
2037
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Sidebar/styles.module.css/#css-module-data */
1949
- ._Sidebar_1xksb_1 {
2038
+ ._Sidebar_13jxp_1 {
2039
+ border-block-start: 1px solid var(--puck-color-grey-09);
1950
2040
  position: relative;
1951
2041
  display: flex;
1952
2042
  flex-direction: column;
1953
2043
  overflow-y: auto;
1954
2044
  }
1955
- ._Sidebar--left_1xksb_8 {
2045
+ ._Sidebar--left_13jxp_9 {
1956
2046
  background: var(--puck-color-grey-12);
1957
- border-inline-end: 1px solid var(--puck-color-grey-09);
1958
2047
  grid-area: left;
1959
2048
  }
1960
- ._Sidebar--right_1xksb_14 {
2049
+ @media (min-width: 766px) {
2050
+ ._Sidebar--left_13jxp_9 {
2051
+ border-block-start: 0;
2052
+ border-inline-end: 1px solid var(--puck-color-grey-09);
2053
+ }
2054
+ }
2055
+ ._Sidebar--right_13jxp_21 {
1961
2056
  background: var(--puck-color-white);
1962
- border-inline-start: 1px solid var(--puck-color-grey-09);
1963
2057
  grid-area: right;
1964
2058
  }
1965
- ._Sidebar-resizeHandle_1xksb_20 {
2059
+ @media (min-width: 766px) {
2060
+ ._Sidebar--right_13jxp_21 {
2061
+ border-block-start: 0;
2062
+ border-inline-start: 1px solid var(--puck-color-grey-09);
2063
+ }
2064
+ }
2065
+ ._Sidebar-resizeHandle_13jxp_33 {
1966
2066
  position: absolute;
1967
2067
  height: 100%;
1968
2068
  }
1969
- ._Sidebar--left_1xksb_8 + ._Sidebar-resizeHandle_1xksb_20 {
2069
+ ._Sidebar--left_13jxp_9 + ._Sidebar-resizeHandle_13jxp_33 {
1970
2070
  grid-area: left;
1971
2071
  justify-self: end;
1972
2072
  }
1973
- ._Sidebar--right_1xksb_14 + ._Sidebar-resizeHandle_1xksb_20 {
2073
+ ._Sidebar--right_13jxp_21 + ._Sidebar-resizeHandle_13jxp_33 {
1974
2074
  grid-area: right;
1975
2075
  justify-self: start;
1976
2076
  }
2077
+
2078
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Nav/styles.module.css/#css-module-data */
2079
+ ._Nav-list_nlhxk_1 {
2080
+ list-style: none;
2081
+ margin: 0;
2082
+ padding-left: 16px;
2083
+ padding-right: 16px;
2084
+ }
2085
+ @media (min-width: 638px) {
2086
+ ._Nav-list_nlhxk_1 {
2087
+ padding-left: 0;
2088
+ padding-right: 0;
2089
+ }
2090
+ }
2091
+ @media (min-width: 638px) {
2092
+ ._NavSection_nlhxk_16 {
2093
+ padding: 16px;
2094
+ }
2095
+ ._NavSection_nlhxk_16:first-of-type {
2096
+ padding-top: 32px;
2097
+ }
2098
+ }
2099
+ ._Nav--slim_nlhxk_25 ._NavSection_nlhxk_16 {
2100
+ padding-left: 0;
2101
+ padding-right: 0;
2102
+ }
2103
+ ._Nav--slim_nlhxk_25 ._NavSection_nlhxk_16 + ._NavSection_nlhxk_16 {
2104
+ border-top: 1px solid var(--puck-color-grey-09);
2105
+ }
2106
+ ._NavSection-list_nlhxk_34 {
2107
+ display: flex;
2108
+ list-style: none;
2109
+ margin: 0;
2110
+ padding: 0;
2111
+ }
2112
+ @media (min-width: 638px) {
2113
+ ._NavSection-list_nlhxk_34 {
2114
+ flex-direction: column;
2115
+ }
2116
+ }
2117
+ ._Nav--slim_nlhxk_25 ._NavSection-list_nlhxk_34 {
2118
+ gap: 8px;
2119
+ }
2120
+ @media (min-width: 638px) {
2121
+ ._Nav--slim_nlhxk_25 ._NavSection-list_nlhxk_34 {
2122
+ gap: 16px;
2123
+ }
2124
+ }
2125
+ ._NavSection-title_nlhxk_57 {
2126
+ font-weight: 700;
2127
+ margin-bottom: 8px;
2128
+ padding-left: 8px;
2129
+ padding-right: 8px;
2130
+ }
2131
+ ._Nav--slim_nlhxk_25 ._NavSection-title_nlhxk_57 {
2132
+ opacity: 0;
2133
+ }
2134
+ ._NavItem-link_nlhxk_68 {
2135
+ align-items: center;
2136
+ color: var(--puck-color-grey-03);
2137
+ display: flex;
2138
+ gap: 8px;
2139
+ text-decoration: none;
2140
+ cursor: pointer;
2141
+ border-radius: 4px;
2142
+ padding: 8px 4px;
2143
+ width: 64px;
2144
+ box-sizing: border-box;
2145
+ }
2146
+ @media (min-width: 638px) {
2147
+ ._NavItem-link_nlhxk_68 {
2148
+ width: auto;
2149
+ }
2150
+ }
2151
+ ._Nav--slim_nlhxk_25 ._NavItem-link_nlhxk_68 {
2152
+ border-top: 4px solid transparent;
2153
+ border-bottom: 4px solid transparent;
2154
+ border-radius: 0;
2155
+ flex-direction: column;
2156
+ font-size: var(--puck-font-size-xxxs);
2157
+ }
2158
+ @media (min-width: 638px) {
2159
+ ._Nav--slim_nlhxk_25 ._NavItem-link_nlhxk_68 {
2160
+ border: 0;
2161
+ border-left: 4px solid transparent;
2162
+ border-right: 4px solid transparent;
2163
+ }
2164
+ }
2165
+ ._NavItem-linkIcon_nlhxk_103 {
2166
+ height: 24px;
2167
+ width: 24px;
2168
+ }
2169
+ ._NavItem--active_nlhxk_108 > ._NavItem-link_nlhxk_68 {
2170
+ background-color: var(--puck-color-azure-10);
2171
+ color: var(--puck-color-azure-04);
2172
+ font-weight: 600;
2173
+ }
2174
+ ._Nav--slim_nlhxk_25 ._NavItem--active_nlhxk_108 > ._NavItem-link_nlhxk_68 {
2175
+ background-color: transparent;
2176
+ border-top-color: var(--puck-color-azure-04);
2177
+ border-top-right-radius: 0;
2178
+ border-bottom-right-radius: 0;
2179
+ font-weight: 600;
2180
+ }
2181
+ @media (min-width: 638px) {
2182
+ ._Nav--slim_nlhxk_25 ._NavItem--active_nlhxk_108 > ._NavItem-link_nlhxk_68 {
2183
+ border-top-color: transparent;
2184
+ border-right-color: var(--puck-color-azure-04);
2185
+ }
2186
+ }
2187
+ ._NavItem_nlhxk_68:not(._NavItem--active_nlhxk_108) > ._NavItem-link_nlhxk_68:hover {
2188
+ background-color: var(--puck-color-azure-11);
2189
+ color: var(--puck-color-azure-04);
2190
+ }
2191
+ ._NavItem-list_nlhxk_134 {
2192
+ border-left: 1px solid var(--puck-color-grey-09);
2193
+ display: flex;
2194
+ flex-direction: column;
2195
+ list-style: none;
2196
+ margin-top: 8px;
2197
+ margin-left: 4px;
2198
+ padding: 0;
2199
+ padding-left: 8px;
2200
+ }
2201
+ ._Nav--slim_nlhxk_25 ._NavItem-list_nlhxk_134 {
2202
+ border-left: 0;
2203
+ padding-left: 0;
2204
+ margin-left: 0;
2205
+ }
2206
+ ._Nav_nlhxk_1 {
2207
+ display: flex;
2208
+ }
2209
+ @media (min-width: 638px) {
2210
+ ._Nav_nlhxk_1 {
2211
+ display: block;
2212
+ }
2213
+ }
2214
+ @media (min-width: 638px) {
2215
+ ._NavItem--mobileOnly_nlhxk_162 {
2216
+ display: none;
2217
+ }
2218
+ }
2219
+ ._Nav-mobileActions_nlhxk_167 {
2220
+ align-items: center;
2221
+ display: flex;
2222
+ justify-content: center;
2223
+ margin-inline-start: auto;
2224
+ padding: 4px 16px;
2225
+ border-inline-start: 1px solid var(--puck-color-grey-09);
2226
+ }
2227
+ @media (min-width: 638px) {
2228
+ ._Nav-mobileActions_nlhxk_167 {
2229
+ display: none;
2230
+ }
2231
+ }