@puckeditor/plugin-pages 0.9.0-canary.51cc139e → 0.9.0-canary.53ee4e95

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
@@ -137,6 +137,163 @@
137
137
  height: 1rem;
138
138
  }
139
139
 
140
+ /* css-module:/home/runner/work/platform/platform/packages/plugin-pages/src/components/PagePlugin/styles.module.css/#css-module-data */
141
+ ._Pages_1mmer_5 {
142
+ box-sizing: border-box;
143
+ display: flex;
144
+ flex-direction: column;
145
+ height: 100%;
146
+ }
147
+ ._Pages-header_1mmer_13 {
148
+ align-items: center;
149
+ border-bottom: 1px solid var(--puck-color-grey-09);
150
+ box-sizing: border-box;
151
+ display: flex;
152
+ flex-shrink: 0;
153
+ gap: 8px;
154
+ height: 51px;
155
+ padding: 0 12px 0 16px;
156
+ }
157
+ ._Pages-title_1mmer_24 {
158
+ color: var(--puck-color-black);
159
+ flex: 1;
160
+ font-size: var(--puck-font-size-xs);
161
+ font-weight: 700;
162
+ margin: 0;
163
+ }
164
+ ._Pages-headerAction_1mmer_32 {
165
+ align-items: center;
166
+ background: none;
167
+ border: 0;
168
+ border-radius: 4px;
169
+ color: var(--puck-color-grey-05);
170
+ cursor: pointer;
171
+ display: inline-flex;
172
+ flex-shrink: 0;
173
+ height: 26px;
174
+ justify-content: center;
175
+ padding: 0;
176
+ width: 26px;
177
+ }
178
+ ._Pages-headerAction_1mmer_32:hover {
179
+ background: var(--puck-color-grey-11);
180
+ color: var(--puck-color-grey-02);
181
+ }
182
+ ._Pages-headerAction_1mmer_32:focus-visible {
183
+ outline: 2px solid var(--puck-color-azure-04);
184
+ outline-offset: -2px;
185
+ }
186
+ ._Pages-search_1mmer_57 {
187
+ align-items: center;
188
+ display: flex;
189
+ flex: 1;
190
+ gap: 4px;
191
+ margin-left: -8px;
192
+ position: relative;
193
+ }
194
+ ._Pages-searchIcon_1mmer_66 {
195
+ color: var(--puck-color-grey-06);
196
+ left: 8px;
197
+ pointer-events: none;
198
+ position: absolute;
199
+ }
200
+ ._Pages-searchInput_1mmer_73 {
201
+ background-color: var(--puck-color-white);
202
+ border: 1px solid var(--puck-color-grey-09);
203
+ border-radius: 8px;
204
+ box-sizing: border-box;
205
+ color: var(--puck-color-grey-02);
206
+ flex: 1;
207
+ font: inherit;
208
+ font-size: var(--puck-font-size-xxs);
209
+ height: 32px;
210
+ margin: 0;
211
+ min-width: 0;
212
+ padding: 0 8px 0 28px;
213
+ }
214
+ ._Pages-searchInput_1mmer_73::placeholder {
215
+ color: var(--puck-color-grey-06);
216
+ }
217
+ ._Pages-searchInput_1mmer_73:focus {
218
+ border-color: var(--puck-color-azure-04);
219
+ outline: 2px solid var(--puck-color-azure-10);
220
+ outline-offset: 0;
221
+ }
222
+ ._Pages-empty_1mmer_98 {
223
+ align-items: center;
224
+ display: flex;
225
+ flex-direction: column;
226
+ gap: 8px;
227
+ padding: 32px 16px;
228
+ text-align: center;
229
+ }
230
+ ._Pages-emptyIcon_1mmer_107 {
231
+ color: var(--puck-color-grey-07);
232
+ }
233
+ ._Pages-hint_1mmer_111 {
234
+ color: var(--puck-color-grey-05);
235
+ font-size: var(--puck-font-size-xxs);
236
+ line-height: 20px;
237
+ margin: 0;
238
+ overflow-wrap: anywhere;
239
+ }
240
+ ._Pages-list_1mmer_120 {
241
+ flex-grow: 1;
242
+ list-style: none;
243
+ margin: 0;
244
+ overflow-y: auto;
245
+ padding: 4px;
246
+ }
247
+
248
+ /* css-module:/home/runner/work/platform/platform/packages/plugin-pages/src/components/PathForm/styles.module.css/#css-module-data */
249
+ ._PathForm_4p12k_1 {
250
+ display: flex;
251
+ flex-direction: column;
252
+ gap: 4px;
253
+ }
254
+ ._PathForm-row_4p12k_8 {
255
+ align-items: center;
256
+ background: var(--puck-color-white);
257
+ border: 1px solid var(--puck-color-azure-04);
258
+ border-radius: 8px;
259
+ box-sizing: border-box;
260
+ display: flex;
261
+ gap: 8px;
262
+ height: 32px;
263
+ padding: 0 7px 0 11px;
264
+ }
265
+ ._PathForm-icon_4p12k_20 {
266
+ color: var(--puck-color-grey-02);
267
+ flex-shrink: 0;
268
+ }
269
+ ._PathForm-input_4p12k_25 {
270
+ background: transparent;
271
+ border: 0;
272
+ color: var(--puck-color-grey-01);
273
+ flex: 1;
274
+ font: inherit;
275
+ font-size: var(--puck-font-size-xxs);
276
+ font-weight: 600;
277
+ margin: 0;
278
+ min-width: 0;
279
+ padding: 0;
280
+ }
281
+ ._PathForm-input_4p12k_25:focus {
282
+ outline: none;
283
+ }
284
+ ._PathForm-input_4p12k_25::selection {
285
+ background: var(--puck-color-azure-10);
286
+ }
287
+ ._PathForm-row_4p12k_8:has(._PathForm-input_4p12k_25[aria-invalid=true]) {
288
+ border-color: var(--puck-color-red-05);
289
+ }
290
+ ._PathForm-error_4p12k_50 {
291
+ color: var(--puck-color-red-05);
292
+ font-size: var(--puck-font-size-xxxs);
293
+ line-height: 16px;
294
+ padding: 0 12px;
295
+ }
296
+
140
297
  /* ../platform-client/styles/color.css */
