@puckeditor/plugin-pages 0.8.0-canary.63de6e49 → 0.8.0-canary.643b2b6d

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