@puckeditor/core 0.23.0-canary.9bf3e00a → 0.23.0-canary.db035ce5

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.
Files changed (43) hide show
  1. package/dist/{Editor-ZZW3KF2T.css → Editor-T7TKW6NT.css} +7 -7
  2. package/dist/{Editor-BJP5AFD5.mjs → Editor-Z6P5UAVB.mjs} +8 -8
  3. package/dist/{actions-Csn3gOP8.d.mts → actions-3w-1VzY_.d.mts} +7 -1
  4. package/dist/{actions-Csn3gOP8.d.ts → actions-3w-1VzY_.d.ts} +7 -1
  5. package/dist/{chunk-WQV7W7OC.mjs → chunk-3OLRWMRO.mjs} +7 -7
  6. package/dist/{chunk-JNJJ2M57.mjs → chunk-3TERNOIP.mjs} +1 -1
  7. package/dist/{chunk-JHNG6XYK.mjs → chunk-DIYX54ZO.mjs} +19 -5
  8. package/dist/{chunk-HB4CVO3I.mjs → chunk-L73ATZ55.mjs} +1 -1
  9. package/dist/{chunk-WUO7D6OQ.mjs → chunk-NPAYGEG5.mjs} +1 -0
  10. package/dist/{chunk-MU6IPW26.mjs → chunk-OCFR2FFG.mjs} +1 -1
  11. package/dist/{chunk-Q6WCB6GM.mjs → chunk-OQD6Q7CY.mjs} +1835 -706
  12. package/dist/{chunk-EYJW64M2.mjs → chunk-OSPG5CWL.mjs} +1 -1
  13. package/dist/{chunk-BMRBP3ET.mjs → chunk-PJYHZPJK.mjs} +3 -3
  14. package/dist/{chunk-25QAPMLH.mjs → chunk-UAWUZ45G.mjs} +41 -18
  15. package/dist/{full-7ONH7UPJ.mjs → full-67VCA5MX.mjs} +7 -7
  16. package/dist/{full-S3QQ2IBQ.css → full-AAZK6KLI.css} +7 -7
  17. package/dist/{index-De5Tn61v.d.mts → index-KWLAZybR.d.ts} +8 -3
  18. package/dist/{index-t7c1w81O.d.ts → index-l1l-a8tj.d.mts} +8 -3
  19. package/dist/index.css +308 -111
  20. package/dist/index.d.mts +6 -8
  21. package/dist/index.d.ts +6 -8
  22. package/dist/index.js +1940 -725
  23. package/dist/index.mjs +10 -10
  24. package/dist/internal.d.mts +2 -2
  25. package/dist/internal.d.ts +2 -2
  26. package/dist/internal.js +40 -18
  27. package/dist/internal.mjs +1 -1
  28. package/dist/{loaded-PF5Y4VWH.mjs → loaded-4XVG2RKQ.mjs} +4 -4
  29. package/dist/{loaded-FVWRAJR3.css → loaded-CA3Q7UHH.css} +7 -7
  30. package/dist/{loaded-35D7XAOE.mjs → loaded-LM723CWI.mjs} +4 -4
  31. package/dist/{loaded-6YDNF4HS.mjs → loaded-VBJBTUSI.mjs} +4 -4
  32. package/dist/no-external.css +308 -111
  33. package/dist/no-external.d.mts +3 -3
  34. package/dist/no-external.d.ts +3 -3
  35. package/dist/no-external.js +1940 -725
  36. package/dist/no-external.mjs +10 -10
  37. package/dist/rsc.d.mts +2 -2
  38. package/dist/rsc.d.ts +2 -2
  39. package/dist/rsc.js +1 -0
  40. package/dist/rsc.mjs +2 -2
  41. package/dist/{walk-tree-CWrsBHHe.d.ts → walk-tree-ConR82Y6.d.ts} +1 -1
  42. package/dist/{walk-tree-BrW9VQ_t.d.mts → walk-tree-DJMo6GTF.d.mts} +1 -1
  43. package/package.json +1 -1
@@ -107,6 +107,7 @@
107
107
  --puck-color-focus-ring: var(--puck-color-azure-05);
108
108
  --puck-color-selection-bg: color-mix( in srgb, var(--puck-color-azure-09) 30%, transparent );
109
109
  --puck-color-selection-border: var(--puck-color-azure-08);
110
+ --puck-color-insertion-indicator: var(--puck-color-azure-06);
110
111
  --puck-color-highlight: var(--puck-color-rose-07);
111
112
  --puck-color-bg-disabled: var(--puck-color-grey-07);
112
113
  --puck-color-text-disabled: var(--puck-color-grey-03);
@@ -141,6 +142,7 @@
141
142
  --puck-font-weight-heavy: 800;
142
143
  --puck-letter-spacing-ui: 0.05ch;
143
144
  --puck-letter-spacing-heading: 0.08ch;
145
+ --puck-icon-size-xs: 14px;
144
146
  --puck-icon-size-s: 16px;
145
147
  --puck-icon-size-m: 18px;
146
148
  --puck-icon-size-l: 24px;
@@ -674,7 +676,7 @@ textarea._Input-input_qyenz_29 {
674
676
  }
675
677
 
676
678
  /* css-module:/home/runner/work/puck/puck/packages/core/components/IconButton/IconButton.module.css/#css-module-data */
