@puckeditor/plugin-pages 0.6.1-canary.a7fda263 → 0.6.1-canary.ced08d75

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
@@ -1,4 +1,4 @@
1
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Toast/Toast.module.css/#css-module-data */
1
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/Toast/Toast.module.css/#css-module-data */
2
2
  ._Viewport_13rvx_1 {
3
3
  position: fixed;
4
4
  width: 250px;
@@ -280,7 +280,7 @@ p {
280
280
  margin: 0;
281
281
  }
282
282
 
283
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/ActionModal/ActionModal.module.css/#css-module-data */
283
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/ActionModal/ActionModal.module.css/#css-module-data */
284
284
  ._ActionModal_r3pvy_1 {
285
285
  display: block;
286
286
  min-width: 356px;
@@ -307,7 +307,7 @@ p {
307
307
  padding: 16px 24px;
308
308
  }
309
309
 
310
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Modal/Modal.module.css/#css-module-data */
310
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/Modal/Modal.module.css/#css-module-data */
311
311
  ._Modal-background_1bedq_1 {
312
312
  align-items: center;
313
313
  display: flex;
@@ -336,7 +336,7 @@ p {
336
336
  overflow: auto;
337
337
  }
338
338
 
339
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Button/Button.module.css/#css-module-data */
339
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/Button/Button.module.css/#css-module-data */
340
340
  ._Button_1sk6w_1 {
341
341
  appearance: none;
342
342
  background: none;
@@ -469,7 +469,7 @@ p {
469
469
  padding-left: 8px;
470
470
  }
471
471
 
472
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Loader/styles.module.css/#css-module-data */
472
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/Loader/styles.module.css/#css-module-data */
473
473
  @keyframes _loader-animation_nacdm_1 {
474
474
  0% {
475
475
  transform: rotate(0deg) scale(1);
@@ -491,7 +491,7 @@ p {
491
491
  animation-fill-mode: both;
492
492
  }
493
493
 
494
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Heading/Heading.module.css/#css-module-data */
494
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/Heading/Heading.module.css/#css-module-data */
495
495
  ._Heading_qkzg9_1 {
496
496
  display: block;
497
497
  font-weight: 700;
@@ -559,7 +559,7 @@ p {
559
559
  }
560
560
  }
561
561
 
562
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Align/Align.module.css/#css-module-data */
562
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/Align/Align.module.css/#css-module-data */
563
563
  ._Align_oewlu_1 {
564
564
  align-items: flex-start;
565
565
  display: flex;
@@ -583,7 +583,7 @@ p {
583
583
  position: relative;
584
584
  }
585
585
 
586
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/AutoForm/AutoForm.module.css/#css-module-data */
586
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/AutoForm/AutoForm.module.css/#css-module-data */
587
587
  ._AutoForm_1vmh9_1 {
588
588
  display: flex;
589
589
  gap: 16px;
@@ -594,7 +594,7 @@ p {
594
594
  padding: 0px !important;
595
595
  }
596
596
 
597
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Card/Card.module.css/#css-module-data */
597
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/Card/Card.module.css/#css-module-data */
598
598
  ._Card_rpnal_1 {
599
599
  background-color: white;
600
600
  border: 1px solid var(--puck-color-grey-08);
@@ -634,7 +634,7 @@ p {
634
634
  color: var(--puck-color-azure-04);
635
635
  }
636
636
 
637
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/CardSelector/styles.module.css/#css-module-data */
637
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/CardSelector/styles.module.css/#css-module-data */
638
638
  ._CardSelector_1ogry_1 {
639
639
  display: grid;
640
640
  gap: 16px;
@@ -672,7 +672,7 @@ p {
672
672
  cursor: pointer;
673
673
  }
674
674
 
675
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Code/Code.module.css/#css-module-data */
675
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/Code/Code.module.css/#css-module-data */
676
676
  ._Code_d4378_1 {
677
677
  border-radius: 8px;
678
678
  position: relative;
@@ -792,7 +792,7 @@ p {
792
792
  background: var(--puck-color-grey-11);
793
793
  }
794
794
 
795
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/IconButton/IconButton.module.css/#css-module-data */
795
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/IconButton/IconButton.module.css/#css-module-data */
796
796
  ._IconButton_thegm_1 {
797
797
  align-items: center;
798
798
  background: transparent;
@@ -837,7 +837,7 @@ p {
837
837
  color: var(--puck-color-grey-07);
838
838
  }
839
839
 
840
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/InfoBar/InfoBar.module.css/#css-module-data */
840
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/InfoBar/InfoBar.module.css/#css-module-data */
841
841
  ._InfoBar_kchdj_1 {
842
842
  border: 1px solid var(--puck-color-grey-10);
843
843
  border-radius: 8px;
@@ -860,7 +860,7 @@ p {
860
860
  font-weight: 600;
861
861
  }
862
862
 
863
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Inline/Inline.module.css/#css-module-data */
863
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/Inline/Inline.module.css/#css-module-data */
864
864
  ._Inline_6o5on_3 {
865
865
  display: block;
866
866
  }
@@ -900,7 +900,7 @@ p {
900
900
  flex-grow: 1;
901
901
  }
902
902
 
903
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Link/Link.module.css/#css-module-data */
903
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/Link/Link.module.css/#css-module-data */
904
904
  ._Link_1j70m_1 {
905
905
  color: var(--puck-color-azure-04);
906
906
  text-decoration: none;
@@ -909,7 +909,7 @@ p {
909
909
  color: var(--puck-color-azure-05);
910
910
  }
911
911
 
912
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Menu/styles.module.css/#css-module-data */
912
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/Menu/styles.module.css/#css-module-data */
913
913
  ._Menu_1tu16_1 {
914
914
  display: flex;
915
915
  position: relative;
@@ -985,7 +985,7 @@ button._Menu-item_1tu16_55:hover {
985
985
  opacity: 0.5;
986
986
  }
987
987
 
988
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Page/Page.module.css/#css-module-data */
988
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/Page/Page.module.css/#css-module-data */
989
989
  ._Page_nkzj9_1 {
990
990
  display: flex;
991
991
  flex-direction: column;
@@ -1044,7 +1044,7 @@ button._Menu-item_1tu16_55:hover {
1044
1044
  padding: 16px 24px;
1045
1045
  }
1046
1046
 
1047
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Pagination/Pagination.module.css/#css-module-data */
1047
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/Pagination/Pagination.module.css/#css-module-data */
1048
1048
  ._Pagination_1okv2_1 {
1049
1049
  align-items: baseline;
1050
1050
  display: flex;
@@ -1072,7 +1072,7 @@ button._Menu-item_1tu16_55:hover {
1072
1072
  color: var(--puck-color-grey-05);
1073
1073
  }
1074
1074
 
1075
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/PlanGrid/styles.module.css/#css-module-data */
1075
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/PlanGrid/styles.module.css/#css-module-data */
1076
1076
  ._PlanGrid--loading_97rn7_1 {
1077
1077
  opacity: 0;
1078
1078
  }
@@ -1100,7 +1100,7 @@ button._Menu-item_1tu16_55:hover {
1100
1100
  font-weight: 500;
1101
1101
  }
1102
1102
 
1103
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/PlanCard/styles.module.css/#css-module-data */
1103
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/PlanCard/styles.module.css/#css-module-data */
1104
1104
  ._PlanCard_16zmu_1 {
1105
1105
  border: 1px solid var(--puck-color-grey-09);
1106
1106
  border-radius: 16px;
@@ -1284,7 +1284,7 @@ button._Menu-item_1tu16_55:hover {
1284
1284
  grid-auto-flow: column;
1285
1285
  }
1286
1286
 
1287
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Section/Section.module.css/#css-module-data */
1287
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/Section/Section.module.css/#css-module-data */
1288
1288
  ._Section-inner_1uwo0_1 {
1289
1289
  margin-left: auto;
1290
1290
  margin-right: auto;
@@ -1302,7 +1302,7 @@ button._Menu-item_1tu16_55:hover {
1302
1302
  max-width: unset;
1303
1303
  }
1304
1304
 
1305
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Tag/Tag.module.css/#css-module-data */
1305
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/Tag/Tag.module.css/#css-module-data */
1306
1306
  ._Tag_s2h0n_1 {
1307
1307
  align-items: center;
1308
1308
  display: flex;
@@ -1373,7 +1373,7 @@ button._Menu-item_1tu16_55:hover {
1373
1373
  margin-top: 1px;
1374
1374
  }
1375
1375
 
1376
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Table/Table.module.css/#css-module-data */
1376
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/Table/Table.module.css/#css-module-data */
1377
1377
  ._Table_o345u_1 {
1378
1378
  color: black;
1379
1379
  display: flex;
@@ -1473,7 +1473,7 @@ button._Menu-item_1tu16_55:hover {
1473
1473
  background-color: var(--puck-color-grey-12);
1474
1474
  }
1475
1475
 
1476
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/VerticalSpace/VerticalSpace.module.css/#css-module-data */
1476
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/VerticalSpace/VerticalSpace.module.css/#css-module-data */
1477
1477
  ._VerticalSpace_1tjaw_1 {
1478
1478
  padding-top: 16px;
1479
1479
  }
@@ -1505,7 +1505,7 @@ button._Menu-item_1tu16_55:hover {
1505
1505
  padding-top: 128px;
1506
1506
  }
1507
1507
 
1508
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Viewport/styles.module.css/#css-module-data */
1508
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/platform-client/components/Viewport/styles.module.css/#css-module-data */
1509
1509
  ._Viewport_1vvhm_3 {
1510
1510
  }
1511
1511
  ._Viewport--standard_1vvhm_6,
@@ -1540,7 +1540,7 @@ button._Menu-item_1tu16_55:hover {
1540
1540
  }
1541
1541
  }
1542
1542
 
1543
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-pages/src/components/PagePlugin/styles.module.css/#css-module-data */
1543
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/plugin-pages/src/components/PagePlugin/styles.module.css/#css-module-data */
1544
1544
  ._Pages_ey49w_5 {
1545
1545
  display: flex;
1546
1546
  flex-direction: column;
@@ -1720,7 +1720,7 @@ button._Menu-item_1tu16_55:hover {
1720
1720
  white-space: nowrap;
1721
1721
  }
1722
1722
 
1723
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-pages/src/components/CreateForm/styles.module.css/#css-module-data */
1723
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/plugin-pages/src/components/CreateForm/styles.module.css/#css-module-data */
1724
1724
  ._CreateForm_kkdt2_1 {
1725
1725
  width: 100%;
1726
1726
  }
@@ -1765,44 +1765,8 @@ button._Menu-item_1tu16_55:hover {
1765
1765
  line-height: 1.2;
1766
1766
  }
1767
1767
 
1768
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-pages/src/components/ConfirmModal/styles.module.css/#css-module-data */
1769
- ._ConfirmModal_1r63q_1 {
1770
- width: 100%;
1771
- }
1772
- ._ConfirmModal-button_1r63q_5 {
1773
- display: inline-flex;
1774
- }
1775
- ._ConfirmModal-background_1r63q_9 {
1776
- align-items: center;
1777
- background: #00000050;
1778
- bottom: 0;
1779
- display: flex;
1780
- justify-content: center;
1781
- left: 0;
1782
- position: fixed;
1783
- right: 0;
1784
- top: 0;
1785
- z-index: 2;
1786
- }
1787
- ._ConfirmModal-modal_1r63q_22 {
1788
- background: var(--puck-color-white);
1789
- border-radius: 16px;
1790
- display: flex;
1791
- flex-direction: column;
1792
- margin-inline: 24px;
1793
- max-height: calc(100vh - 24px);
1794
- min-width: 356px;
1795
- overflow: auto;
1796
- }
1797
- ._ConfirmModal-header_1r63q_33 {
1798
- align-items: center;
1799
- color: var(--puck-color-grey-02);
1800
- display: flex;
1801
- gap: 16px;
1802
- justify-content: space-between;
1803
- padding: 24px 24px 16px;
1804
- }
1805
- ._ConfirmModal-close_1r63q_42 {
1768
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/plugin-pages/src/components/ConfirmModal/styles.module.css/#css-module-data */
1769
+ ._ConfirmModal-close_1tbjv_1 {
1806
1770
  align-items: center;
1807
1771
  appearance: none;
1808
1772
  background: transparent;
@@ -1814,29 +1778,24 @@ button._Menu-item_1tu16_55:hover {
1814
1778
  justify-content: center;
1815
1779
  padding: 4px;
1816
1780
  }
1817
- ._ConfirmModal-close_1r63q_42:hover {
1781
+ ._ConfirmModal-close_1tbjv_1:hover {
1818
1782
  background: var(--puck-color-grey-11);
1819
1783
  color: var(--puck-color-grey-02);
1820
1784
  }
1821
- ._ConfirmModal-close_1r63q_42:focus-visible {
1785
+ ._ConfirmModal-close_1tbjv_1:focus-visible {
1822
1786
  outline: 2px solid var(--puck-color-azure-05);
1823
1787
  outline-offset: 2px;
1824
1788
  }
1825
- ._ConfirmModal-body_1r63q_65 {
1826
- color: var(--puck-color-grey-03);
1827
- line-height: 1.5;
1828
- padding: 8px 24px 24px;
1829
- }
1830
- ._ConfirmModal-footer_1r63q_71 {
1831
- background-color: var(--puck-color-grey-12);
1832
- border-top: 1px solid var(--puck-color-grey-09);
1789
+ ._ConfirmModal-actions_1tbjv_24 {
1833
1790
  display: flex;
1834
1791
  gap: 12px;
1835
- justify-content: flex-end;
1836
- padding: 16px 24px;
1792
+ }
1793
+ ._ConfirmModal-body_1tbjv_29 {
1794
+ color: var(--puck-color-grey-03);
1795
+ line-height: 1.5;
1837
1796
  }
1838
1797
 
1839
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-pages/src/components/HeaderActions/styles.module.css/#css-module-data */
1798
+ /* css-module:/Users/chrisvilla/Projects/puck-platform/packages/plugin-pages/src/components/HeaderActions/styles.module.css/#css-module-data */
1840
1799
  ._HeaderActions_1dhws_1 {
1841
1800
  position: relative;
1842
1801
  display: inline-flex;
@@ -0,0 +1,23 @@
1
+ import * as react from 'react';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
+
4
+ type PagePluginOptions = {
5
+ host?: string;
6
+ siteId?: string;
7
+ parentOrigin?: string;
8
+ };
9
+
10
+ declare function createPagesPlugin(opts?: PagePluginOptions): {
11
+ label: string;
12
+ name: string;
13
+ render: () => react_jsx_runtime.JSX.Element;
14
+ icon: react_jsx_runtime.JSX.Element;
15
+ overrides: {
16
+ headerActions: () => react_jsx_runtime.JSX.Element;
17
+ preview: ({ children }: {
18
+ children: react.ReactNode;
19
+ }) => react_jsx_runtime.JSX.Element;
20
+ };
21
+ };
22
+
23
+ export { createPagesPlugin };
@@ -0,0 +1,23 @@
1
+ import * as react from 'react';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
+
4
+ type PagePluginOptions = {
5
+ host?: string;
6
+ siteId?: string;
7
+ parentOrigin?: string;
8
+ };
9
+
10
+ declare function createPagesPlugin(opts?: PagePluginOptions): {
11
+ label: string;
12
+ name: string;
13
+ render: () => react_jsx_runtime.JSX.Element;
14
+ icon: react_jsx_runtime.JSX.Element;
15
+ overrides: {
16
+ headerActions: () => react_jsx_runtime.JSX.Element;
17
+ preview: ({ children }: {
18
+ children: react.ReactNode;
19
+ }) => react_jsx_runtime.JSX.Element;
20
+ };
21
+ };
22
+
23
+ export { createPagesPlugin };