@puckeditor/plugin-pages 0.8.0-canary.d8162401 → 0.8.0-canary.d8ff4908

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 (4) hide show
  1. package/dist/index.css +107 -80
  2. package/dist/index.js +1316 -6652
  3. package/dist/index.mjs +1321 -6654
  4. package/package.json +19 -19
package/dist/index.css CHANGED
@@ -337,7 +337,7 @@ p {
337
337
  }
338
338
 
339
339
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Button/Button.module.css/#css-module-data */
340
- ._Button_1tog0_1 {
340
+ ._Button_16opg_1 {
341
341
  appearance: none;
342
342
  background: none;
343
343
  border: 1px solid transparent;
@@ -359,28 +359,32 @@ p {
359
359
  white-space: nowrap;
360
360
  margin: 0;
361
361
  }
362
- ._Button_1tog0_1:hover,
363
- ._Button_1tog0_1:active {
362
+ ._Button_16opg_1:hover,
363
+ ._Button_16opg_1:active {
364
364
  transition: none;
365
365
  }
366
- ._Button_1tog0_1:focus-visible {
366
+ ._Button_16opg_1:focus-visible {
367
367
  outline: 2px solid var(--puck-color-azure-05);
368
368
  outline-offset: 2px;
369
369
  }
370
- ._Button--medium_1tog0_34 {
370
+ ._Button--small_16opg_34 {
371
+ font-size: 12px;
372
+ padding: 2px 8px;
373
+ }
374
+ ._Button--medium_16opg_39 {
371
375
  min-height: 34px;
372
376
  padding-bottom: 7px;
373
377
  padding-left: 15px;
374
378
  padding-right: 15px;
375
379
  padding-top: 7px;
376
380
  }
377
- ._Button--large_1tog0_42 {
381
+ ._Button--large_16opg_47 {
378
382
  padding-bottom: 11px;
379
383
  padding-left: 19px;
380
384
  padding-right: 19px;
381
385
  padding-top: 11px;
382
386
  }
383
- ._Button--brand_1tog0_49 {
387
+ ._Button--brand_16opg_54 {
384
388
  background-image:
385
389
  linear-gradient(
386
390
  210deg,
@@ -390,53 +394,53 @@ p {
390
394
  border: none;
391
395
  }
392
396
  @media (hover: hover) and (pointer: fine) {
393
- ._Button--brand_1tog0_49:hover {
397
+ ._Button--brand_16opg_54:hover {
394
398
  opacity: 0.8;
395
399
  }
396
400
  }
397
- ._Button--brand_1tog0_49:active {
401
+ ._Button--brand_16opg_54:active {
398
402
  opacity: 0.8;
399
403
  }
400
- ._Button--primary_1tog0_69 {
404
+ ._Button--primary_16opg_74 {
401
405
  background: var(--puck-color-azure-04);
402
406
  }
403
407
  @media (hover: hover) and (pointer: fine) {
404
- ._Button--primary_1tog0_69:hover {
408
+ ._Button--primary_16opg_74:hover {
405
409
  background-color: var(--puck-color-azure-03);
406
410
  }
407
411
  }
408
- ._Button--primary_1tog0_69:active {
412
+ ._Button--primary_16opg_74:active {
409
413
  background-color: var(--puck-color-azure-02);
410
414
  }
411
- ._Button--secondary_1tog0_83 {
415
+ ._Button--secondary_16opg_88 {
412
416
  border: 1px solid currentColor;
413
417
  color: currentColor;
414
418
  }
415
419
  @media (hover: hover) and (pointer: fine) {
416
- ._Button--secondary_1tog0_83:hover {
420
+ ._Button--secondary_16opg_88:hover {
417
421
  background-color: var(--puck-color-azure-12);
418
422
  color: var(--puck-color-black);
419
423
  }
420
424
  }
421
- ._Button--secondary_1tog0_83:active {
425
+ ._Button--secondary_16opg_88:active {
422
426
  background-color: var(--puck-color-azure-11);
423
427
  color: var(--puck-color-black);
424
428
  }
425
- ._Button--danger_1tog0_100 {
429
+ ._Button--danger_16opg_105 {
426
430
  background: var(--puck-color-red-04);
427
431
  }
428
432
  @media (hover: hover) and (pointer: fine) {
429
- ._Button--danger_1tog0_100:hover {
433
+ ._Button--danger_16opg_105:hover {
430
434
  background-color: var(--puck-color-red-03);
431
435
  }
432
436
  }
433
- ._Button--danger_1tog0_100:active {
437
+ ._Button--danger_16opg_105:active {
434
438
  background-color: var(--puck-color-red-02);
435
439
  }
436
- ._Button--flush_1tog0_114 {
440
+ ._Button--flush_16opg_119 {
437
441
  border-radius: 0;
438
442
  }
439
- ._Button--ghost_1tog0_118 {
443
+ ._Button--ghost_16opg_123 {
440
444
  align-items: center;
441
445
  background-color: transparent;
442
446
  border: none;
@@ -445,26 +449,26 @@ p {
445
449
  display: flex;
446
450
  }
447
451
  @media (hover: hover) and (pointer: fine) {
448
- ._Button--ghost_1tog0_118:hover {
452
+ ._Button--ghost_16opg_123:hover {
449
453
  background-color: var(--puck-color-grey-11);
450
454
  color: var(--puck-color-azure-04);
451
455
  cursor: pointer;
452
456
  }
453
457
  }
454
- ._Button--disabled_1tog0_135,
455
- ._Button--disabled_1tog0_135:hover,
456
- ._Button--secondary_1tog0_83._Button--disabled_1tog0_135,
457
- ._Button--secondary_1tog0_83._Button--disabled_1tog0_135:hover {
458
+ ._Button--disabled_16opg_140,
459
+ ._Button--disabled_16opg_140:hover,
460
+ ._Button--secondary_16opg_88._Button--disabled_16opg_140,
461
+ ._Button--secondary_16opg_88._Button--disabled_16opg_140:hover {
458
462
  background-color: var(--puck-color-grey-12);
459
463
  border-color: var(--puck-color-grey-08);
460
464
  color: var(--puck-color-grey-07);
461
465
  cursor: not-allowed;
462
466
  }
463
- ._Button--fullWidth_1tog0_145 {
467
+ ._Button--fullWidth_16opg_150 {
464
468
  justify-content: center;
465
469
  width: 100%;
466
470
  }
467
- ._Button-spinner_1tog0_150 {
471
+ ._Button-spinner_16opg_155 {
468
472
  padding-left: 8px;
469
473
  }
470
474
 
@@ -1080,19 +1084,22 @@ button._Menu-item_1tu16_55:hover {
1080
1084
  }
1081
1085
 
1082
1086
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanGrid/styles.module.css/#css-module-data */
1083
- ._PlanGrid--loading_97rn7_1 {
1087
+ ._PlanGrid--loading_1v43l_1 {
1084
1088
  opacity: 0;
1085
1089
  }
1086
- ._PlanGrid-grid_97rn7_5 {
1090
+ ._PlanGrid-grid_1v43l_5 {
1087
1091
  color: var(--puck-color-grey-02);
1088
1092
  display: grid;
1089
- gap: 16px;
1093
+ gap: 32px;
1090
1094
  text-align: left;
1095
+ padding-inline: 32px;
1096
+ padding-block: 20px;
1091
1097
  @media (min-width: 768px) {
1092
1098
  grid-template-columns: 1fr 1fr 1fr;
1099
+ margin: 8px;
1093
1100
  }
1094
1101
  }
1095
- ._PlanGrid-enterprise_97rn7_16 {
1102
+ ._PlanGrid-enterprise_1v43l_21 {
1096
1103
  color: var(--puck-color-grey-04);
1097
1104
  font-size: var(--puck-font-size-xxs);
1098
1105
  margin-left: auto;
@@ -1101,14 +1108,14 @@ button._Menu-item_1tu16_55:hover {
1101
1108
  padding-top: 20px;
1102
1109
  text-align: center;
1103
1110
  }
1104
- ._PlanGrid-enterprise_97rn7_16 a {
1111
+ ._PlanGrid-enterprise_1v43l_21 a {
1105
1112
  color: var(--puck-color-azure-04);
1106
1113
  cursor: pointer;
1107
1114
  font-weight: 500;
1108
1115
  }
1109
1116
 
1110
1117
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanCard/styles.module.css/#css-module-data */
1111
- ._PlanCard_16zmu_1 {
1118
+ ._PlanCard_11294_1 {
1112
1119
  border: 1px solid var(--puck-color-grey-09);
1113
1120
  border-radius: 16px;
1114
1121
  display: flex;
@@ -1118,11 +1125,11 @@ button._Menu-item_1tu16_55:hover {
1118
1125
  padding: 8px;
1119
1126
  position: relative;
1120
1127
  }
1121
- ._PlanCard--enterprise_16zmu_12 {
1128
+ ._PlanCard--enterprise_11294_12 {
1122
1129
  flex-direction: row;
1123
1130
  grid-column: span 3;
1124
1131
  }
1125
- ._PlanCard-title_16zmu_17 {
1132
+ ._PlanCard-title_11294_17 {
1126
1133
  display: flex;
1127
1134
  gap: 8px;
1128
1135
  justify-content: space-between;
@@ -1130,137 +1137,157 @@ button._Menu-item_1tu16_55:hover {
1130
1137
  font-weight: 700;
1131
1138
  white-space: nowrap;
1132
1139
  }
1133
- ._PlanCard-header_16zmu_26 {
1140
+ ._PlanCard-header_11294_26 {
1134
1141
  box-sizing: border-box;
1135
1142
  display: flex;
1136
1143
  flex-direction: column;
1137
1144
  gap: 4px;
1138
1145
  padding: 12px 16px;
1139
1146
  width: 100%;
1147
+ min-height: 80px;
1140
1148
  }
1141
- ._PlanCard-features_16zmu_35 {
1149
+ ._PlanCard-features_11294_36 {
1142
1150
  display: grid;
1143
1151
  gap: 4px;
1144
1152
  list-style: none;
1145
1153
  margin: 0;
1146
1154
  padding: 0;
1147
1155
  }
1148
- ._PlanCard-feature_16zmu_35 {
1156
+ ._PlanCard-feature_11294_36 {
1149
1157
  align-items: center;
1150
1158
  display: flex;
1151
1159
  gap: 4px;
1152
1160
  color: var(--puck-color-grey-05);
1153
1161
  font-size: var(--puck-font-size-xxs);
1154
1162
  }
1155
- ._PlanCard-featureIcon_16zmu_51 {
1163
+ ._PlanCard-featureIcon_11294_52 {
1156
1164
  align-self: flex-start;
1157
1165
  margin-top: 5px;
1158
1166
  }
1159
- ._PlanCard-featureTitle_16zmu_56 {
1167
+ ._PlanCard-featureTitle_11294_57 {
1160
1168
  color: var(--puck-color-grey-04);
1161
1169
  font-weight: 600;
1162
1170
  }
1163
- ._PlanCard-priceValue_16zmu_61 {
1171
+ ._PlanCard-priceValue_11294_62 {
1164
1172
  font-size: var(--puck-font-size-m);
1165
1173
  }
1166
- ._PlanCard-priceInterval_16zmu_65 {
1174
+ ._PlanCard-priceInterval_11294_66 {
1167
1175
  color: var(--puck-color-grey-05);
1168
1176
  }
1169
- ._PlanCard-body_16zmu_69 {
1177
+ ._PlanCard-body_11294_70 {
1170
1178
  background-color: var(--puck-color-grey-12);
1171
1179
  border: 1px solid var(--puck-color-grey-11);
1172
1180
  border-radius: 8px;
1173
1181
  padding: 16px;
1174
1182
  flex-grow: 1;
1175
1183
  }
1176
- ._PlanCard--enterprise_16zmu_12 ._PlanCard-body_16zmu_69 {
1184
+ ._PlanCard--enterprise_11294_12 ._PlanCard-body_11294_70 {
1177
1185
  display: flex;
1178
1186
  gap: 8px;
1179
1187
  width: 100%;
1180
1188
  }
1181
- ._PlanCard-section_16zmu_83 {
1189
+ ._PlanCard-section_11294_84 {
1182
1190
  padding-bottom: 16px;
1183
1191
  min-width: 192px;
1184
1192
  }
1185
- ._PlanCard-section_16zmu_83:last-of-type {
1193
+ ._PlanCard-section_11294_84:last-of-type {
1186
1194
  padding-bottom: 0;
1187
1195
  }
1188
- ._PlanCard-section_16zmu_83 + ._PlanCard-section_16zmu_83 {
1196
+ ._PlanCard-section_11294_84 + ._PlanCard-section_11294_84 {
1189
1197
  border-top: 1px solid var(--puck-color-grey-09);
1190
1198
  padding-top: 16px;
1191
1199
  }
1192
- ._PlanCard--enterprise_16zmu_12 {
1193
- ._PlanCard-section_16zmu_83 + ._PlanCard-section_16zmu_83 {
1200
+ ._PlanCard--enterprise_11294_12 {
1201
+ ._PlanCard-section_11294_84 + ._PlanCard-section_11294_84 {
1194
1202
  border-left: 1px solid var(--puck-color-grey-09);
1195
1203
  border-top: none;
1196
1204
  padding-left: 16px;
1197
1205
  padding-top: 0;
1198
1206
  }
1199
1207
  }
1200
- ._PlanCard-sectionTitle_16zmu_106 {
1208
+ ._PlanCard-sectionTitle_11294_107 {
1201
1209
  font-size: var(--puck-font-size-xs);
1202
1210
  font-weight: 500;
1203
1211
  margin-bottom: 8px;
1204
1212
  }
1205
- ._PlanCard-sectionBody_16zmu_112 + ._PlanCard-sectionTitle_16zmu_106 {
1213
+ ._PlanCard-sectionBody_11294_113 + ._PlanCard-sectionTitle_11294_107 {
1206
1214
  border-top: 1px solid var(--puck-color-grey-09);
1207
1215
  margin-top: 16px;
1208
1216
  padding-top: 16px;
1209
1217
  }
1210
- ._PlanCard-sectionBody_16zmu_112 {
1218
+ ._PlanCard-sectionBody_11294_113 {
1211
1219
  color: var(--puck-color-grey-03);
1212
1220
  font-size: var(--puck-font-size-xxs);
1213
1221
  display: grid;
1214
1222
  gap: 2px;
1215
1223
  }
1216
- ._PlanCard-usageItem_16zmu_125 {
1224
+ ._PlanCard-usageItem_11294_126 {
1217
1225
  display: flex;
1218
1226
  gap: 8px;
1219
1227
  font-size: var(--puck-font-size-xxs);
1220
1228
  }
1221
- ._PlanCard-usageLabel_16zmu_131 {
1229
+ ._PlanCard-usageLabel_11294_132 {
1222
1230
  color: var(--puck-color-grey-04);
1223
1231
  font-weight: 500;
1224
1232
  }
1225
- ._PlanCard-usageValue_16zmu_136 {
1233
+ ._PlanCard-usageValue_11294_137 {
1226
1234
  color: var(--puck-color-grey-05);
1227
1235
  font-family: var(--puck-font-family-monospaced);
1228
1236
  margin-left: auto;
1229
1237
  }
1230
- ._PlanCard-action_16zmu_142 {
1238
+ ._PlanCard-action_11294_143 {
1231
1239
  align-items: flex-end;
1232
1240
  display: flex;
1233
1241
  justify-content: flex-end;
1234
1242
  width: 100%;
1235
1243
  }
1236
- ._PlanCard-description_16zmu_149 {
1237
- color: var(--puck-color-grey-03);
1244
+ ._PlanCard-description_11294_150 {
1245
+ color: var(--puck-color-grey-04);
1238
1246
  margin-top: 8px;
1247
+ font-size: var(--puck-font-size-xxs);
1239
1248
  }
1240
- ._PlanCard--highlight_16zmu_154 {
1241
- border: transparent;
1249
+ ._PlanCard_11294_1 {
1250
+ position: relative;
1251
+ z-index: 0;
1242
1252
  }
1243
- ._PlanCard--highlight_16zmu_154::before {
1253
+ @property --shadow-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
1254
+ ._PlanCard_11294_1::before {
1244
1255
  content: "";
1245
1256
  position: absolute;
1246
1257
  inset: 0;
1247
- padding: 1px;
1258
+ z-index: -1;
1248
1259
  border-radius: inherit;
1249
- background-image:
1250
- linear-gradient(
1251
- 210deg,
1252
- var(--puck-color-azure-01) 0%,
1253
- var(--puck-color-azure-03) 40%,
1254
- var(--puck-color-red-05) 100%);
1255
- background-size: cover;
1256
- background-position: center;
1257
- -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
1258
- -webkit-mask-composite: xor;
1259
- mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
1260
- mask-composite: exclude;
1261
- pointer-events: none;
1260
+ background: #fff;
1261
+ }
1262
+ ._PlanCard--highlight_11294_176::after {
1263
+ content: "";
1264
+ position: absolute;
1265
+ inset: -18px;
1266
+ z-index: -2;
1267
+ border: 16px solid transparent;
1268
+ border-radius: 34px;
1269
+ opacity: 0.6;
1270
+ background:
1271
+ conic-gradient(
1272
+ from var(--shadow-angle),
1273
+ var(--puck-color-azure-07),
1274
+ transparent,
1275
+ var(--puck-color-rose-06),
1276
+ var(--puck-color-azure-05),
1277
+ transparent,
1278
+ var(--puck-color-azure-07));
1279
+ background-clip: padding-box;
1280
+ filter: blur(12px);
1281
+ }
1282
+ ._PlanCard--highlight_11294_176::after {
1283
+ animation: _spin_11294_1 8s linear infinite;
1284
+ }
1285
+ @keyframes _spin_11294_1 {
1286
+ to {
1287
+ --shadow-angle: 360deg;
1288
+ }
1262
1289
  }
1263
- ._PlanCard-highlightText_16zmu_184 {
1290
+ ._PlanCard-highlightText_11294_209 {
1264
1291
  @supports (background-clip: text) or (-webkit-background-clip: text) {
1265
1292
  color: transparent;
1266
1293
  background-clip: text;
@@ -1275,17 +1302,17 @@ button._Menu-item_1tu16_55:hover {
1275
1302
  background-position: center;
1276
1303
  }
1277
1304
  }
1278
- ._PlanCard--fullWidth_16zmu_200 {
1305
+ ._PlanCard--fullWidth_11294_225 {
1279
1306
  flex-direction: row;
1280
1307
  grid-column: 1 / -1;
1281
1308
  }
1282
- ._PlanCard--fullWidth_16zmu_200 ._PlanCard-header_16zmu_26 {
1309
+ ._PlanCard--fullWidth_11294_225 ._PlanCard-header_11294_26 {
1283
1310
  max-width: 312px;
1284
1311
  }
1285
- ._PlanCard--fullWidth_16zmu_200 ._PlanCard-action_16zmu_142 {
1312
+ ._PlanCard--fullWidth_11294_225 ._PlanCard-action_11294_143 {
1286
1313
  max-width: 256px;
1287
1314
  }
1288
- ._PlanCard--fullWidth_16zmu_200 ._PlanCard-sectionBody_16zmu_112 {
1315
+ ._PlanCard--fullWidth_11294_225 ._PlanCard-sectionBody_11294_113 {
1289
1316
  display: grid;
1290
1317
  grid-template-rows: 1fr 1fr 1fr 1fr;
1291
1318
  grid-auto-flow: column;