141
298
  :root {
142
299
  --puck-color-rose-01: #4a001c;
@@ -1550,241 +1707,135 @@ button._Menu-item_1jr57_55:hover {
1550
1707
  }
1551
1708
  }
1552
1709
 
1553
- /* css-module:/home/runner/work/platform/platform/packages/plugin-pages/src/components/PagePlugin/styles.module.css/#css-module-data */
1554
- ._Pages_ey49w_5 {
1555
- display: flex;
1556
- flex-direction: column;
1557
- height: 100%;
1558
- padding: 16px;
1559
- }
1560
- ._Pages-addPage_ey49w_12 {
1561
- margin-bottom: 16px;
1562
- display: flex;
1563
- gap: 8px;
1564
- }
1565
- ._Pages-loader_ey49w_18 {
1710
+ /* css-module:/home/runner/work/platform/platform/packages/plugin-pages/src/components/PagesRow/styles.module.css/#css-module-data */
1711
+ ._PagesRow_11pqv_2 {
1566
1712
  align-items: center;
1567
- background-color: white;
1568
- display: flex;
1569
- justify-content: center;
1570
- padding: 16px;
1571
- }
1572
- ._Pages-list_ey49w_26 {
1573
- display: flex;
1574
- flex-direction: column;
1575
- border-radius: 8px;
1576
- overflow-y: auto;
1577
- flex-grow: 1;
1578
- }
1579
- ._Pages-search_ey49w_34 {
1580
- flex-grow: 1;
1581
- }
1582
- ._Pages-searchInput_ey49w_38 {
1583
- border: 1px solid var(--puck-color-grey-09);
1713
+ border: 1px solid transparent;
1584
1714
  border-radius: 8px;
1585
- background-color: var(--puck-color-white);
1586
1715
  box-sizing: border-box;
1587
- color: var(--puck-color-grey-02);
1588
- height: 36px;
1589
- margin: 0;
1590
- padding: 0 8px;
1591
- width: 100%;
1592
- }
1593
- ._Pages-searchInput_ey49w_38:focus {
1594
- outline: 2px solid var(--puck-color-azure-04);
1595
- outline-offset: -1px;
1596
- }
1597
- ._PagesPage_ey49w_59 {
1598
- border-left: 1px solid var(--puck-color-grey-10);
1599
- border-right: 1px solid var(--puck-color-grey-10);
1600
- border-bottom: 1px solid var(--puck-color-grey-10);
1601
1716
  display: flex;
1602
- flex-direction: column;
1603
- flex-shrink: 0;
1604
- overflow: hidden;
1605
- }
1606
- ._PagesPage--expanded_ey49w_69 {
1607
- min-height: calc(34px + 1px + 55px);
1608
- }
1609
- ._PagesPage--expanded_ey49w_69:has(._PagesPage-versions_ey49w_73 > :nth-child(2)) {
1610
- min-height: calc(34px + 1px + 55px + 1px + 55px);
1611
- }
1612
- ._PagesPage--expanded_ey49w_69:has(._PagesPage-versions_ey49w_73 > :nth-child(3)) {
1613
- min-height: calc(34px + 1px + 55px + 1px + 55px + 1px + 55px);
1717
+ gap: 4px;
1718
+ height: 32px;
1719
+ padding: 0 3px 0 11px;
1614
1720
  }
1615
- ._PagesPage--expanded_ey49w_69 {
1616
- flex-shrink: 1;
1721
+ ._PagesRow_11pqv_2:hover:not(._PagesRow--loading_11pqv_13) {
1722
+ background: var(--puck-color-azure-11);
1723
+ border-color: var(--puck-color-azure-10);
1617
1724
  }
1618
- ._PagesPage_ey49w_59:first-of-type {
1619
- border-top: 1px solid var(--puck-color-grey-10);
1620
- border-top-left-radius: 8px;
1621
- border-top-right-radius: 8px;
1725
+ ._PagesRow--loading_11pqv_13 {
1726
+ cursor: default;
1622
1727
  }
1623
- ._PagesPage_ey49w_59:last-of-type {
1624
- border-bottom-left-radius: 8px;
1625
- border-bottom-right-radius: 8px;
1728
+ ._PagesRow--current_11pqv_23,
1729
+ ._PagesRow--current_11pqv_23:hover {
1730
+ background: var(--puck-color-azure-10);
1731
+ border-color: var(--puck-color-azure-08);
1626
1732
  }
1627
- ._PagesPage-header_ey49w_96 {
1733
+ ._PagesRow-main_11pqv_29 {
1628
1734
  align-items: center;
1629
- background-color: white;
1630
- font-family: var(--puck-font-family-monospaced);
1631
- font-size: var(--puck-font-size-xxs);
1632
- font-weight: 600;
1735
+ align-self: stretch;
1736
+ background: none;
1737
+ border: 0;
1738
+ color: var(--puck-color-grey-04);
1633
1739
  cursor: pointer;
1634
1740
  display: flex;
1635
- justify-content: space-between;
1636
- padding: 8px 12px;
1637
- width: 100%;
1638
- }
1639
- ._PagesPage_ey49w_59:first-of-type ._PagesPage-header_ey49w_96 {
1640
- border-top-left-radius: 8px;
1641
- border-top-right-radius: 8px;
1741
+ flex: 1;
1742
+ font: inherit;
1743
+ font-size: var(--puck-font-size-xxs);
1744
+ gap: 8px;
1745
+ min-width: 0;
1746
+ padding: 0;
1747
+ text-align: left;
1642
1748
  }
1643
- ._PagesPage_ey49w_59:last-of-type:not(._PagesPage--expanded_ey49w_69) ._PagesPage-header_ey49w_96 {
1644
- border-bottom-left-radius: 8px;
1645
- border-bottom-right-radius: 8px;
1749
+ ._PagesRow--current_11pqv_23 ._PagesRow-main_11pqv_29 {
1750
+ color: var(--puck-color-grey-01);
1751
+ font-weight: 600;
1646
1752
  }
1647
- ._PagesPage-header_ey49w_96:focus-visible {
1753
+ ._PagesRow-main_11pqv_29:focus-visible {
1754
+ border-radius: 4px;
1648
1755
  outline: 2px solid var(--puck-color-azure-04);
1649
- outline-offset: -2px;
1650
- }
1651
- ._PagesPage--active_ey49w_124 ._PagesPage-header_ey49w_96 {
1652
- color: var(--puck-color-azure-04);
1756
+ outline-offset: 2px;
1653
1757
  }
1654
- ._PagesPage--expanded_ey49w_69 ._PagesPage-header_ey49w_96 {
1655
- border-bottom: 1px solid var(--puck-color-grey-10);
1758
+ ._PagesRow-icon_11pqv_57 {
1759
+ color: var(--puck-color-grey-06);
1760
+ flex-shrink: 0;
1656
1761
  }
1657
- ._PagesPage-header_ey49w_96:hover {
1658
- background: var(--puck-color-azure-11);
1659
- color: var(--puck-color-azure-04);
1762
+ ._PagesRow--current_11pqv_23 ._PagesRow-icon_11pqv_57 {
1763
+ color: var(--puck-color-grey-02);
1660
1764
  }
1661
- ._PagesPage-headerMain_ey49w_137 {
1662
- display: flex;
1663
- gap: 4px;
1664
- justify-content: space-between;
1665
- width: 100%;
1765
+ ._PagesRow-path_11pqv_66 {
1766
+ min-width: 0;
1767
+ overflow: hidden;
1768
+ text-overflow: ellipsis;
1769
+ white-space: nowrap;
1666
1770
  }
1667
- ._PagesPage-headerIcon_ey49w_144 {
1771
+ ._PagesRow-draft_11pqv_73 {
1772
+ background: var(--puck-color-grey-10);
1773
+ border-radius: 999px;
1668
1774
  color: var(--puck-color-grey-04);
1669
- }
1670
- ._PagesPage-loader_ey49w_148 {
1671
- align-items: center;
1672
- background-color: white;
1673
- display: none;
1674
- justify-content: center;
1675
- padding: 16px;
1676
- height: 100%;
1677
- }
1678
- ._PagesPage--expanded_ey49w_69 ._PagesPage-loader_ey49w_148 {
1679
- display: flex;
1680
- }
1681
- ._PagesPage-versions_ey49w_73 {
1682
- display: none;
1683
- overflow-y: auto;
1684
- }
1685
- ._PagesPage--expanded_ey49w_69 ._PagesPage-versions_ey49w_73 {
1686
- display: block;
1687
- }
1688
- ._PagesVersion_ey49w_174 ._PagesVersion-inner_ey49w_174 {
1689
- background-color: white;
1690
- border-top: 1px solid var(--puck-color-grey-10);
1691
- padding-bottom: 12px;
1692
- padding-left: 24px;
1693
- padding-right: 12px;
1694
- padding-top: 8px;
1695
- text-align: left;
1696
- width: 100%;
1697
- }
1698
- ._PagesVersion_ey49w_174:first-of-type ._PagesVersion-inner_ey49w_174 {
1699
- border-top: none;
1700
- }
1701
- ._PagesVersion--current_ey49w_189 ._PagesVersion-inner_ey49w_174 {
1702
- border-right: 3px solid var(--puck-color-azure-04);
1703
- }
1704
- ._PagesVersion-inner_ey49w_174:hover {
1705
- background-color: var(--puck-color-azure-11);
1706
- color: var(--puck-color-azure-04);
1707
- cursor: pointer;
1708
- }
1709
- ._PagesVersion-inner_ey49w_174:focus-visible {
1710
- outline: 2px solid var(--puck-color-azure-04);
1711
- outline-offset: -2px;
1712
- }
1713
- ._PagesVersion-header_ey49w_204 {
1714
- align-items: center;
1715
- display: flex;
1716
- gap: 4px;
1717
- }
1718
- ._PagesVersion-version_ey49w_210 {
1719
- font-family: var(--puck-font-family-monospaced);
1775
+ flex-shrink: 0;
1776
+ font-size: var(--puck-font-size-xxxs);
1720
1777
  font-weight: 600;
1721
- line-height: 1;
1778
+ line-height: 20px;
1779
+ padding: 0 8px;
1722
1780
  }
1723
- ._PagesVersion-date_ey49w_216 {
1724
- color: var(--puck-color-grey-06);
1725
- font-size: var(--puck-font-size-xxxs);
1726
- font-weight: 500;
1727
- line-height: 1;
1728
- margin-top: 2px;
1781
+ ._PagesRow-actions_11pqv_84 {
1782
+ display: flex;
1729
1783
  margin-left: auto;
1730
- white-space: nowrap;
1784
+ flex-shrink: 0;
1785
+ opacity: 0;
1786
+ transition: opacity 120ms;
1731
1787
  }
1732
-
1733
- /* css-module:/home/runner/work/platform/platform/packages/plugin-pages/src/components/CreateForm/styles.module.css/#css-module-data */
1734
- ._CreateForm_kkdt2_1 {
1735
- width: 100%;
1788
+ ._PagesRow_11pqv_2:hover ._PagesRow-actions_11pqv_84,
1789
+ ._PagesRow_11pqv_2:focus-within ._PagesRow-actions_11pqv_84,
1790
+ ._PagesRow-actions_11pqv_84:has([aria-expanded=true]) {
1791
+ opacity: 1;
1736
1792
  }
1737
- ._CreateForm-field_kkdt2_5 {
1738
- display: flex;
1739
- flex-direction: column;
1740
- align-items: flex-start;
1741
- gap: 0.25rem;
1742
- width: 100%;
1793
+ @media (hover: none) {
1794
+ ._PagesRow-actions_11pqv_84 {
1795
+ opacity: 1;
1796
+ }
1743
1797
  }
1744
- ._CreateForm-label_kkdt2_13 {
1745
- font-size: 0.875rem;
1746
- line-height: 1.25rem;
1747
- font-weight: 500;
1748
- color: var(--puck-color-grey-02);
1798
+ ._PagesRow-action_11pqv_84 {
1799
+ align-items: center;
1800
+ border-radius: 4px;
1801
+ color: var(--puck-color-grey-05);
1802
+ display: inline-flex;
1803
+ height: 24px;
1804
+ justify-content: center;
1805
+ width: 24px;
1749
1806
  }
1750
- ._CreateForm-input_kkdt2_20 {
1751
- box-sizing: border-box;
1752
- width: 100%;
1753
- height: 2.5rem;
1754
- margin: 0;
1755
- padding: 0 0.875rem;
1756
- border: 1px solid var(--puck-color-grey-10);
1757
- border-radius: 0.375rem;
1758
- background-color: var(--puck-color-white);
1759
- color: var(--puck-color-grey-02);
1760
- font-family: inherit;
1761
- font-size: 1rem;
1807
+ ._PagesRow-action_11pqv_84:hover {
1808
+ color: var(--puck-color-azure-04);
1762
1809
  }
1763
- ._CreateForm-input_kkdt2_20:focus {
1764
- outline: 2px solid var(--puck-color-azure-04);
1765
- outline-offset: -1px;
1810
+ ._PagesRowSkeleton_11pqv_122 {
1811
+ animation: _PagesRowSkeleton-pulse_11pqv_1 1.2s ease-in-out infinite;
1812
+ background: var(--puck-color-grey-10);
1813
+ border-radius: 4px;
1814
+ display: block;
1815
+ height: 12px;
1816
+ width: 50%;
1766
1817
  }
1767
- ._CreateForm-input_kkdt2_20::placeholder {
1768
- color: var(--puck-color-grey-06);
1818
+ @keyframes _PagesRowSkeleton-pulse_11pqv_1 {
1819
+ 50% {
1820
+ opacity: 0.5;
1821
+ }
1769
1822
  }
1770
- ._CreateForm-error_kkdt2_43 {
1771
- width: 100%;
1772
- margin-top: 16px;
1773
- color: var(--puck-color-red-05);
1774
- font-size: 0.875rem;
1775
- line-height: 1.2;
1823
+ @media (prefers-reduced-motion: reduce) {
1824
+ ._PagesRowSkeleton_11pqv_122 {
1825
+ animation: none;
1826
+ }
1776
1827
  }
1777
1828
 
1778
1829
  /* css-module:/home/runner/work/platform/platform/packages/plugin-pages/src/components/ConfirmModal/styles.module.css/#css-module-data */
1779
- ._ConfirmModal_1r63q_1 {
1830
+ ._ConfirmModal_zhhjx_1 {
1780
1831
  width: 100%;
1781
1832
  }
1782
- ._ConfirmModal-button_1r63q_5 {
1833
+ ._ConfirmModal-button_zhhjx_5 {
1783
1834
  display: inline-flex;
1784
1835
  }
1785
- ._ConfirmModal-background_1r63q_9 {
1836
+ ._ConfirmModal-background_zhhjx_9 {
1786
1837
  align-items: center;
1787
- background: #00000050;
1838
+ background: rgba(0, 0, 0, 0.4);
1788
1839
  bottom: 0;
1789
1840
  display: flex;
1790
1841
  justify-content: center;
@@ -1794,92 +1845,390 @@ button._Menu-item_1jr57_55:hover {
1794
1845
  top: 0;
1795
1846
  z-index: 2;
1796
1847
  }
1797
- ._ConfirmModal-modal_1r63q_22 {
1848
+ ._ConfirmModal-modal_zhhjx_22 {
1798
1849
  background: var(--puck-color-white);
1799
1850
  border-radius: 16px;
1851
+ box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
1800
1852
  display: flex;
1801
1853
  flex-direction: column;
1802
1854
  margin-inline: 24px;
1803
1855
  max-height: calc(100vh - 24px);
1856
+ max-width: 440px;
1804
1857
  min-width: 356px;
1805
1858
  overflow: auto;
1806
1859
  }
1807
- ._ConfirmModal-header_1r63q_33 {
1860
+ ._ConfirmModal-header_zhhjx_35 {
1808
1861
  align-items: center;
1809
1862
  color: var(--puck-color-grey-02);
1810
1863
  display: flex;
1811
1864
  gap: 16px;
1812
1865
  justify-content: space-between;
1813
- padding: 24px 24px 16px;
1866
+ padding: 24px 24px 8px;
1814
1867
  }
1815
- ._ConfirmModal-close_1r63q_42 {
1868
+ ._ConfirmModal-close_zhhjx_44 {
1816
1869
  align-items: center;
1817
1870
  appearance: none;
1818
- background: transparent;
1819
- border: none;
1871
+ background: var(--puck-color-white);
1872
+ border: 1px solid var(--puck-color-grey-08);
1820
1873
  border-radius: 8px;
1821
- color: var(--puck-color-grey-04);
1874
+ box-sizing: border-box;
1875
+ color: var(--puck-color-grey-02);
1822
1876
  cursor: pointer;
1823
1877
  display: inline-flex;
1878
+ font: inherit;
1879
+ font-size: var(--puck-font-size-xxs);
1824
1880
  justify-content: center;
1825
- padding: 4px;
1881
+ min-height: 34px;
1882
+ padding: 0 16px;
1826
1883
  }
1827
- ._ConfirmModal-close_1r63q_42:hover {
1884
+ ._ConfirmModal-close_zhhjx_44:hover:not(:disabled) {
1828
1885
  background: var(--puck-color-grey-11);
1829
- color: var(--puck-color-grey-02);
1830
1886
  }
1831
- ._ConfirmModal-close_1r63q_42:focus-visible {
1887
+ ._ConfirmModal-close_zhhjx_44:disabled {
1888
+ color: var(--puck-color-grey-07);
1889
+ cursor: not-allowed;
1890
+ }
1891
+ ._ConfirmModal-close_zhhjx_44:focus-visible {
1832
1892
  outline: 2px solid var(--puck-color-azure-05);
1833
1893
  outline-offset: 2px;
1834
1894
  }
1835
- ._ConfirmModal-body_1r63q_65 {
1836
- color: var(--puck-color-grey-03);
1837
- line-height: 1.5;
1838
- padding: 8px 24px 24px;
1895
+ ._ConfirmModal-body_zhhjx_75 {
1896
+ color: var(--puck-color-grey-04);
1897
+ font-size: var(--puck-font-size-xxs);
1898
+ line-height: 20px;
1899
+ padding: 0 24px 24px;
1839
1900
  }
1840
- ._ConfirmModal-footer_1r63q_71 {
1901
+ ._ConfirmModal-footer_zhhjx_82 {
1841
1902
  background-color: var(--puck-color-grey-12);
1842
- border-top: 1px solid var(--puck-color-grey-09);
1903
+ border-top: 1px solid var(--puck-color-grey-10);
1843
1904
  display: flex;
1844
- gap: 12px;
1905
+ gap: 8px;
1845
1906
  justify-content: flex-end;
1846
1907
  padding: 16px 24px;
1847
1908
  }
1848
1909
 
1849
- /* css-module:/home/runner/work/platform/platform/packages/plugin-pages/src/components/HeaderActions/styles.module.css/#css-module-data */
1850
- ._HeaderActions-publish_7nzbl_1 {
1851
- position: relative;
1910
+ /* css-module:/home/runner/work/platform/platform/packages/plugin-pages/src/components/StatusBadge/styles.module.css/#css-module-data */
1911
+ ._StatusBadge_1klqu_1 {
1912
+ align-items: center;
1913
+ color: var(--puck-color-grey-05);
1852
1914
  display: inline-flex;
1853
- align-items: stretch;
1915
+ flex-shrink: 0;
1916
+ font-size: var(--puck-font-size-xxxs);
1917
+ font-weight: 500;
1918
+ gap: 4px;
1919
+ line-height: 16px;
1920
+ white-space: nowrap;
1854
1921
  }
1855
- ._HeaderActions-trigger_7nzbl_7 {
1856
- display: inline-flex;
1922
+ ._StatusBadge-dot_1klqu_13 {
1923
+ background: var(--puck-color-grey-07);
1924
+ border-radius: 50%;
1925
+ flex-shrink: 0;
1926
+ height: 8px;
1927
+ width: 8px;
1928
+ }
1929
+ ._StatusBadge--published_1klqu_21 ._StatusBadge-dot_1klqu_13 {
1930
+ background: var(--puck-color-green-06);
1931
+ }
1932
+ ._StatusBadge--unsaved_1klqu_25 ._StatusBadge-dot_1klqu_13 {
1933
+ background: var(--puck-color-yellow-06);
1934
+ }
1935
+
1936
+ /* css-module:/home/runner/work/platform/platform/packages/plugin-pages/src/components/VersionTimeline/styles.module.css/#css-module-data */
1937
+ ._VersionTimeline-trigger_g6ztp_6 {
1857
1938
  align-items: center;
1939
+ background: none;
1940
+ border: 1px solid transparent;
1941
+ border-radius: 8px;
1942
+ box-sizing: border-box;
1943
+ color: inherit;
1944
+ cursor: pointer;
1945
+ display: inline-flex;
1946
+ font: inherit;
1947
+ gap: 8px;
1948
+ height: 34px;
1949
+ padding: 0 8px 0 12px;
1950
+ text-align: left;
1951
+ transition: background-color 120ms, border-color 120ms;
1952
+ }
1953
+ ._VersionTimeline-trigger_g6ztp_6:hover:not(:disabled, ._VersionTimeline-placeholder_g6ztp_23),
1954
+ ._VersionTimeline-trigger_g6ztp_6[data-state=open] {
1955
+ background: var(--puck-color-grey-12);
1956
+ border-color: var(--puck-color-grey-09);
1957
+ }
1958
+ ._VersionTimeline-trigger_g6ztp_6:focus-visible {
1959
+ outline: 2px solid var(--puck-color-azure-04);
1960
+ outline-offset: -2px;
1961
+ }
1962
+ ._VersionTimeline-trigger_g6ztp_6:disabled {
1963
+ cursor: default;
1964
+ }
1965
+ ._VersionTimeline-trigger_g6ztp_6:disabled ._VersionTimeline-chevron_g6ztp_38 {
1966
+ display: none;
1967
+ }
1968
+ ._VersionTimeline-placeholder_g6ztp_23 {
1969
+ cursor: default;
1970
+ }
1971
+ ._VersionTimeline-placeholder_g6ztp_23 ._VersionTimeline-chevron_g6ztp_38 {
1972
+ visibility: hidden;
1973
+ }
1974
+ ._VersionTimeline-chevron_g6ztp_38 {
1975
+ color: var(--puck-color-grey-05);
1976
+ flex-shrink: 0;
1977
+ }
1978
+ ._VersionTimeline-content_g6ztp_55 {
1979
+ background: var(--puck-color-white);
1980
+ border: 1px solid var(--puck-color-grey-09);
1981
+ border-radius: 12px;
1982
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.04);
1983
+ box-sizing: border-box;
1984
+ display: flex;
1985
+ flex-direction: column;
1986
+ max-height: min(440px, var(--radix-popover-content-available-height));
1987
+ outline: none;
1988
+ overflow: hidden;
1989
+ width: 288px;
1990
+ z-index: 1;
1991
+ }
1992
+ ._VersionTimeline-header_g6ztp_70 {
1993
+ align-items: baseline;
1994
+ border-bottom: 1px solid var(--puck-color-grey-10);
1995
+ display: flex;
1996
+ gap: 8px;
1997
+ justify-content: space-between;
1998
+ padding: 12px 16px;
1999
+ }
2000
+ ._VersionTimeline-title_g6ztp_79 {
2001
+ color: var(--puck-color-grey-02);
2002
+ font-size: var(--puck-font-size-xxs);
2003
+ font-weight: 600;
2004
+ line-height: 20px;
2005
+ }
2006
+ ._VersionTimeline-count_g6ztp_86 {
2007
+ color: var(--puck-color-grey-05);
2008
+ font-size: var(--puck-font-size-xxxs);
2009
+ line-height: 16px;
2010
+ }
2011
+ ._VersionTimeline-message_g6ztp_92 {
2012
+ color: var(--puck-color-grey-05);
2013
+ display: flex;
2014
+ font-size: var(--puck-font-size-xxs);
1858
2015
  justify-content: center;
1859
- min-height: 32px;
1860
- padding: 0 12px;
1861
- border-left: 0;
1862
- border-radius: 0 8px 8px 0;
2016
+ margin: 0;
2017
+ padding: 24px 16px;
2018
+ }
2019
+ ._VersionTimeline-list_g6ztp_102 {
2020
+ margin: 0;
2021
+ overflow-y: auto;
2022
+ padding: 0 8px 8px;
2023
+ }
2024
+ ol._VersionTimeline-list_g6ztp_102 {
2025
+ padding-top: 8px;
2026
+ }
2027
+ ._VersionTimeline-day_g6ztp_113 {
1863
2028
  background: var(--puck-color-white);
1864
- color: var(--puck-color-grey-01);
2029
+ color: var(--puck-color-grey-05);
2030
+ font-size: var(--puck-font-size-xxxs);
2031
+ font-weight: 600;
2032
+ line-height: 16px;
2033
+ margin: 0;
2034
+ padding: 8px 8px 4px 34px;
2035
+ position: sticky;
2036
+ top: 0;
2037
+ z-index: 1;
2038
+ }
2039
+ ._VersionTimeline-day_g6ztp_113::before {
2040
+ background: var(--puck-color-grey-10);
2041
+ bottom: 0;
2042
+ content: "";
2043
+ left: 15.5px;
2044
+ position: absolute;
2045
+ top: 0;
2046
+ width: 1px;
1865
2047
  }
1866
- ._HeaderActions-versionHeader_7nzbl_19 {
2048
+ ._VersionTimeline-group_g6ztp_137:first-of-type ._VersionTimeline-day_g6ztp_113::before {
2049
+ display: none;
2050
+ }
2051
+ ._VersionTimeline-items_g6ztp_141 {
2052
+ list-style: none;
2053
+ margin: 0;
2054
+ padding: 0;
2055
+ }
2056
+ ._VersionTimeline-more_g6ztp_147 {
2057
+ display: flex;
2058
+ justify-content: center;
2059
+ padding: 8px;
2060
+ }
2061
+ ._VersionTimeline-retry_g6ztp_153 {
2062
+ background: none;
2063
+ border: 0;
2064
+ border-radius: 4px;
2065
+ color: var(--puck-color-azure-04);
2066
+ cursor: pointer;
2067
+ font: inherit;
2068
+ font-size: var(--puck-font-size-xxs);
2069
+ padding: 4px 8px;
2070
+ }
2071
+ ._VersionTimeline-retry_g6ztp_153:hover {
2072
+ background: var(--puck-color-azure-11);
2073
+ }
2074
+ ._VersionTimelineItem_g6ztp_172 {
1867
2075
  align-items: center;
2076
+ background: none;
2077
+ border: 1px solid transparent;
2078
+ border-radius: 8px;
2079
+ box-sizing: border-box;
2080
+ color: var(--puck-color-grey-02);
2081
+ cursor: pointer;
1868
2082
  display: flex;
2083
+ font: inherit;
2084
+ gap: 12px;
2085
+ min-height: 36px;
2086
+ padding: 7px;
2087
+ position: relative;
2088
+ text-align: left;
2089
+ width: 100%;
2090
+ }
2091
+ ._VersionTimelineItem_g6ztp_172::before {
2092
+ background: var(--puck-color-grey-10);
2093
+ bottom: 0;
2094
+ content: "";
2095
+ left: 14.5px;
2096
+ position: absolute;
2097
+ top: 0;
2098
+ width: 1px;
2099
+ }
2100
+ ._VersionTimeline-group_g6ztp_137:first-of-type li:first-child > ._VersionTimelineItem_g6ztp_172::before,
2101
+ ol._VersionTimeline-list_g6ztp_102 > li:first-child > ._VersionTimelineItem_g6ztp_172::before {
2102
+ top: 50%;
2103
+ }
2104
+ ._VersionTimeline-group_g6ztp_137:last-of-type li:last-child > ._VersionTimelineItem_g6ztp_172::before,
2105
+ ol._VersionTimeline-list_g6ztp_102 > li:last-child > ._VersionTimelineItem_g6ztp_172::before {
2106
+ bottom: 50%;
2107
+ }
2108
+ ._VersionTimelineItem_g6ztp_172:hover:not(._VersionTimelineItem--loading_g6ztp_216) {
2109
+ background: var(--puck-color-azure-11);
2110
+ border-color: var(--puck-color-azure-10);
2111
+ }
2112
+ ._VersionTimelineItem--current_g6ztp_221,
2113
+ ._VersionTimelineItem--current_g6ztp_221:hover:not(._VersionTimelineItem--loading_g6ztp_216) {
2114
+ background: var(--puck-color-azure-10);
2115
+ border-color: var(--puck-color-azure-08);
2116
+ }
2117
+ ._VersionTimelineItem--loading_g6ztp_216 {
2118
+ cursor: default;
2119
+ }
2120
+ ._VersionTimelineItem_g6ztp_172:focus-visible {
2121
+ outline: 2px solid var(--puck-color-azure-04);
2122
+ outline-offset: -2px;
2123
+ }
2124
+ ._VersionTimelineItem-dot_g6ztp_236 {
2125
+ background: var(--puck-color-white);
2126
+ border: 2px solid var(--puck-color-grey-08);
2127
+ border-radius: 50%;
2128
+ box-sizing: border-box;
2129
+ flex-shrink: 0;
2130
+ height: 12px;
2131
+ margin-left: 2px;
2132
+ position: relative;
2133
+ width: 12px;
2134
+ }
2135
+ ._VersionTimelineItem--current_g6ztp_221 ._VersionTimelineItem-dot_g6ztp_236 {
2136
+ background: var(--puck-color-azure-04);
2137
+ border-color: var(--puck-color-azure-04);
2138
+ box-shadow: 0 0 0 4px var(--puck-color-azure-10);
2139
+ }
2140
+ ._VersionTimelineItem-body_g6ztp_254 {
2141
+ align-items: center;
2142
+ display: flex;
2143
+ flex: 1;
1869
2144
  gap: 8px;
1870
- height: 21px;
2145
+ min-width: 0;
1871
2146
  }
1872
- ._HeaderActions-versionLabel_7nzbl_26 {
1873
- font-family: var(--puck-font-family-monospaced);
1874
- font-size: var(--puck-font-size-xs);
2147
+ ._VersionTimelineItem-label_g6ztp_262 {
2148
+ font-size: var(--puck-font-size-xxs);
1875
2149
  font-weight: 600;
1876
- line-height: 1;
2150
+ line-height: 20px;
1877
2151
  }
1878
- ._HeaderActions-versionDate_7nzbl_33 {
1879
- color: var(--puck-color-grey-06);
2152
+ ._VersionTimelineItem--current_g6ztp_221 ._VersionTimelineItem-label_g6ztp_262 {
2153
+ color: var(--puck-color-azure-04);
2154
+ }
2155
+ ._VersionTimelineItem-time_g6ztp_272 {
2156
+ color: var(--puck-color-grey-05);
2157
+ flex-shrink: 0;
1880
2158
  font-size: var(--puck-font-size-xxxs);
1881
- font-weight: 500;
1882
- line-height: 1;
1883
- margin-top: 2px;
1884
- white-space: nowrap;
2159
+ font-variant-numeric: tabular-nums;
2160
+ line-height: 16px;
2161
+ }
2162
+ ._VersionSkeleton_g6ztp_284 {
2163
+ animation: _VersionSkeleton-pulse_g6ztp_1 1.2s ease-in-out infinite;
2164
+ background: var(--puck-color-grey-10);
2165
+ border-radius: 4px;
2166
+ display: block;
2167
+ height: 1em;
2168
+ width: 64px;
2169
+ }
2170
+ ._VersionSkeleton--date_g6ztp_293 {
2171
+ width: 80px;
2172
+ }
2173
+ @keyframes _VersionSkeleton-pulse_g6ztp_1 {
2174
+ 50% {
2175
+ opacity: 0.5;
2176
+ }
2177
+ }
2178
+ @media (prefers-reduced-motion: reduce) {
2179
+ ._VersionSkeleton_g6ztp_284 {
2180
+ animation: none;
2181
+ }
2182
+ }
2183
+
2184
+ /* css-module:/home/runner/work/platform/platform/packages/plugin-pages/src/components/HeaderActions/styles.module.css/#css-module-data */
2185
+ ._HeaderActions-version_ni5o1_6 {
2186
+ align-items: center;
2187
+ display: flex;
2188
+ gap: 8px;
2189
+ }
2190
+ ._HeaderActions-versionLabel_ni5o1_12 {
2191
+ color: var(--puck-color-grey-02);
2192
+ font-size: var(--puck-font-size-xxs);
2193
+ font-weight: 600;
2194
+ line-height: 16px;
2195
+ }
2196
+ ._HeaderActions-publish_ni5o1_19 {
2197
+ align-items: center;
2198
+ display: inline-flex;
2199
+ gap: 8px;
2200
+ }
2201
+ ._HeaderActions-more_ni5o1_26 {
2202
+ align-items: center;
2203
+ background: var(--puck-color-white);
2204
+ border: 1px solid var(--puck-color-grey-09);
2205
+ border-radius: 8px;
2206
+ box-sizing: border-box;
2207
+ color: var(--puck-color-grey-03);
2208
+ display: inline-flex;
2209
+ height: 34px;
2210
+ justify-content: center;
2211
+ width: 34px;
2212
+ }
2213
+ @media (hover: hover) and (pointer: fine) {
2214
+ ._HeaderActions-more_ni5o1_26:hover {
2215
+ background: var(--puck-color-grey-11);
2216
+ color: var(--puck-color-grey-02);
2217
+ }
2218
+ }
2219
+
2220
+ /* css-module:/home/runner/work/platform/platform/packages/plugin-pages/src/components/Preview/styles.module.css/#css-module-data */
2221
+ ._Preview_11gto_5 {
2222
+ align-items: center;
2223
+ background: var( --puck-canvas-color-bg, var(--puck-color-surface-muted, var(--puck-color-grey-11)) );
2224
+ color: var(--puck-color-grey-07);
2225
+ display: flex;
2226
+ inset: -1px;
2227
+ justify-content: center;
2228
+ position: absolute;
2229
+ }
2230
+
2231
+ /* css-module:/home/runner/work/platform/platform/packages/plugin-pages/src/components/EditorLock/styles.module.css/#css-module-data */
2232
+ ._EditorLock_v0x64_1 {
2233
+ display: contents;
1885
2234
  }