@puckeditor/plugin-pages 0.9.0-canary.c31f0e8f → 0.9.0-canary.c5c8a6ec

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;
@@ -311,7 +468,7 @@ p {
311
468
  }
312
469
 
313
470
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Modal/Modal.module.css/#css-module-data */
314
- ._Modal-background_1bedq_1 {
471
+ ._Modal-background_mocy5_1 {
315
472
  align-items: center;
316
473
  display: flex;
317
474
  justify-content: center;
@@ -325,12 +482,12 @@ p {
325
482
  opacity: 0;
326
483
  pointer-events: none;
327
484
  }
328
- ._Modal--visible_1bedq_16 ._Modal-background_1bedq_1 {
485
+ ._Modal--visible_mocy5_16 > ._Modal-background_mocy5_1 {
329
486
  opacity: 1;
330
487
  transition: opacity ease 100ms;
331
488
  pointer-events: auto;
332
489
  }
333
- ._Modal-modal_1bedq_22 {
490
+ ._Modal-modal_mocy5_22 {
334
491
  background: white;
335
492
  border-radius: 16px;
336
493
  display: block;
@@ -929,15 +1086,15 @@ p {
929
1086
  }
930
1087
 
931
1088
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Menu/styles.module.css/#css-module-data */
932
- ._Menu_1tu16_1 {
1089
+ ._Menu_1jr57_1 {
933
1090
  display: flex;
934
1091
  position: relative;
935
1092
  }
936
- ._Menu-content_1tu16_6 {
1093
+ ._Menu-content_1jr57_6 {
937
1094
  outline: none;
938
1095
  z-index: 1;
939
1096
  }
940
- ._Menu-sections_1tu16_11 {
1097
+ ._Menu-sections_1jr57_11 {
941
1098
  background-color: white;
942
1099
  border: 1px solid var(--puck-color-grey-09);
943
1100
  border-radius: 8px;
@@ -947,40 +1104,41 @@ p {
947
1104
  padding-bottom: 4px;
948
1105
  padding-top: 4px;
949
1106
  }
950
- ._Menu-action_1tu16_22 {
1107
+ ._Menu-action_1jr57_22 {
951
1108
  background: none;
952
1109
  border: none;
953
1110
  margin-left: auto;
954
1111
  padding: 0;
955
1112
  }
956
- ._Menu-action_1tu16_22:hover:not(:disabled) {
1113
+ ._Menu-action_1jr57_22:hover:not(:disabled) {
957
1114
  cursor: pointer;
958
1115
  opacity: 0.8;
959
1116
  }
960
- ._Menu-action_1tu16_22:disabled {
1117
+ ._Menu-action_1jr57_22:disabled {
961
1118
  cursor: not-allowed;
962
1119
  opacity: 0.5;
963
1120
  }
964
- ._Menu-action_1tu16_22:focus-visible {
1121
+ ._Menu-action_1jr57_22:focus-visible {
965
1122
  outline: 2px solid var(--puck-color-azure-05);
966
1123
  outline-offset: 2px;
967
1124
  }
968
- ._Menu-list_1tu16_44 {
1125
+ ._Menu-list_1jr57_44 {
969
1126
  list-style: none;
970
1127
  margin: 0;
971
1128
  padding: 0;
972
1129
  }
973
- ._Menu-list_1tu16_44 + ._Menu-list_1tu16_44 {
1130
+ ._Menu-list_1jr57_44 + ._Menu-list_1jr57_44 {
974
1131
  border-top: 1px solid var(--puck-color-grey-09);
975
1132
  margin-top: 4px;
976
1133
  }
977
- ._Menu-item_1tu16_55 {
1134
+ ._Menu-item_1jr57_55 {
978
1135
  align-items: center;
979
1136
  background: none;
980
1137
  border: none;
981
1138
  box-sizing: border-box;
982
1139
  color: var(--puck-color-grey-02);
983
1140
  display: flex;
1141
+ font-family: var(--puck-font-family);
984
1142
  font-size: var(--puck-font-size-xxs);
985
1143
  font-weight: 500;
986
1144
  gap: 8px;
@@ -990,16 +1148,16 @@ p {
990
1148
  white-space: nowrap;
991
1149
  width: 100%;
992
1150
  }
993
- a._Menu-item_1tu16_55,
994
- button._Menu-item_1tu16_55 {
1151
+ a._Menu-item_1jr57_55,
1152
+ button._Menu-item_1jr57_55 {
995
1153
  cursor: pointer;
996
1154
  }
997
- a._Menu-item_1tu16_55:hover,
998
- button._Menu-item_1tu16_55:hover {
1155
+ a._Menu-item_1jr57_55:hover,
1156
+ button._Menu-item_1jr57_55:hover {
999
1157
  background-color: var(--puck-color-azure-11);
1000
1158
  color: var(--puck-color-azure-04);
1001
1159
  }
1002
- ._Menu-item--disabled_1tu16_83 {
1160
+ ._Menu-item--disabled_1jr57_84 {
1003
1161
  cursor: not-allowed;
1004
1162
  opacity: 0.5;
1005
1163
  }
@@ -1294,15 +1452,15 @@ button._Menu-item_1tu16_55:hover {
1294
1452
  }
1295
1453
 
1296
1454
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Tag/Tag.module.css/#css-module-data */
1297
- ._Tag_s2h0n_1 {
1455
+ ._Tag_162k8_1 {
1298
1456
  align-items: center;
1299
1457
  display: flex;
1300
- text-transform: uppercase;
1458
+ text-transform: lowercase;
1301
1459
  font-family: var(--puck-font-family-monospaced);
1302
- font-weight: 600;
1460
+ font-weight: 500;
1303
1461
  font-size: var(--puck-font-size-xxxs);
1304
1462
  gap: 6px;
1305
- border-radius: 4px;
1463
+ border-radius: 16px;
1306
1464
  border: 1px solid currentColor;
1307
1465
  color: var(--puck-color-grey-05);
1308
1466
  padding: 4px 8px;
@@ -1311,34 +1469,35 @@ button._Menu-item_1tu16_55:hover {
1311
1469
  position: relative;
1312
1470
  z-index: 0;
1313
1471
  }
1314
- ._Tag--borderless_s2h0n_21 {
1472
+ ._Tag--borderless_162k8_21 {
1315
1473
  border: none;
1316
1474
  }
1317
- ._Tag--colorBlue_s2h0n_25 {
1318
- color: var(--puck-color-azure-05);
1475
+ ._Tag--colorBlue_162k8_25 {
1476
+ background-color: var(--puck-color-azure-05);
1477
+ color: var(--puck-color-white);
1319
1478
  }
1320
- ._Tag--colorGreen_s2h0n_29 {
1479
+ ._Tag--colorGreen_162k8_30 {
1321
1480
  color: var(--puck-color-green-06);
1322
1481
  }
1323
- ._Tag--colorRed_s2h0n_33 {
1482
+ ._Tag--colorRed_162k8_34 {
1324
1483
  color: var(--puck-color-red-04);
1325
1484
  }
1326
- ._Tag--colorMuted_s2h0n_37 {
1327
- color: var(--puck-color-grey-06);
1485
+ ._Tag--colorMuted_162k8_38 {
1486
+ color: var(--puck-color-grey-05);
1328
1487
  }
1329
- ._Tag-sprite_s2h0n_41 {
1488
+ ._Tag-sprite_162k8_42 {
1330
1489
  display: flex;
1331
1490
  }
1332
- ._Tag--pulse_s2h0n_45 {
1333
- ._Tag-sprite_s2h0n_41 {
1491
+ ._Tag--pulse_162k8_46 {
1492
+ ._Tag-sprite_162k8_42 {
1334
1493
  background: currentColor;
1335
1494
  border-radius: 50%;
1336
1495
  height: 5px;
1337
1496
  position: relative;
1338
1497
  width: 5px;
1339
1498
  }
1340
- ._Tag-sprite_s2h0n_41::before {
1341
- animation: _pulse_s2h0n_1 1s 0s infinite alternate;
1499
+ ._Tag-sprite_162k8_42::before {
1500
+ animation: _pulse_162k8_1 1s 0s infinite alternate;
1342
1501
  animation-fill-mode: both;
1343
1502
  background-color: color-mix(in srgb, currentColor 25%, transparent);
1344
1503
  border-radius: 50%;
@@ -1352,7 +1511,7 @@ button._Menu-item_1tu16_55:hover {
1352
1511
  z-index: -1;
1353
1512
  }
1354
1513
  }
1355
- @keyframes _pulse_s2h0n_1 {
1514
+ @keyframes _pulse_162k8_1 {
1356
1515
  0% {
1357
1516
  transform: scale(1);
1358
1517
  }
@@ -1360,7 +1519,7 @@ button._Menu-item_1tu16_55:hover {
1360
1519
  transform: scale(2);
1361
1520
  }
1362
1521
  }
1363
- ._Tag-label_s2h0n_79 {
1522
+ ._Tag-label_162k8_80 {
1364
1523
  margin-top: 1px;
1365
1524
  }
1366
1525
 
@@ -1548,241 +1707,135 @@ button._Menu-item_1tu16_55:hover {
1548
1707
  }
1549
1708
  }
1550
1709
 
1551
- /* css-module:/home/runner/work/platform/platform/packages/plugin-pages/src/components/PagePlugin/styles.module.css/#css-module-data */
1552
- ._Pages_ey49w_5 {
1553
- display: flex;
1554
- flex-direction: column;
1555
- height: 100%;
1556
- padding: 16px;
1557
- }
1558
- ._Pages-addPage_ey49w_12 {
1559
- margin-bottom: 16px;
1560
- display: flex;
1561
- gap: 8px;
1562
- }
1563
- ._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 {
1564
1712
  align-items: center;
1565
- background-color: white;
1566
- display: flex;
1567
- justify-content: center;
1568
- padding: 16px;
1569
- }
1570
- ._Pages-list_ey49w_26 {
1571
- display: flex;
1572
- flex-direction: column;
1573
- border-radius: 8px;
1574
- overflow-y: auto;
1575
- flex-grow: 1;
1576
- }
1577
- ._Pages-search_ey49w_34 {
1578
- flex-grow: 1;
1579
- }
1580
- ._Pages-searchInput_ey49w_38 {
1581
- border: 1px solid var(--puck-color-grey-09);
1713
+ border: 1px solid transparent;
1582
1714
  border-radius: 8px;
1583
- background-color: var(--puck-color-white);
1584
1715
  box-sizing: border-box;
1585
- color: var(--puck-color-grey-02);
1586
- height: 36px;
1587
- margin: 0;
1588
- padding: 0 8px;
1589
- width: 100%;
1590
- }
1591
- ._Pages-searchInput_ey49w_38:focus {
1592
- outline: 2px solid var(--puck-color-azure-04);
1593
- outline-offset: -1px;
1594
- }
1595
- ._PagesPage_ey49w_59 {
1596
- border-left: 1px solid var(--puck-color-grey-10);
1597
- border-right: 1px solid var(--puck-color-grey-10);
1598
- border-bottom: 1px solid var(--puck-color-grey-10);
1599
1716
  display: flex;
1600
- flex-direction: column;
1601
- flex-shrink: 0;
1602
- overflow: hidden;
1603
- }
1604
- ._PagesPage--expanded_ey49w_69 {
1605
- min-height: calc(34px + 1px + 55px);
1606
- }
1607
- ._PagesPage--expanded_ey49w_69:has(._PagesPage-versions_ey49w_73 > :nth-child(2)) {
1608
- min-height: calc(34px + 1px + 55px + 1px + 55px);
1609
- }
1610
- ._PagesPage--expanded_ey49w_69:has(._PagesPage-versions_ey49w_73 > :nth-child(3)) {
1611
- min-height: calc(34px + 1px + 55px + 1px + 55px + 1px + 55px);
1717
+ gap: 4px;
1718
+ height: 32px;
1719
+ padding: 0 3px 0 11px;
1612
1720
  }
1613
- ._PagesPage--expanded_ey49w_69 {
1614
- 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);
1615
1724
  }
1616
- ._PagesPage_ey49w_59:first-of-type {
1617
- border-top: 1px solid var(--puck-color-grey-10);
1618
- border-top-left-radius: 8px;
1619
- border-top-right-radius: 8px;
1725
+ ._PagesRow--loading_11pqv_13 {
1726
+ cursor: default;
1620
1727
  }
1621
- ._PagesPage_ey49w_59:last-of-type {
1622
- border-bottom-left-radius: 8px;
1623
- 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);
1624
1732
  }
1625
- ._PagesPage-header_ey49w_96 {
1733
+ ._PagesRow-main_11pqv_29 {
1626
1734
  align-items: center;
1627
- background-color: white;
1628
- font-family: var(--puck-font-family-monospaced);
1629
- font-size: var(--puck-font-size-xxs);
1630
- font-weight: 600;
1735
+ align-self: stretch;
1736
+ background: none;
1737
+ border: 0;
1738
+ color: var(--puck-color-grey-04);
1631
1739
  cursor: pointer;
1632
1740
  display: flex;
1633
- justify-content: space-between;
1634
- padding: 8px 12px;
1635
- width: 100%;
1636
- }
1637
- ._PagesPage_ey49w_59:first-of-type ._PagesPage-header_ey49w_96 {
1638
- border-top-left-radius: 8px;
1639
- 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;
1640
1748
  }
1641
- ._PagesPage_ey49w_59:last-of-type:not(._PagesPage--expanded_ey49w_69) ._PagesPage-header_ey49w_96 {
1642
- border-bottom-left-radius: 8px;
1643
- 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;
1644
1752
  }
1645
- ._PagesPage-header_ey49w_96:focus-visible {
1753
+ ._PagesRow-main_11pqv_29:focus-visible {
1754
+ border-radius: 4px;
1646
1755
  outline: 2px solid var(--puck-color-azure-04);
1647
- outline-offset: -2px;
1648
- }
1649
- ._PagesPage--active_ey49w_124 ._PagesPage-header_ey49w_96 {
1650
- color: var(--puck-color-azure-04);
1756
+ outline-offset: 2px;
1651
1757
  }
1652
- ._PagesPage--expanded_ey49w_69 ._PagesPage-header_ey49w_96 {
1653
- 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;
1654
1761
  }
1655
- ._PagesPage-header_ey49w_96:hover {
1656
- background: var(--puck-color-azure-11);
1657
- color: var(--puck-color-azure-04);
1762
+ ._PagesRow--current_11pqv_23 ._PagesRow-icon_11pqv_57 {
1763
+ color: var(--puck-color-grey-02);
1658
1764
  }
1659
- ._PagesPage-headerMain_ey49w_137 {
1660
- display: flex;
1661
- gap: 4px;
1662
- justify-content: space-between;
1663
- width: 100%;
1765
+ ._PagesRow-path_11pqv_66 {
1766
+ min-width: 0;
1767
+ overflow: hidden;
1768
+ text-overflow: ellipsis;
1769
+ white-space: nowrap;
1664
1770
  }
1665
- ._PagesPage-headerIcon_ey49w_144 {
1771
+ ._PagesRow-draft_11pqv_73 {
1772
+ background: var(--puck-color-grey-10);
1773
+ border-radius: 999px;
1666
1774
  color: var(--puck-color-grey-04);
1667
- }
1668
- ._PagesPage-loader_ey49w_148 {
1669
- align-items: center;
1670
- background-color: white;
1671
- display: none;
1672
- justify-content: center;
1673
- padding: 16px;
1674
- height: 100%;
1675
- }
1676
- ._PagesPage--expanded_ey49w_69 ._PagesPage-loader_ey49w_148 {
1677
- display: flex;
1678
- }
1679
- ._PagesPage-versions_ey49w_73 {
1680
- display: none;
1681
- overflow-y: auto;
1682
- }
1683
- ._PagesPage--expanded_ey49w_69 ._PagesPage-versions_ey49w_73 {
1684
- display: block;
1685
- }
1686
- ._PagesVersion_ey49w_174 ._PagesVersion-inner_ey49w_174 {
1687
- background-color: white;
1688
- border-top: 1px solid var(--puck-color-grey-10);
1689
- padding-bottom: 12px;
1690
- padding-left: 24px;
1691
- padding-right: 12px;
1692
- padding-top: 8px;
1693
- text-align: left;
1694
- width: 100%;
1695
- }
1696
- ._PagesVersion_ey49w_174:first-of-type ._PagesVersion-inner_ey49w_174 {
1697
- border-top: none;
1698
- }
1699
- ._PagesVersion--current_ey49w_189 ._PagesVersion-inner_ey49w_174 {
1700
- border-right: 3px solid var(--puck-color-azure-04);
1701
- }
1702
- ._PagesVersion-inner_ey49w_174:hover {
1703
- background-color: var(--puck-color-azure-11);
1704
- color: var(--puck-color-azure-04);
1705
- cursor: pointer;
1706
- }
1707
- ._PagesVersion-inner_ey49w_174:focus-visible {
1708
- outline: 2px solid var(--puck-color-azure-04);
1709
- outline-offset: -2px;
1710
- }
1711
- ._PagesVersion-header_ey49w_204 {
1712
- align-items: center;
1713
- display: flex;
1714
- gap: 4px;
1715
- }
1716
- ._PagesVersion-version_ey49w_210 {
1717
- font-family: var(--puck-font-family-monospaced);
1775
+ flex-shrink: 0;
1776
+ font-size: var(--puck-font-size-xxxs);
1718
1777
  font-weight: 600;
1719
- line-height: 1;
1778
+ line-height: 20px;
1779
+ padding: 0 8px;
1720
1780
  }
1721
- ._PagesVersion-date_ey49w_216 {
1722
- color: var(--puck-color-grey-06);
1723
- font-size: var(--puck-font-size-xxxs);
1724
- font-weight: 500;
1725
- line-height: 1;
1726
- margin-top: 2px;
1781
+ ._PagesRow-actions_11pqv_84 {
1782
+ display: flex;
1727
1783
  margin-left: auto;
1728
- white-space: nowrap;
1784
+ flex-shrink: 0;
1785
+ opacity: 0;
1786
+ transition: opacity 120ms;
1729
1787
  }
1730
-
1731
- /* css-module:/home/runner/work/platform/platform/packages/plugin-pages/src/components/CreateForm/styles.module.css/#css-module-data */
1732
- ._CreateForm_kkdt2_1 {
1733
- 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;
1734
1792
  }
1735
- ._CreateForm-field_kkdt2_5 {
1736
- display: flex;
1737
- flex-direction: column;
1738
- align-items: flex-start;
1739
- gap: 0.25rem;
1740
- width: 100%;
1793
+ @media (hover: none) {
1794
+ ._PagesRow-actions_11pqv_84 {
1795
+ opacity: 1;
1796
+ }
1741
1797
  }
1742
- ._CreateForm-label_kkdt2_13 {
1743
- font-size: 0.875rem;
1744
- line-height: 1.25rem;
1745
- font-weight: 500;
1746
- 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;
1747
1806
  }
1748
- ._CreateForm-input_kkdt2_20 {
1749
- box-sizing: border-box;
1750
- width: 100%;
1751
- height: 2.5rem;
1752
- margin: 0;
1753
- padding: 0 0.875rem;
1754
- border: 1px solid var(--puck-color-grey-10);
1755
- border-radius: 0.375rem;
1756
- background-color: var(--puck-color-white);
1757
- color: var(--puck-color-grey-02);
1758
- font-family: inherit;
1759
- font-size: 1rem;
1807
+ ._PagesRow-action_11pqv_84:hover {
1808
+ color: var(--puck-color-azure-04);
1760
1809
  }
1761
- ._CreateForm-input_kkdt2_20:focus {
1762
- outline: 2px solid var(--puck-color-azure-04);
1763
- 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%;
1764
1817
  }
1765
- ._CreateForm-input_kkdt2_20::placeholder {
1766
- color: var(--puck-color-grey-06);
1818
+ @keyframes _PagesRowSkeleton-pulse_11pqv_1 {
1819
+ 50% {
1820
+ opacity: 0.5;
1821
+ }
1767
1822
  }
1768
- ._CreateForm-error_kkdt2_43 {
1769
- width: 100%;
1770
- margin-top: 16px;
1771
- color: var(--puck-color-red-05);
1772
- font-size: 0.875rem;
1773
- line-height: 1.2;
1823
+ @media (prefers-reduced-motion: reduce) {
1824
+ ._PagesRowSkeleton_11pqv_122 {
1825
+ animation: none;
1826
+ }
1774
1827
  }
1775
1828
 
1776
1829
  /* css-module:/home/runner/work/platform/platform/packages/plugin-pages/src/components/ConfirmModal/styles.module.css/#css-module-data */
1777
- ._ConfirmModal_1r63q_1 {
1830
+ ._ConfirmModal_zhhjx_1 {
1778
1831
  width: 100%;
1779
1832
  }
1780
- ._ConfirmModal-button_1r63q_5 {
1833
+ ._ConfirmModal-button_zhhjx_5 {
1781
1834
  display: inline-flex;
1782
1835
  }
1783
- ._ConfirmModal-background_1r63q_9 {
1836
+ ._ConfirmModal-background_zhhjx_9 {
1784
1837
  align-items: center;
1785
- background: #00000050;
1838
+ background: rgba(0, 0, 0, 0.4);
1786
1839
  bottom: 0;
1787
1840
  display: flex;
1788
1841
  justify-content: center;
@@ -1792,92 +1845,390 @@ button._Menu-item_1tu16_55:hover {
1792
1845
  top: 0;
1793
1846
  z-index: 2;
1794
1847
  }
1795
- ._ConfirmModal-modal_1r63q_22 {
1848
+ ._ConfirmModal-modal_zhhjx_22 {
1796
1849
  background: var(--puck-color-white);
1797
1850
  border-radius: 16px;
1851
+ box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
1798
1852
  display: flex;
1799
1853
  flex-direction: column;
1800
1854
  margin-inline: 24px;
1801
1855
  max-height: calc(100vh - 24px);
1856
+ max-width: 440px;
1802
1857
  min-width: 356px;
1803
1858
  overflow: auto;
1804
1859
  }
1805
- ._ConfirmModal-header_1r63q_33 {
1860
+ ._ConfirmModal-header_zhhjx_35 {
1806
1861
  align-items: center;
1807
1862
  color: var(--puck-color-grey-02);
1808
1863
  display: flex;
1809
1864
  gap: 16px;
1810
1865
  justify-content: space-between;
1811
- padding: 24px 24px 16px;
1866
+ padding: 24px 24px 8px;
1812
1867
  }
1813
- ._ConfirmModal-close_1r63q_42 {
1868
+ ._ConfirmModal-close_zhhjx_44 {
1814
1869
  align-items: center;
1815
1870
  appearance: none;
1816
- background: transparent;
1817
- border: none;
1871
+ background: var(--puck-color-white);
1872
+ border: 1px solid var(--puck-color-grey-08);
1818
1873
  border-radius: 8px;
1819
- color: var(--puck-color-grey-04);
1874
+ box-sizing: border-box;
1875
+ color: var(--puck-color-grey-02);
1820
1876
  cursor: pointer;
1821
1877
  display: inline-flex;
1878
+ font: inherit;
1879
+ font-size: var(--puck-font-size-xxs);
1822
1880
  justify-content: center;
1823
- padding: 4px;
1881
+ min-height: 34px;
1882
+ padding: 0 16px;
1824
1883
  }
1825
- ._ConfirmModal-close_1r63q_42:hover {
1884
+ ._ConfirmModal-close_zhhjx_44:hover:not(:disabled) {
1826
1885
  background: var(--puck-color-grey-11);
1827
- color: var(--puck-color-grey-02);
1828
1886
  }
1829
- ._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 {
1830
1892
  outline: 2px solid var(--puck-color-azure-05);
1831
1893
  outline-offset: 2px;
1832
1894
  }
1833
- ._ConfirmModal-body_1r63q_65 {
1834
- color: var(--puck-color-grey-03);
1835
- line-height: 1.5;
1836
- 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;
1837
1900
  }
1838
- ._ConfirmModal-footer_1r63q_71 {
1901
+ ._ConfirmModal-footer_zhhjx_82 {
1839
1902
  background-color: var(--puck-color-grey-12);
1840
- border-top: 1px solid var(--puck-color-grey-09);
1903
+ border-top: 1px solid var(--puck-color-grey-10);
1841
1904
  display: flex;
1842
- gap: 12px;
1905
+ gap: 8px;
1843
1906
  justify-content: flex-end;
1844
1907
  padding: 16px 24px;
1845
1908
  }
1846
1909
 
1847
- /* css-module:/home/runner/work/platform/platform/packages/plugin-pages/src/components/HeaderActions/styles.module.css/#css-module-data */
1848
- ._HeaderActions-publish_7nzbl_1 {
1849
- 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);
1850
1914
  display: inline-flex;
1851
- 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;
1852
1921
  }
1853
- ._HeaderActions-trigger_7nzbl_7 {
1854
- 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 {
1855
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);
1856
2015
  justify-content: center;
1857
- min-height: 32px;
1858
- padding: 0 12px;
1859
- border-left: 0;
1860
- 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 {
1861
2028
  background: var(--puck-color-white);
1862
- 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;
2047
+ }
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 {
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;
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);
1863
2139
  }
1864
- ._HeaderActions-versionHeader_7nzbl_19 {
2140
+ ._VersionTimelineItem-body_g6ztp_254 {
1865
2141
  align-items: center;
1866
2142
  display: flex;
2143
+ flex: 1;
1867
2144
  gap: 8px;
1868
- height: 21px;
2145
+ min-width: 0;
1869
2146
  }
1870
- ._HeaderActions-versionLabel_7nzbl_26 {
1871
- font-family: var(--puck-font-family-monospaced);
1872
- font-size: var(--puck-font-size-xs);
2147
+ ._VersionTimelineItem-label_g6ztp_262 {
2148
+ font-size: var(--puck-font-size-xxs);
1873
2149
  font-weight: 600;
1874
- line-height: 1;
2150
+ line-height: 20px;
1875
2151
  }
1876
- ._HeaderActions-versionDate_7nzbl_33 {
1877
- 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;
1878
2158
  font-size: var(--puck-font-size-xxxs);
1879
- font-weight: 500;
1880
- line-height: 1;
1881
- margin-top: 2px;
1882
- 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;
1883
2234
  }