@puckeditor/plugin-pages 0.8.0-canary.fa7850b7 → 0.8.0-canary.fed2989a

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 +200 -184
  2. package/dist/index.js +6795 -1344
  3. package/dist/index.mjs +6785 -1337
  4. package/package.json +20 -20
package/dist/index.css CHANGED
@@ -281,11 +281,11 @@ p {
281
281
  }
282
282
 
283
283
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/ActionModal/ActionModal.module.css/#css-module-data */
284
- ._ActionModal_1g44k_1 {
284
+ ._ActionModal_r3pvy_1 {
285
285
  display: block;
286
286
  min-width: 356px;
287
287
  }
288
- ._ActionModal-header_1g44k_6 {
288
+ ._ActionModal-header_r3pvy_6 {
289
289
  color: var(--puck-color-grey-02);
290
290
  display: flex;
291
291
  justify-content: center;
@@ -295,14 +295,11 @@ p {
295
295
  padding: 24px;
296
296
  padding-bottom: 16px;
297
297
  }
298
- ._ActionModal-body_1g44k_17 {
299
- display: flex;
300
- flex-direction: column;
301
- gap: 16px;
298
+ ._ActionModal-body_r3pvy_17 {
302
299
  padding: 24px;
303
300
  padding-top: 8px;
304
301
  }
305
- ._ActionModal-footer_1g44k_25 {
302
+ ._ActionModal-footer_r3pvy_22 {
306
303
  border-top: 1px solid var(--puck-color-grey-09);
307
304
  background-color: var(--puck-color-grey-12);
308
305
  display: flex;
@@ -340,7 +337,7 @@ p {
340
337
  }
341
338
 
342
339
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Button/Button.module.css/#css-module-data */
343
- ._Button_16or4_1 {
340
+ ._Button_1tog0_1 {
344
341
  appearance: none;
345
342
  background: none;
346
343
  border: 1px solid transparent;
@@ -362,36 +359,28 @@ p {
362
359
  white-space: nowrap;
363
360
  margin: 0;
364
361
  }
365
- ._Button_16or4_1:hover,
366
- ._Button_16or4_1:active {
362
+ ._Button_1tog0_1:hover,
363
+ ._Button_1tog0_1:active {
367
364
  transition: none;
368
365
  }
369
- ._Button_16or4_1:focus-visible {
366
+ ._Button_1tog0_1:focus-visible {
370
367
  outline: 2px solid var(--puck-color-azure-05);
371
368
  outline-offset: 2px;
372
369
  }
373
- ._Button--tiny_16or4_34 {
374
- font-size: var(--puck-font-size-xxxs);
375
- padding: 2px 8px;
376
- }
377
- ._Button--small_16or4_39 {
378
- font-size: var(--puck-font-size-xxs);
379
- padding: 4px 8px;
380
- }
381
- ._Button--medium_16or4_44 {
370
+ ._Button--medium_1tog0_34 {
382
371
  min-height: 34px;
383
372
  padding-bottom: 7px;
384
373
  padding-left: 15px;
385
374
  padding-right: 15px;
386
375
  padding-top: 7px;
387
376
  }
388
- ._Button--large_16or4_52 {
377
+ ._Button--large_1tog0_42 {
389
378
  padding-bottom: 11px;
390
379
  padding-left: 19px;
391
380
  padding-right: 19px;
392
381
  padding-top: 11px;
393
382
  }
394
- ._Button--brand_16or4_59 {
383
+ ._Button--brand_1tog0_49 {
395
384
  background-image:
396
385
  linear-gradient(
397
386
  210deg,
@@ -401,54 +390,53 @@ p {
401
390
  border: none;
402
391
  }
403
392
  @media (hover: hover) and (pointer: fine) {
404
- ._Button--brand_16or4_59:hover {
393
+ ._Button--brand_1tog0_49:hover {
405
394
  opacity: 0.8;
406
395
  }
407
396
  }
408
- ._Button--brand_16or4_59:active {
397
+ ._Button--brand_1tog0_49:active {
409
398
  opacity: 0.8;
410
399
  }
411
- ._Button--primary_16or4_79 {
400
+ ._Button--primary_1tog0_69 {
412
401
  background: var(--puck-color-azure-04);
413
402
  }
414
403
  @media (hover: hover) and (pointer: fine) {
415
- ._Button--primary_16or4_79:hover {
404
+ ._Button--primary_1tog0_69:hover {
416
405
  background-color: var(--puck-color-azure-03);
417
406
  }
418
407
  }
419
- ._Button--primary_16or4_79:active {
408
+ ._Button--primary_1tog0_69:active {
420
409
  background-color: var(--puck-color-azure-02);
421
410
  }
422
- ._Button--secondary_16or4_93 {
411
+ ._Button--secondary_1tog0_83 {
423
412
  border: 1px solid currentColor;
424
413
  color: currentColor;
425
414
  }
426
415
  @media (hover: hover) and (pointer: fine) {
427
- ._Button--secondary_16or4_93:hover {
416
+ ._Button--secondary_1tog0_83:hover {
428
417
  background-color: var(--puck-color-azure-12);
429
- border-color: var(--puck-color-azure-12);
430
- color: var(--puck-color-azure-04);
418
+ color: var(--puck-color-black);
431
419
  }
432
420
  }
433
- ._Button--secondary_16or4_93:active {
421
+ ._Button--secondary_1tog0_83:active {
434
422
  background-color: var(--puck-color-azure-11);
435
423
  color: var(--puck-color-black);
436
424
  }
437
- ._Button--danger_16or4_111 {
425
+ ._Button--danger_1tog0_100 {
438
426
  background: var(--puck-color-red-04);
439
427
  }
440
428
  @media (hover: hover) and (pointer: fine) {
441
- ._Button--danger_16or4_111:hover {
429
+ ._Button--danger_1tog0_100:hover {
442
430
  background-color: var(--puck-color-red-03);
443
431
  }
444
432
  }
445
- ._Button--danger_16or4_111:active {
433
+ ._Button--danger_1tog0_100:active {
446
434
  background-color: var(--puck-color-red-02);
447
435
  }
448
- ._Button--flush_16or4_125 {
436
+ ._Button--flush_1tog0_114 {
449
437
  border-radius: 0;
450
438
  }
451
- ._Button--ghost_16or4_129 {
439
+ ._Button--ghost_1tog0_118 {
452
440
  align-items: center;
453
441
  background-color: transparent;
454
442
  border: none;
@@ -457,26 +445,26 @@ p {
457
445
  display: flex;
458
446
  }
459
447
  @media (hover: hover) and (pointer: fine) {
460
- ._Button--ghost_16or4_129:hover {
448
+ ._Button--ghost_1tog0_118:hover {
461
449
  background-color: var(--puck-color-grey-11);
462
450
  color: var(--puck-color-azure-04);
463
451
  cursor: pointer;
464
452
  }
465
453
  }
466
- ._Button--disabled_16or4_146,
467
- ._Button--disabled_16or4_146:hover,
468
- ._Button--secondary_16or4_93._Button--disabled_16or4_146,
469
- ._Button--secondary_16or4_93._Button--disabled_16or4_146:hover {
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 {
470
458
  background-color: var(--puck-color-grey-12);
471
459
  border-color: var(--puck-color-grey-08);
472
460
  color: var(--puck-color-grey-07);
473
461
  cursor: not-allowed;
474
462
  }
475
- ._Button--fullWidth_16or4_156 {
463
+ ._Button--fullWidth_1tog0_145 {
476
464
  justify-content: center;
477
465
  width: 100%;
478
466
  }
479
- ._Button-spinner_16or4_161 {
467
+ ._Button-spinner_1tog0_150 {
480
468
  padding-left: 8px;
481
469
  }
482
470
 
@@ -1092,187 +1080,215 @@ button._Menu-item_1tu16_55:hover {
1092
1080
  }
1093
1081
 
1094
1082
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanGrid/styles.module.css/#css-module-data */
1095
- ._PlanGrid_1ar8g_1 {
1083
+ ._PlanGrid--loading_97rn7_1 {
1084
+ opacity: 0;
1085
+ }
1086
+ ._PlanGrid-grid_97rn7_5 {
1096
1087
  color: var(--puck-color-grey-02);
1088
+ display: grid;
1089
+ gap: 16px;
1097
1090
  text-align: left;
1098
- position: relative;
1099
- z-index: 0;
1091
+ @media (min-width: 768px) {
1092
+ grid-template-columns: 1fr 1fr 1fr;
1093
+ }
1100
1094
  }
1101
- ._PlanGrid-billingNote_1ar8g_8,
1102
- ._PlanGrid-planKicker_1ar8g_9 {
1103
- font-size: var(--puck-font-size-xxxs);
1104
- letter-spacing: 0.12em;
1095
+ ._PlanGrid-enterprise_97rn7_16 {
1096
+ color: var(--puck-color-grey-04);
1097
+ font-size: var(--puck-font-size-xxs);
1098
+ margin-left: auto;
1099
+ margin-right: auto;
1100
+ padding-inline: 4px;
1101
+ padding-top: 20px;
1102
+ text-align: center;
1105
1103
  }
1106
- ._PlanGrid-billingNote_1ar8g_8 {
1107
- color: var(--puck-color-grey-05);
1104
+ ._PlanGrid-enterprise_97rn7_16 a {
1105
+ color: var(--puck-color-azure-04);
1106
+ cursor: pointer;
1107
+ font-weight: 500;
1108
1108
  }
1109
- ._PlanGrid-tableWrapper_1ar8g_18 {
1109
+
1110
+ /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanCard/styles.module.css/#css-module-data */
1111
+ ._PlanCard_16zmu_1 {
1110
1112
  border: 1px solid var(--puck-color-grey-09);
1111
1113
  border-radius: 16px;
1112
- overflow-x: auto;
1113
- }
1114
- ._PlanGrid-table_1ar8g_18 {
1115
- border-collapse: separate;
1116
- border-spacing: 0;
1117
- max-width: 1440px;
1118
- min-width: 880px;
1119
- table-layout: fixed;
1120
- width: 100%;
1121
- }
1122
- ._PlanGrid-caption_1ar8g_33 {
1123
- clip: rect(0 0 0 0);
1124
- clip-path: inset(50%);
1125
- height: 1px;
1126
- overflow: hidden;
1127
- position: absolute;
1128
- white-space: nowrap;
1129
- width: 1px;
1114
+ display: flex;
1115
+ gap: 8px;
1116
+ flex-direction: column;
1117
+ min-width: 256px;
1118
+ padding: 8px;
1119
+ position: relative;
1130
1120
  }
1131
- ._PlanGrid-featureHeader_1ar8g_43,
1132
- ._PlanGrid-featureName_1ar8g_44,
1133
- ._PlanGrid-planHeader_1ar8g_45,
1134
- ._PlanGrid-featureValue_1ar8g_46 {
1135
- border-bottom: 1px solid var(--puck-color-grey-09);
1136
- border-right: 1px solid var(--puck-color-grey-09);
1121
+ ._PlanCard--enterprise_16zmu_12 {
1122
+ flex-direction: row;
1123
+ grid-column: span 3;
1137
1124
  }
1138
- ._PlanGrid-featureHeader_1ar8g_43,
1139
- ._PlanGrid-featureName_1ar8g_44 {
1140
- background: var(--puck-color-white);
1141
- position: sticky;
1142
- left: 0;
1143
- width: 24%;
1144
- z-index: 2;
1125
+ ._PlanCard-title_16zmu_17 {
1126
+ display: flex;
1127
+ gap: 8px;
1128
+ justify-content: space-between;
1129
+ font-size: var(--puck-font-size-xs);
1130
+ font-weight: 700;
1131
+ white-space: nowrap;
1145
1132
  }
1146
- ._PlanGrid-featureHeader_1ar8g_43 {
1147
- font-size: var(--puck-font-size-s);
1148
- padding: 28px 24px;
1149
- text-align: left;
1150
- vertical-align: top;
1133
+ ._PlanCard-header_16zmu_26 {
1134
+ box-sizing: border-box;
1135
+ display: flex;
1136
+ flex-direction: column;
1137
+ gap: 4px;
1138
+ padding: 12px 16px;
1139
+ width: 100%;
1151
1140
  }
1152
- ._PlanGrid-planHeader_1ar8g_45 {
1153
- background: var(--puck-color-white);
1154
- height: 336px;
1141
+ ._PlanCard-features_16zmu_35 {
1142
+ display: grid;
1143
+ gap: 4px;
1144
+ list-style: none;
1145
+ margin: 0;
1155
1146
  padding: 0;
1156
- text-align: left;
1157
- vertical-align: top;
1158
- width: 25.333%;
1159
1147
  }
1160
- ._PlanGrid-planHeaderInner_1ar8g_76 {
1161
- box-sizing: border-box;
1148
+ ._PlanCard-feature_16zmu_35 {
1149
+ align-items: center;
1162
1150
  display: flex;
1163
- flex-direction: column;
1164
- height: 100%;
1165
- padding: 28px 24px 24px;
1151
+ gap: 4px;
1152
+ color: var(--puck-color-grey-05);
1153
+ font-size: var(--puck-font-size-xxs);
1166
1154
  }
1167
- ._PlanGrid-planKicker_1ar8g_9 {
1168
- color: var(--puck-color-azure-04);
1169
- font-weight: 700;
1170
- min-height: 20px;
1171
- text-transform: uppercase;
1155
+ ._PlanCard-featureIcon_16zmu_51 {
1156
+ align-self: flex-start;
1157
+ margin-top: 5px;
1172
1158
  }
1173
- ._PlanGrid-planTitle_1ar8g_91 {
1174
- font-size: var(--puck-font-size-l);
1175
- line-height: 1.2;
1176
- margin: 12px 0 0;
1159
+ ._PlanCard-featureTitle_16zmu_56 {
1160
+ color: var(--puck-color-grey-04);
1161
+ font-weight: 600;
1162
+ }
1163
+ ._PlanCard-priceValue_16zmu_61 {
1164
+ font-size: var(--puck-font-size-m);
1177
1165
  }
1178
- ._PlanGrid-planDescription_1ar8g_97 {
1166
+ ._PlanCard-priceInterval_16zmu_65 {
1179
1167
  color: var(--puck-color-grey-05);
1180
- font-size: var(--puck-font-size-xxs);
1181
- margin: 8px 0 0;
1182
- min-height: 44px;
1183
- font-weight: 400;
1184
1168
  }
1185
- ._PlanGrid-priceBlock_1ar8g_105 {
1186
- margin-top: auto;
1187
- padding: 20px 0 16px;
1169
+ ._PlanCard-body_16zmu_69 {
1170
+ background-color: var(--puck-color-grey-12);
1171
+ border: 1px solid var(--puck-color-grey-11);
1172
+ border-radius: 8px;
1173
+ padding: 16px;
1174
+ flex-grow: 1;
1188
1175
  }
1189
- ._PlanGrid-price_1ar8g_105 {
1190
- align-items: baseline;
1176
+ ._PlanCard--enterprise_16zmu_12 ._PlanCard-body_16zmu_69 {
1191
1177
  display: flex;
1192
- gap: 4px;
1193
- white-space: nowrap;
1178
+ gap: 8px;
1179
+ width: 100%;
1194
1180
  }
1195
- ._PlanGrid-standardPrice_1ar8g_117 {
1196
- color: var(--puck-color-grey-06);
1197
- font-size: var(--puck-font-size-xs);
1198
- font-weight: 500;
1199
- text-decoration: line-through;
1181
+ ._PlanCard-section_16zmu_83 {
1182
+ padding-bottom: 16px;
1183
+ min-width: 192px;
1200
1184
  }
1201
- ._PlanGrid-priceValue_1ar8g_124 {
1202
- font-size: var(--puck-font-size-xl);
1203
- font-weight: 600;
1204
- letter-spacing: -0.02em;
1185
+ ._PlanCard-section_16zmu_83:last-of-type {
1186
+ padding-bottom: 0;
1205
1187
  }
1206
- ._PlanGrid-priceInterval_1ar8g_130 {
1207
- color: var(--puck-color-grey-05);
1208
- font-size: var(--puck-font-size-xxs);
1209
- font-weight: 400;
1188
+ ._PlanCard-section_16zmu_83 + ._PlanCard-section_16zmu_83 {
1189
+ border-top: 1px solid var(--puck-color-grey-09);
1190
+ padding-top: 16px;
1210
1191
  }
1211
- ._PlanGrid-priceNote_1ar8g_136 {
1212
- color: var(--puck-color-azure-04);
1213
- font-size: var(--puck-font-size-xxxs);
1214
- font-weight: 600;
1215
- margin-top: 2px;
1192
+ ._PlanCard--enterprise_16zmu_12 {
1193
+ ._PlanCard-section_16zmu_83 + ._PlanCard-section_16zmu_83 {
1194
+ border-left: 1px solid var(--puck-color-grey-09);
1195
+ border-top: none;
1196
+ padding-left: 16px;
1197
+ padding-top: 0;
1198
+ }
1216
1199
  }
1217
- ._PlanGrid-action_1ar8g_143 {
1218
- width: 100%;
1200
+ ._PlanCard-sectionTitle_16zmu_106 {
1201
+ font-size: var(--puck-font-size-xs);
1202
+ font-weight: 500;
1203
+ margin-bottom: 8px;
1204
+ }
1205
+ ._PlanCard-sectionBody_16zmu_112 + ._PlanCard-sectionTitle_16zmu_106 {
1206
+ border-top: 1px solid var(--puck-color-grey-09);
1207
+ margin-top: 16px;
1208
+ padding-top: 16px;
1219
1209
  }
1220
- ._PlanGrid-featureName_1ar8g_44,
1221
- ._PlanGrid-featureValue_1ar8g_46 {
1210
+ ._PlanCard-sectionBody_16zmu_112 {
1211
+ color: var(--puck-color-grey-03);
1222
1212
  font-size: var(--puck-font-size-xxs);
1223
- min-height: 68px;
1224
- padding: 20px 24px;
1213
+ display: grid;
1214
+ gap: 2px;
1225
1215
  }
1226
- ._PlanGrid-featureName_1ar8g_44 {
1227
- font-weight: 600;
1228
- text-align: left;
1216
+ ._PlanCard-usageItem_16zmu_125 {
1217
+ display: flex;
1218
+ gap: 8px;
1219
+ font-size: var(--puck-font-size-xxs);
1229
1220
  }
1230
- ._PlanGrid-featureValue_1ar8g_46 {
1231
- background: var(--puck-color-white);
1221
+ ._PlanCard-usageLabel_16zmu_131 {
1232
1222
  color: var(--puck-color-grey-04);
1223
+ font-weight: 500;
1233
1224
  }
1234
- ._PlanGrid-featureValue_1ar8g_46 a {
1235
- color: var(--puck-color-azure-04);
1225
+ ._PlanCard-usageValue_16zmu_136 {
1226
+ color: var(--puck-color-grey-05);
1227
+ font-family: var(--puck-font-family-monospaced);
1228
+ margin-left: auto;
1236
1229
  }
1237
- ._PlanGrid-included_1ar8g_168 {
1238
- align-items: center;
1239
- color: var(--puck-color-grey-03);
1240
- display: inline-flex;
1241
- gap: 8px;
1230
+ ._PlanCard-action_16zmu_142 {
1231
+ align-items: flex-end;
1232
+ display: flex;
1233
+ justify-content: flex-end;
1234
+ width: 100%;
1242
1235
  }
1243
- ._PlanGrid-included_1ar8g_168 svg {
1244
- color: var(--puck-color-azure-04);
1236
+ ._PlanCard-description_16zmu_149 {
1237
+ color: var(--puck-color-grey-03);
1238
+ margin-top: 8px;
1245
1239
  }
1246
- ._PlanGrid-unavailable_1ar8g_179 {
1247
- color: var(--puck-color-grey-07);
1240
+ ._PlanCard--highlight_16zmu_154 {
1241
+ border: transparent;
1248
1242
  }
1249
- ._PlanGrid-highlightCell_1ar8g_183 {
1250
- background: var(--puck-color-azure-12);
1243
+ ._PlanCard--highlight_16zmu_154::before {
1244
+ content: "";
1245
+ position: absolute;
1246
+ inset: 0;
1247
+ padding: 1px;
1248
+ 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;
1251
1262
  }
1252
- ._PlanGrid-planHeader_1ar8g_45._PlanGrid-highlightCell_1ar8g_183 {
1253
- box-shadow: inset 0 3px 0 var(--puck-color-azure-04);
1263
+ ._PlanCard-highlightText_16zmu_184 {
1264
+ @supports (background-clip: text) or (-webkit-background-clip: text) {
1265
+ color: transparent;
1266
+ background-clip: text;
1267
+ -webkit-background-clip: text;
1268
+ background-image:
1269
+ linear-gradient(
1270
+ 210deg,
1271
+ var(--puck-color-azure-01) 0%,
1272
+ var(--puck-color-azure-03) 40%,
1273
+ var(--puck-color-red-05) 100%);
1274
+ background-size: cover;
1275
+ background-position: center;
1276
+ }
1254
1277
  }
1255
- ._PlanGrid-planHeader_1ar8g_45:last-child,
1256
- ._PlanGrid-featureValue_1ar8g_46:last-child {
1257
- border-right: 0;
1278
+ ._PlanCard--fullWidth_16zmu_200 {
1279
+ flex-direction: row;
1280
+ grid-column: 1 / -1;
1258
1281
  }
1259
- ._PlanGrid-table_1ar8g_18 tbody tr:last-child ._PlanGrid-featureName_1ar8g_44,
1260
- ._PlanGrid-table_1ar8g_18 tbody tr:last-child ._PlanGrid-featureValue_1ar8g_46 {
1261
- border-bottom: 0;
1282
+ ._PlanCard--fullWidth_16zmu_200 ._PlanCard-header_16zmu_26 {
1283
+ max-width: 312px;
1262
1284
  }
1263
- ._PlanGrid-enterprise_1ar8g_201 {
1264
- color: var(--puck-color-grey-04);
1265
- font-size: var(--puck-font-size-xxs);
1266
- margin-left: auto;
1267
- margin-right: auto;
1268
- padding-inline: 4px;
1269
- padding-top: 20px;
1270
- text-align: center;
1285
+ ._PlanCard--fullWidth_16zmu_200 ._PlanCard-action_16zmu_142 {
1286
+ max-width: 256px;
1271
1287
  }
1272
- ._PlanGrid-enterprise_1ar8g_201 a {
1273
- color: var(--puck-color-azure-04);
1274
- cursor: pointer;
1275
- font-weight: 500;
1288
+ ._PlanCard--fullWidth_16zmu_200 ._PlanCard-sectionBody_16zmu_112 {
1289
+ display: grid;
1290
+ grid-template-rows: 1fr 1fr 1fr 1fr;
1291
+ grid-auto-flow: column;
1276
1292
  }
1277
1293
 
1278
1294
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Section/Section.module.css/#css-module-data */