677
- ._IconButton_yuha3_1 {
679
+ ._IconButton_1pxxt_1 {
678
680
  align-items: center;
679
681
  background: var(--puck-iconbutton-color-bg, transparent);
680
682
  border: none;
@@ -686,26 +688,26 @@ textarea._Input-input_qyenz_29 {
686
688
  padding: var(--puck-iconbutton-space, var(--puck-space-1));
687
689
  transition: background-color var(--puck-duration-fast) var(--puck-ease-exit), color var(--puck-duration-fast) var(--puck-ease-exit);
688
690
  }
689
- ._IconButton--active_yuha3_15 {
691
+ ._IconButton--active_1pxxt_15 {
690
692
  color: var( --puck-iconbutton-color-icon-active, var(--puck-color-interactive) );
691
693
  }
692
- ._IconButton_yuha3_1:focus-visible {
694
+ ._IconButton_1pxxt_1:focus-visible {
693
695
  outline: var(--puck-border-width-focus) solid var(--puck-color-focus-ring);
694
696
  outline-offset: calc(var(--puck-border-width-focus) * -1);
695
697
  }
696
698
  @media (hover: hover) and (pointer: fine) {
697
- ._IconButton_yuha3_1:hover:not(._IconButton--disabled_yuha3_28) {
698
- background: var( --puck-iconbutton-color-bg-hover, var(--puck-color-interactive-neutral-hover) );
699
+ ._IconButton_1pxxt_1:hover:not(._IconButton--disabled_1pxxt_28) {
700
+ background: var( --_puck-iconbutton-color-bg-hover, var( --puck-iconbutton-color-bg-hover, var(--puck-color-interactive-neutral-hover) ) );
699
701
  color: var( --puck-iconbutton-color-icon-hover, var(--puck-color-interactive) );
700
702
  cursor: pointer;
701
703
  transition: none;
702
704
  }
703
705
  }
704
- ._IconButton_yuha3_1:active {
706
+ ._IconButton_1pxxt_1:active {
705
707
  background: var( --puck-iconbutton-color-bg-active, var(--puck-color-interactive-soft) );
706
708
  transition: none;
707
709
  }
708
- ._IconButton--disabled_yuha3_28 {
710
+ ._IconButton--disabled_1pxxt_28 {
709
711
  color: var( --puck-iconbutton-color-icon-disabled, var(--puck-color-text-subtle) );
710
712
  }
711
713
 
@@ -1814,138 +1816,327 @@ body:has(._DropZone--isAnimating_ybznu_62:empty) [data-puck-overlay] {
1814
1816
  }
1815
1817
 
1816
1818
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Preview/styles.module.css/#css-module-data */
1817
- ._PuckPreview_z2rgu_1 {
1819
+ ._PuckPreview_zbic3_1 {
1818
1820
  position: relative;
1819
1821
  height: 100%;
1820
1822
  }
1821
- ._PuckPreview-frame_z2rgu_6 {
1823
+ ._PuckPreview-frame_zbic3_6 {
1822
1824
  border: none;
1823
1825
  height: 100%;
1824
1826
  width: 100%;
1825
1827
  }
1828
+ ._PuckPreview-frame_zbic3_6[data-puck-outline-dragging] {
1829
+ pointer-events: none;
1830
+ }
1826
1831
 
1827
- /* css-module:/home/runner/work/puck/puck/packages/core/components/LayerTree/styles.module.css/#css-module-data */
1828
- ._LayerTree_1vltj_1 {
1829
- color: var(--puck-outline-color-text, var(--puck-color-text-secondary));
1830
- font-family: var(--puck-font-family);
1831
- font-size: var(--puck-outline-font-size, var(--puck-font-size-xxs));
1832
- margin: 0;
1833
- position: relative;
1834
- list-style: none;
1835
- padding: 0;
1832
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/LayerTree/components/drop-line/styles.module.css/#css-module-data */
1833
+ ._DropLine_eyz3q_2 {
1834
+ background: var(--_puck-outline-color-drop-indicator);
1835
+ border-radius: calc(var(--_puck-outline-drop-indicator-size) / 2);
1836
+ height: var(--_puck-outline-drop-indicator-size);
1837
+ inset-inline: 0;
1838
+ pointer-events: none;
1839
+ position: absolute;
1840
+ z-index: 1;
1836
1841
  }
1837
- ._LayerTree-zoneTitle_1vltj_11 {
1838
- color: var(--puck-outline-zone-color-text, var(--puck-color-text-muted));
1839
- font-size: var(--puck-outline-zone-font-size, var(--puck-font-size-xxxs));
1840
- text-transform: uppercase;
1842
+ ._DropLine--top_eyz3q_12 {
1843
+ top: 0;
1841
1844
  }
1842
- ._LayerTree-helper_1vltj_17 {
1843
- text-align: center;
1844
- color: var(--puck-color-text-subtle);
1845
- margin: var(--puck-space-2) var(--puck-space-1);
1845
+ ._DropLine--bottom_eyz3q_16 {
1846
+ bottom: 0;
1847
+ }
1848
+ ._DropLine--top_eyz3q_12._DropLine--outset_eyz3q_20 {
1849
+ top: calc(-1 * var(--_puck-outline-drop-indicator-size));
1846
1850
  }
1847
- ._Layer_1vltj_1 {
1851
+ ._DropLine--bottom_eyz3q_16._DropLine--outset_eyz3q_20 {
1852
+ bottom: calc(-1 * var(--_puck-outline-drop-indicator-size));
1853
+ }
1854
+
1855
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/LayerTree/components/empty-zone-placeholder/styles.module.css/#css-module-data */
1856
+ ._LayerTree-helper_1niov_2 {
1857
+ color: var(--puck-outline-color-text-helper, var(--puck-color-text-subtle));
1858
+ padding-top: var(--puck-space-1);
1859
+ padding-bottom: var(--puck-space-1);
1860
+ padding-inline-start: var(--_puck-outline-label-indent);
1861
+ border: var(--_puck-outline-border-width) solid transparent;
1862
+ }
1863
+ ._LayerTree-helper_1niov_2[data-puck-drop-target] {
1864
+ position: relative;
1865
+ overflow: visible;
1866
+ }
1867
+
1868
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/LayerTree/components/layer/styles.module.css/#css-module-data */
1869
+ ._Layer_1o110_1 {
1848
1870
  position: relative;
1849
- border: var(--puck-outline-border-width, var(--puck-border-width-regular)) solid transparent;
1850
- border-radius: var(--puck-outline-radius, var(--puck-radius-m));
1871
+ border: var(--_puck-outline-border-width) solid transparent;
1872
+ border-radius: var(--_puck-outline-radius);
1851
1873
  }
1852
- ._Layer-inner_1vltj_30 {
1853
- border: var(--puck-outline-border-width, var(--puck-border-width-regular)) solid transparent;
1854
- border-radius: var(--puck-outline-radius, var(--puck-radius-m));
1874
+ ._Layer-inner_1o110_8 {
1875
+ align-items: center;
1876
+ border: var(--_puck-outline-border-width) solid transparent;
1877
+ border-radius: var(--_puck-outline-radius);
1878
+ cursor: pointer;
1879
+ display: flex;
1880
+ position: relative;
1855
1881
  transition: color var(--puck-duration-fast) var(--puck-ease-exit);
1856
1882
  }
1857
- ._Layer--containsZone_1vltj_37 > ._Layer-inner_1vltj_30 {
1858
- padding-inline-start: 0;
1883
+ ._Layer--isSortable_1o110_18 > ._Layer-inner_1o110_8 {
1884
+ cursor: grab;
1859
1885
  }
1860
- ._Layer-clickable_1vltj_41 {
1886
+ ._Layer-content_1o110_22 {
1887
+ display: flex;
1888
+ gap: var(--puck-space-4);
1889
+ flex: 1 1 auto;
1890
+ min-width: 0;
1891
+ }
1892
+ ._Layer-clickable_1o110_29 {
1861
1893
  align-items: center;
1862
1894
  background: none;
1863
1895
  border: 0;
1864
- border-radius: var(--puck-outline-radius, var(--puck-radius-m));
1896
+ border-radius: var(--_puck-outline-radius);
1865
1897
  color: inherit;
1866
- cursor: pointer;
1898
+ cursor: inherit;
1867
1899
  display: flex;
1900
+ flex: 1 1 auto;
1868
1901
  font: inherit;
1869
- padding-inline-start: var(--puck-space-3);
1870
- padding-inline-end: var(--puck-space-1);
1871
- width: 100%;
1902
+ min-width: 0;
1903
+ padding: 0;
1872
1904
  }
1873
- ._Layer-clickable_1vltj_41:focus-visible {
1905
+ [data-puck-dnd-disabled] ._Layer-inner_1o110_8,
1906
+ [data-puck-dnd-disabled] ._Layer-clickable_1o110_29 {
1907
+ cursor: pointer;
1908
+ }
1909
+ ._Layer-clickable_1o110_29:focus-visible {
1874
1910
  outline: var(--puck-border-width-focus) solid var(--puck-color-focus-ring);
1875
1911
  outline-offset: var(--puck-border-width-focus);
1876
1912
  position: relative;
1877
1913
  z-index: 1;
1878
1914
  }
1915
+ ._Layer-caret_1o110_57 {
1916
+ visibility: hidden;
1917
+ display: flex;
1918
+ flex-shrink: 0;
1919
+ }
1920
+ ._Layer-caret_1o110_57 svg {
1921
+ height: var(--_puck-outline-caret-size);
1922
+ width: var(--_puck-outline-caret-size);
1923
+ }
1924
+ ._Layer--containsZone_1o110_68 > ._Layer-inner_1o110_8 > ._Layer-content_1o110_22 {
1925
+ font-weight: var(--puck-font-weight-bold);
1926
+ }
1927
+ ._Layer--containsZone_1o110_68 > ._Layer-inner_1o110_8 > ._Layer-caret_1o110_57 {
1928
+ visibility: visible;
1929
+ }
1930
+ ._Layer-title_1o110_76 {
1931
+ display: flex;
1932
+ gap: var(--puck-space-2);
1933
+ align-items: center;
1934
+ overflow-x: hidden;
1935
+ margin: var(--puck-space-1);
1936
+ cursor: pointer;
1937
+ }
1938
+ ._Layer-name_1o110_85 {
1939
+ overflow-x: hidden;
1940
+ text-overflow: ellipsis;
1941
+ white-space: nowrap;
1942
+ }
1943
+ ._Layer-icon_1o110_91 {
1944
+ color: var(--puck-outline-color-icon, var(--puck-color-text-subtle));
1945
+ margin-top: var(--puck-space-1);
1946
+ }
1947
+ ._Layer-icon_1o110_91 svg {
1948
+ height: var(--_puck-outline-icon-size);
1949
+ width: var(--_puck-outline-icon-size);
1950
+ }
1951
+ ._Layer-zones_1o110_101 {
1952
+ display: none;
1953
+ margin-inline-start: var(--puck-outline-space-indent, var(--puck-space-4));
1954
+ }
1955
+ ._Layer--isExpanded_1o110_106 > ._Layer-zones_1o110_101 {
1956
+ display: block;
1957
+ }
1958
+ ._Layer--isExpanded_1o110_106 > ._Layer-inner_1o110_8 > ._Layer-caret_1o110_57 svg {
1959
+ transform: rotate(90deg);
1960
+ }
1879
1961
  @media (hover: hover) and (pointer: fine) {
1880
- ._Layer_1vltj_1:not(._Layer--isSelected_1vltj_63) > ._Layer-inner_1vltj_30:hover {
1881
- border-color: var( --puck-outline-color-border-hover, var(--puck-color-interactive-subtle) );
1882
- background: var( --puck-outline-color-bg-hover, var(--puck-color-interactive-soft) );
1883
- color: var(--puck-outline-color-text-hover, var(--puck-color-interactive));
1962
+ ._Layer_1o110_1:not(._Layer--isSelected_1o110_115) > ._Layer-inner_1o110_8:hover {
1963
+ --_puck-outline-actions-color-bg: var(--_puck-outline-color-bg-hover);
1964
+ border-color: var(--_puck-outline-color-border-hover);
1965
+ background: var(--_puck-outline-color-bg-hover);
1884
1966
  transition: none;
1885
1967
  }
1886
1968
  }
1887
- ._Layer--isSelected_1vltj_63 {
1969
+ ._Layer--isSelected_1o110_115 {
1888
1970
  border-color: var( --puck-outline-color-border-selected, var(--puck-color-selection-border) );
1889
1971
  }
1890
- ._Layer--isSelected_1vltj_63 > ._Layer-inner_1vltj_30 {
1891
- background: var( --puck-outline-color-bg-selected, var(--puck-color-interactive-subtle) );
1972
+ ._Layer--isSelected_1o110_115 > ._Layer-inner_1o110_8 {
1973
+ --_puck-outline-actions-color-bg: var(--_puck-outline-color-bg-selected);
1974
+ background: var(--_puck-outline-color-bg-selected);
1892
1975
  }
1893
- ._Layer--isSelected_1vltj_63 > ._Layer-inner_1vltj_30 > ._Layer-clickable_1vltj_41 > ._Layer-chevron_1vltj_91,
1894
- ._Layer--childIsSelected_1vltj_92 > ._Layer-inner_1vltj_30 > ._Layer-clickable_1vltj_41 > ._Layer-chevron_1vltj_91 {
1895
- transform: scaleY(-1);
1976
+ ._Layer--isExpandCandidate_1o110_138 > ._Layer-inner_1o110_8 {
1977
+ border-color: var(--_puck-outline-color-border-hover);
1978
+ background: var(--_puck-outline-color-bg-hover);
1896
1979
  }
1897
- ._Layer-zones_1vltj_96 {
1898
- display: none;
1899
- margin-inline-start: var(--puck-space-3);
1980
+ ._Layer--isDragSource_1o110_143 > ._Layer-inner_1o110_8 {
1981
+ color: var(--puck-color-text-muted);
1982
+ background: transparent;
1900
1983
  }
1901
- ._Layer--isSelected_1vltj_63 > ._Layer-zones_1vltj_96,
1902
- ._Layer--childIsSelected_1vltj_92 > ._Layer-zones_1vltj_96 {
1903
- display: block;
1984
+ ._Layer--isDragSource_1o110_143 > ._Layer-zones_1o110_101 {
1985
+ opacity: 0.5;
1904
1986
  }
1905
- ._Layer-zones_1vltj_96 > ._LayerTree_1vltj_1 {
1906
- margin-inline-start: var(--puck-space-3);
1987
+
1988
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/LayerTree/components/layer-actions/styles.module.css/#css-module-data */
1989
+ ._LayerActions_1m5z5_2 {
1990
+ position: sticky;
1991
+ inset-inline-end: calc(var(--puck-space-1) * -1);
1992
+ padding-inline: var(--puck-space-1);
1993
+ display: flex;
1994
+ visibility: hidden;
1995
+ flex-shrink: 0;
1996
+ gap: var(--puck-space-1);
1997
+ color: var(--_puck-outline-color-text);
1998
+ background: var(--_puck-outline-actions-color-bg);
1999
+ }
2000
+ ._LayerActions--visible_1m5z5_17 {
2001
+ visibility: visible;
2002
+ }
2003
+ ._LayerActions_1m5z5_2 svg {
2004
+ height: var(--_puck-outline-caret-size);
2005
+ width: var(--_puck-outline-caret-size);
2006
+ }
2007
+
2008
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/LayerTree/components/layer-tree-items/styles.module.css/#css-module-data */
2009
+ ._LayerTree_o5tyt_1 {
2010
+ color: var(--_puck-outline-color-text);
2011
+ font-family: var(--puck-outline-font-family, var(--puck-font-family));
2012
+ font-size: var(--puck-outline-font-size, var(--puck-font-size-xxxs));
2013
+ margin: 0;
2014
+ position: relative;
2015
+ list-style: none;
2016
+ padding: 0;
2017
+ }
2018
+ ._LayerTree--nested_o5tyt_12 {
2019
+ margin-inline-start: var(--puck-outline-space-indent, var(--puck-space-3));
1907
2020
  }
1908
- ._Layer-title_1vltj_110,
1909
- ._LayerTree-zoneTitle_1vltj_11 {
2021
+
2022
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/LayerTree/components/layer-tree-zone/styles.module.css/#css-module-data */
2023
+ ._LayerTree-zoneTitle_fvhlh_2 {
2024
+ color: var(--_puck-outline-zone-color-text);
2025
+ font-size: var( --puck-outline-zone-font-size, calc(var(--puck-font-size-xxxs) * 0.9) );
1910
2026
  display: flex;
1911
2027
  gap: var(--puck-space-2);
1912
2028
  align-items: center;
1913
- margin: var(--puck-space-2) var(--puck-space-1);
1914
- overflow-x: hidden;
1915
- }
1916
- ._Layer-name_1vltj_119 {
1917
2029
  overflow-x: hidden;
1918
- text-overflow: ellipsis;
1919
- white-space: nowrap;
2030
+ padding-top: var(--puck-space-1);
2031
+ padding-bottom: var(--puck-space-1);
2032
+ padding-inline-start: var(--_puck-outline-label-indent);
2033
+ border: var(--_puck-outline-border-width) solid transparent;
1920
2034
  }
1921
- ._Layer-icon_1vltj_125 {
1922
- color: var(--puck-outline-color-icon, var(--puck-color-highlight));
2035
+ ._LayerTree-zoneIcon_fvhlh_19 {
1923
2036
  margin-top: var(--puck-space-1);
1924
2037
  }
1925
- ._Layer-zoneIcon_1vltj_130 {
1926
- color: var(--puck-outline-zone-color-text, var(--puck-color-text-muted));
1927
- margin-top: var(--puck-space-1);
2038
+ ._LayerTree-zoneIcon_fvhlh_19 svg {
2039
+ height: var(--_puck-outline-icon-size);
2040
+ width: var(--_puck-outline-icon-size);
2041
+ }
2042
+ ._LayerTree-zoneTitle_fvhlh_2[data-puck-drop-target] {
2043
+ color: var(--_puck-outline-color-text-hover);
2044
+ position: relative;
2045
+ overflow: visible;
2046
+ }
2047
+
2048
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/LayerTree/styles.module.css/#css-module-data */
2049
+ ._LayerTreeRoot_kxnd1_1 {
2050
+ min-width: max-content;
2051
+ --_puck-iconbutton-color-bg-hover: transparent;
2052
+ --_puck-outline-color-text: var( --puck-outline-color-text, var(--puck-color-text-secondary) );
2053
+ --_puck-outline-border-width: var( --puck-outline-border-width, var(--puck-border-width-regular) );
2054
+ --_puck-outline-radius: var(--puck-outline-radius, var(--puck-radius-m));
2055
+ --_puck-outline-caret-size: var( --puck-outline-action-size, var(--puck-icon-size-s) );
2056
+ --_puck-outline-icon-size: var( --puck-outline-icon-size, var(--puck-icon-size-xs) );
2057
+ --_puck-outline-color-bg-selected: var( --puck-outline-color-bg-selected, var(--puck-color-interactive-subtle) );
2058
+ --_puck-outline-color-bg-hover: var( --puck-outline-color-bg-hover, var(--puck-color-interactive-soft) );
2059
+ --_puck-outline-color-border-hover: var( --puck-outline-color-border-hover, var(--puck-color-interactive-subtle) );
2060
+ --_puck-outline-color-text-hover: var( --puck-outline-color-text-hover, var(--puck-color-interactive) );
2061
+ --_puck-outline-color-drop-indicator: var( --puck-outline-color-drop-indicator, var(--puck-color-insertion-indicator) );
2062
+ --_puck-outline-drop-indicator-size: var(--puck-border-width-focus);
2063
+ --_puck-outline-zone-color-text: var( --puck-outline-zone-color-text, var(--puck-color-text-muted) );
2064
+ --_puck-outline-actions-color-bg: transparent;
2065
+ --_puck-outline-caret-slot: calc( var(--_puck-outline-caret-size) + var(--puck-iconbutton-space, var(--puck-space-1)) * 2 );
2066
+ --_puck-outline-label-indent: calc( var(--_puck-outline-caret-slot) + var(--puck-space-1) + var(--_puck-outline-border-width) );
2067
+ }
2068
+
2069
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Outline/components/collapse-all/styles.module.css/#css-module-data */
2070
+ ._CollapseAll_1r4cy_1 {
2071
+ visibility: hidden;
2072
+ }
2073
+ ._CollapseAll-icon_1r4cy_5 {
2074
+ height: var(--puck-icon-size-m);
2075
+ width: var(--puck-icon-size-m);
2076
+ }
2077
+ ._CollapseAll--visible_1r4cy_10 {
2078
+ visibility: visible;
2079
+ }
2080
+
2081
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Outline/components/outline-header/styles.module.css/#css-module-data */
2082
+ ._OutlineHeader_filq3_1 {
2083
+ display: flex;
2084
+ align-items: center;
2085
+ width: 100%;
2086
+ gap: var(--puck-space-2);
2087
+ padding-block: var(--puck-space-3);
2088
+ padding-inline: var(--puck-space-4);
2089
+ border-bottom: var(--puck-border-width-regular) solid var(--puck-color-border);
2090
+ box-sizing: border-box;
2091
+ }
2092
+ ._OutlineHeader-title_filq3_12 {
2093
+ color: var(--puck-color-text-secondary);
2094
+ font-size: var(--puck-font-size-xs);
2095
+ font-weight: var(--puck-font-weight-regular);
2096
+ line-height: var(--puck-line-height-m);
2097
+ margin: 0;
2098
+ }
2099
+
2100
+ /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Outline/styles.module.css/#css-module-data */
2101
+ ._OutlineWrapper_b9ln0_1 {
2102
+ display: flex;
2103
+ flex-direction: column;
2104
+ flex-grow: 1;
2105
+ min-height: 0;
2106
+ min-width: 0;
2107
+ }
2108
+ ._OutlineWrapper-collapseAll_b9ln0_9 {
2109
+ display: flex;
2110
+ align-items: center;
2111
+ margin-inline-start: auto;
2112
+ }
2113
+ ._OutlineWrapper-layers_b9ln0_15 {
2114
+ flex-grow: 1;
2115
+ min-height: 0;
2116
+ overflow: auto;
2117
+ padding: var(--puck-space-1);
2118
+ box-sizing: border-box;
1928
2119
  }
1929
2120
 
1930
2121
  /* css-module:/home/runner/work/puck/puck/packages/core/components/Puck/components/Layout/styles.module.css/#css-module-data */
1931
- ._Puck_mr27u_19 {
2122
+ ._Puck_tzaxg_19 {
1932
2123
  font-family: var(--puck-font-family);
1933
2124
  overflow-x: hidden;
1934
2125
  visibility: visible !important;
1935
2126
  }
1936
2127
  @media (min-width: 766px) {
1937
- ._Puck_mr27u_19 {
2128
+ ._Puck_tzaxg_19 {
1938
2129
  overflow-x: auto;
1939
2130
  }
1940
2131
  }
1941
- ._Puck-portal_mr27u_31 {
2132
+ ._Puck-portal_tzaxg_31 {
1942
2133
  position: relative;
1943
2134
  z-index: 2;
1944
2135
  }
1945
- ._PuckLayout_mr27u_36 {
2136
+ ._PuckLayout_tzaxg_36 {
1946
2137
  height: 100dvh;
1947
2138
  }
1948
- ._PuckLayout-inner_mr27u_40 {
2139
+ ._PuckLayout-inner_tzaxg_40 {
1949
2140
  --puck-frame-width: auto;
1950
2141
  --puck-pluginbar-width: min-content;
1951
2142
  --puck-sidebar-width: 0px;
@@ -1963,92 +2154,92 @@ body:has(._DropZone--isAnimating_ybznu_62:empty) [data-puck-overlay] {
1963
2154
  overflow: hidden;
1964
2155
  }
1965
2156
  @media (min-width: 638px) {
1966
- ._PuckLayout-inner_mr27u_40 {
2157
+ ._PuckLayout-inner_tzaxg_40 {
1967
2158
  --puck-pluginbar-width: 68px;
1968
2159
  grid-template-areas: "header header header header" "sidenav left editor right";
1969
2160
  grid-template-columns: var(--puck-pluginbar-width) 0 var(--puck-frame-width) 0;
1970
2161
  grid-template-rows: min-content auto;
1971
2162
  }
1972
- ._Puck--hidePlugins_mr27u_73 ._PuckLayout-inner_mr27u_40 {
2163
+ ._Puck--hidePlugins_tzaxg_73 ._PuckLayout-inner_tzaxg_40 {
1973
2164
  --puck-pluginbar-width: 0;
1974
2165
  }
1975
2166
  }
1976
- ._PuckLayout--mounted_mr27u_78 ._PuckLayout-inner_mr27u_40 {
2167
+ ._PuckLayout--mounted_tzaxg_78 ._PuckLayout-inner_tzaxg_40 {
1977
2168
  --puck-sidebar-width: 186px;
1978
2169
  }
1979
- ._PuckLayout--mobilePanelHeightToggle_mr27u_82._PuckLayout--leftSideBarVisible_mr27u_82 ._PuckLayout-inner_mr27u_40 {
2170
+ ._PuckLayout--mobilePanelHeightToggle_tzaxg_82._PuckLayout--leftSideBarVisible_tzaxg_82 ._PuckLayout-inner_tzaxg_40 {
1980
2171
  grid-template-rows: 0 auto 30% 0 var(--puck-pluginbar-width);
1981
2172
  transition: grid-template-rows var(--puck-duration-medium) var(--puck-ease-entrance);
1982
2173
  }
1983
- ._PuckLayout--mobilePanelHeightToggle_mr27u_82._PuckLayout--leftSideBarVisible_mr27u_82._PuckLayout--isExpanded_mr27u_90 ._PuckLayout-inner_mr27u_40 {
2174
+ ._PuckLayout--mobilePanelHeightToggle_tzaxg_82._PuckLayout--leftSideBarVisible_tzaxg_82._PuckLayout--isExpanded_tzaxg_90 ._PuckLayout-inner_tzaxg_40 {
1984
2175
  grid-template-rows: 0 auto 55% 0 var(--puck-pluginbar-width);
1985
2176
  transition: grid-template-rows var(--puck-duration-medium) var(--puck-ease-entrance);
1986
2177
  }
1987
2178
  @media (min-width: 638px) {
1988
- ._PuckLayout--mobilePanelHeightToggle_mr27u_82._PuckLayout--leftSideBarVisible_mr27u_82 ._PuckLayout-inner_mr27u_40 {
2179
+ ._PuckLayout--mobilePanelHeightToggle_tzaxg_82._PuckLayout--leftSideBarVisible_tzaxg_82 ._PuckLayout-inner_tzaxg_40 {
1989
2180
  grid-template-columns: var(--puck-pluginbar-width) var(--puck-sidebar-left-width) var( --puck-frame-width ) 0;
1990
2181
  grid-template-rows: min-content auto;
1991
2182
  }
1992
2183
  }
1993
- ._PuckLayout--mobilePanelHeightMinContent_mr27u_110._PuckLayout--leftSideBarVisible_mr27u_82 ._PuckLayout-inner_mr27u_40,
1994
- ._PuckLayout--mobilePanelHeightMinContent_mr27u_110._PuckLayout--leftSideBarVisible_mr27u_82._PuckLayout--isExpanded_mr27u_90 ._PuckLayout-inner_mr27u_40 {
2184
+ ._PuckLayout--mobilePanelHeightMinContent_tzaxg_110._PuckLayout--leftSideBarVisible_tzaxg_82 ._PuckLayout-inner_tzaxg_40,
2185
+ ._PuckLayout--mobilePanelHeightMinContent_tzaxg_110._PuckLayout--leftSideBarVisible_tzaxg_82._PuckLayout--isExpanded_tzaxg_90 ._PuckLayout-inner_tzaxg_40 {
1995
2186
  grid-template-rows: 0 auto min-content 0 var(--puck-pluginbar-width);
1996
2187
  }
1997
2188
  @media (min-width: 638px) {
1998
- ._PuckLayout--mobilePanelHeightToggle_mr27u_82._PuckLayout--leftSideBarVisible_mr27u_82 ._PuckLayout-inner_mr27u_40,
1999
- ._PuckLayout--mobilePanelHeightToggle_mr27u_82._PuckLayout--leftSideBarVisible_mr27u_82._PuckLayout--isExpanded_mr27u_90 ._PuckLayout-inner_mr27u_40,
2000
- ._PuckLayout--mobilePanelHeightMinContent_mr27u_110._PuckLayout--leftSideBarVisible_mr27u_82 ._PuckLayout-inner_mr27u_40,
2001
- ._PuckLayout--mobilePanelHeightMinContent_mr27u_110._PuckLayout--leftSideBarVisible_mr27u_82._PuckLayout--isExpanded_mr27u_90 ._PuckLayout-inner_mr27u_40 {
2189
+ ._PuckLayout--mobilePanelHeightToggle_tzaxg_82._PuckLayout--leftSideBarVisible_tzaxg_82 ._PuckLayout-inner_tzaxg_40,
2190
+ ._PuckLayout--mobilePanelHeightToggle_tzaxg_82._PuckLayout--leftSideBarVisible_tzaxg_82._PuckLayout--isExpanded_tzaxg_90 ._PuckLayout-inner_tzaxg_40,
2191
+ ._PuckLayout--mobilePanelHeightMinContent_tzaxg_110._PuckLayout--leftSideBarVisible_tzaxg_82 ._PuckLayout-inner_tzaxg_40,
2192
+ ._PuckLayout--mobilePanelHeightMinContent_tzaxg_110._PuckLayout--leftSideBarVisible_tzaxg_82._PuckLayout--isExpanded_tzaxg_90 ._PuckLayout-inner_tzaxg_40 {
2002
2193
  grid-template-columns: var(--puck-pluginbar-width) var(--puck-sidebar-left-width) var( --puck-frame-width ) 0;
2003
2194
  grid-template-rows: min-content auto;
2004
2195
  }
2005
2196
  }
2006
2197
  @media (min-width: 638px) {
2007
- ._PuckLayout--rightSideBarVisible_mr27u_137 ._PuckLayout-inner_mr27u_40 {
2198
+ ._PuckLayout--rightSideBarVisible_tzaxg_137 ._PuckLayout-inner_tzaxg_40 {
2008
2199
  grid-template-columns: var(--puck-pluginbar-width) 0 var(--puck-frame-width) var(--puck-sidebar-right-width);
2009
2200
  }
2010
2201
  }
2011
2202
  @media (min-width: 638px) {
2012
- ._PuckLayout--leftSideBarVisible_mr27u_82._PuckLayout--rightSideBarVisible_mr27u_137 ._PuckLayout-inner_mr27u_40 {
2203
+ ._PuckLayout--leftSideBarVisible_tzaxg_82._PuckLayout--rightSideBarVisible_tzaxg_137 ._PuckLayout-inner_tzaxg_40 {
2013
2204
  grid-template-columns: var(--puck-pluginbar-width) var(--puck-sidebar-left-width) var( --puck-frame-width ) var(--puck-sidebar-right-width);
2014
2205
  }
2015
2206
  }
2016
2207
  @media (min-width: 458px) {
2017
- ._PuckLayout-mounted_mr27u_156 ._PuckLayout-inner_mr27u_40 {
2208
+ ._PuckLayout-mounted_tzaxg_156 ._PuckLayout-inner_tzaxg_40 {
2018
2209
  --puck-frame-width: minmax(266px, auto);
2019
2210
  }
2020
2211
  }
2021
2212
  @media (min-width: 638px) {
2022
- ._PuckLayout_mr27u_36 ._PuckLayout-inner_mr27u_40 {
2213
+ ._PuckLayout_tzaxg_36 ._PuckLayout-inner_tzaxg_40 {
2023
2214
  --puck-sidebar-width: minmax(186px, 250px);
2024
2215
  }
2025
2216
  }
2026
2217
  @media (min-width: 766px) {
2027
- ._PuckLayout_mr27u_36 ._PuckLayout-inner_mr27u_40 {
2218
+ ._PuckLayout_tzaxg_36 ._PuckLayout-inner_tzaxg_40 {
2028
2219
  --puck-frame-width: auto;
2029
2220
  }
2030
2221
  }
2031
2222
  @media (min-width: 990px) {
2032
- ._PuckLayout_mr27u_36 ._PuckLayout-inner_mr27u_40 {
2223
+ ._PuckLayout_tzaxg_36 ._PuckLayout-inner_tzaxg_40 {
2033
2224
  --puck-sidebar-width: 256px;
2034
2225
  }
2035
2226
  }
2036
2227
  @media (min-width: 1198px) {
2037
- ._PuckLayout_mr27u_36 ._PuckLayout-inner_mr27u_40 {
2228
+ ._PuckLayout_tzaxg_36 ._PuckLayout-inner_tzaxg_40 {
2038
2229
  --puck-sidebar-width: 274px;
2039
2230
  }
2040
2231
  }
2041
2232
  @media (min-width: 1398px) {
2042
- ._PuckLayout_mr27u_36 ._PuckLayout-inner_mr27u_40 {
2233
+ ._PuckLayout_tzaxg_36 ._PuckLayout-inner_tzaxg_40 {
2043
2234
  --puck-sidebar-width: 290px;
2044
2235
  }
2045
2236
  }
2046
2237
  @media (min-width: 1598px) {
2047
- ._PuckLayout_mr27u_36 ._PuckLayout-inner_mr27u_40 {
2238
+ ._PuckLayout_tzaxg_36 ._PuckLayout-inner_tzaxg_40 {
2048
2239
  --puck-sidebar-width: 320px;
2049
2240
  }
2050
2241
  }
2051
- ._PuckLayout-nav_mr27u_197 {
2242
+ ._PuckLayout-nav_tzaxg_197 {
2052
2243
  border-top: var(--puck-border-width-regular) solid var(--puck-color-border);
2053
2244
  background-color: var( --puck-pluginbar-color-bg, var(--puck-color-surface-subtle) );
2054
2245
  grid-area: sidenav;
@@ -2056,35 +2247,39 @@ body:has(._DropZone--isAnimating_ybznu_62:empty) [data-puck-overlay] {
2056
2247
  width: 100%;
2057
2248
  }
2058
2249
  @media (min-width: 638px) {
2059
- ._PuckLayout-nav_mr27u_197 {
2250
+ ._PuckLayout-nav_tzaxg_197 {
2060
2251
  border-top: 0;
2061
2252
  border-right: var(--puck-border-width-regular) solid var(--puck-color-border);
2062
2253
  box-sizing: border-box;
2063
2254
  }
2064
2255
  }
2065
- ._PuckLayout-header_mr27u_217 {
2256
+ ._PuckLayout-header_tzaxg_217 {
2066
2257
  grid-area: header;
2067
2258
  }
2068
- ._PuckLayout--leftSideBarVisible_mr27u_82 ._PuckLayout-header_mr27u_217 {
2259
+ ._PuckLayout--leftSideBarVisible_tzaxg_82 ._PuckLayout-header_tzaxg_217 {
2069
2260
  overflow: hidden;
2070
2261
  }
2071
2262
  @media (min-width: 638px) {
2072
- ._PuckLayout--leftSideBarVisible_mr27u_82 ._PuckLayout-header_mr27u_217 {
2263
+ ._PuckLayout--leftSideBarVisible_tzaxg_82 ._PuckLayout-header_tzaxg_217 {
2073
2264
  overflow: auto;
2074
2265
  }
2075
2266
  }
2076
- ._PuckPluginTab_mr27u_231 {
2267
+ ._PuckPluginTab_tzaxg_231 {
2077
2268
  display: none;
2078
2269
  flex-grow: 1;
2079
2270
  max-height: 100%;
2080
2271
  }
2081
- ._PuckPluginTab--visible_mr27u_237 {
2272
+ ._PuckPluginTab--visible_tzaxg_237 {
2082
2273
  display: flex;
2083
2274
  flex-direction: column;
2275
+ min-height: 0;
2084
2276
  }
2085
- ._PuckPluginTab-body_mr27u_242 {
2277
+ ._PuckPluginTab-body_tzaxg_243 {
2278
+ display: flex;
2279
+ flex-direction: column;
2086
2280
  flex-grow: 1;
2087
2281
  max-height: 100%;
2282
+ min-height: 0;
2088
2283
  }
2089
2284
 
2090
2285
  /* css-module:/home/runner/work/puck/puck/packages/core/components/MenuBar/styles.module.css/#css-module-data */
@@ -2725,11 +2920,13 @@ body:has(._DropZone--isAnimating_ybznu_62:empty) [data-puck-overlay] {
2725
2920
  }
2726
2921
 
2727
2922
  /* css-module:/home/runner/work/puck/puck/packages/core/plugins/outline/styles.module.css/#css-module-data */
2728
- ._OutlinePlugin_16k03_1 {
2729
- padding: var(--puck-space-4);
2730
- height: 100%;
2731
- overflow-y: auto;
2732
- box-sizing: border-box;
2923
+ ._OutlinePlugin_1ylsc_1 {
2924
+ display: flex;
2925
+ flex-direction: column;
2926
+ flex-grow: 1;
2927
+ min-height: 0;
2928
+ min-width: 0;
2929
+ position: relative;
2733
2930
  }
2734
2931
 
2735
2932
  /* css-module:/home/runner/work/puck/puck/packages/core/plugins/fields/styles.module.css/#css-module-data */
@@ -1,7 +1,7 @@
1
- export { A as Adaptor, a as AppState, b as ArrayField, c as ArrayState, d as AsFieldProps, B as BaseData, e as BaseField, C as CacheOpts, f as ComponentConfig, g as ComponentConfigExtensions, h as ComponentConfigParams, i as ComponentData, j as ComponentDataMap, k as ComponentDataOptionalId, l as ComponentMetadata, m as Config, n as ConfigParams, o as Content, p as CustomField, q as CustomFieldRender, D as Data, r as DefaultComponentProps, s as DefaultComponents, t as DefaultRootFieldProps, u as DefaultRootProps, v as DefaultRootRenderProps, w as Direction, x as DragAxis, E as ExternalField, z as ExternalFieldWithAdaptor, F as ExtractConfigParams, G as ExtractField, H as Field, I as FieldMetadata, J as FieldProps, K as FieldRenderFunctions, L as FieldTransformFn, M as FieldTransformFnParams, N as FieldTransforms, O as Fields, P as History, Q as IframeConfig, R as InitialHistory, T as ItemWithId, U as MappedItem, V as Metadata, W as NumberField, X as ObjectField, Y as OnAction, Z as OverrideKey, _ as Overrides, $ as Permissions, a0 as Plugin, a3 as PuckAction, a4 as PuckComponent, a5 as PuckContext, a6 as PuckMetadata, a7 as RadioField, a8 as ResolveDataTrigger, a9 as RichText, aa as RichtextField, ab as RootConfig, ac as RootData, ad as RootDataWithProps, ae as RootDataWithoutProps, af as SelectField, ag as Slot, ah as SlotComponent, ai as SlotField, aj as TextField, ak as TextareaField, al as UiState, am as UserGenerics, an as Viewport, ao as Viewports, ap as WithChildren, aq as WithId, ar as WithPuckProps, as as WithSlotProps, at as overrideKeys } from './actions-Csn3gOP8.mjs';
2
- export { D as Dictionary } from './index-De5Tn61v.mjs';
1
+ export { A as Adaptor, a as AppState, b as ArrayField, c as ArrayState, d as AsFieldProps, B as BaseData, e as BaseField, C as CacheOpts, f as ComponentConfig, g as ComponentConfigExtensions, h as ComponentConfigParams, i as ComponentData, j as ComponentDataMap, k as ComponentDataOptionalId, l as ComponentMetadata, m as Config, n as ConfigParams, o as Content, p as CustomField, q as CustomFieldRender, D as Data, r as DefaultComponentProps, s as DefaultComponents, t as DefaultRootFieldProps, u as DefaultRootProps, v as DefaultRootRenderProps, w as Direction, x as DndConfig, y as DragAxis, E as ExternalField, F as ExternalFieldWithAdaptor, G as ExtractConfigParams, H as ExtractField, I as Field, J as FieldMetadata, K as FieldProps, L as FieldRenderFunctions, M as FieldTransformFn, N as FieldTransformFnParams, O as FieldTransforms, P as Fields, Q as History, R as IframeConfig, S as InitialHistory, U as ItemWithId, V as MappedItem, W as Metadata, X as NumberField, Y as ObjectField, Z as OnAction, _ as OverrideKey, $ as Overrides, a0 as Permissions, a1 as Plugin, a4 as PuckAction, a5 as PuckComponent, a6 as PuckContext, a7 as PuckMetadata, a8 as RadioField, a9 as ResolveDataTrigger, aa as RichText, ab as RichtextField, ac as RootConfig, ad as RootData, ae as RootDataWithProps, af as RootDataWithoutProps, ag as SelectField, ah as Slot, ai as SlotComponent, aj as SlotField, ak as TextField, al as TextareaField, am as UiState, an as UserGenerics, ao as Viewport, ap as Viewports, aq as WithChildren, ar as WithId, as as WithPuckProps, at as WithSlotProps, au as overrideKeys } from './actions-3w-1VzY_.mjs';
2
+ export { D as Dictionary } from './index-l1l-a8tj.mjs';
3
3
  export { Action, ActionBar, AutoField, BlocksPluginProps, Button, Drawer, DropZone, FieldLabel, Group, IconButton, Label, OutlinePluginProps, Puck, PuckApi, Render, RichTextMenu, Separator, UsePuckData, blocksPlugin, createUsePuck, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, renderContext, setDeep, useGetPuck, usePuck } from './index.mjs';
4
- export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-BrW9VQ_t.mjs';
4
+ export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-DJMo6GTF.mjs';
5
5
  import 'react';
6
6
  import '@tiptap/react';
7
7
  import '@tiptap/extension-blockquote';