@silexlabs/silex 3.3.1-2 → 3.3.1-3

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.
@@ -1,7 +1,3 @@
1
1
  import { Editor } from 'grapesjs';
2
- /**
3
- * @fileoverview This plugin adds CSS properties for the UL, OL and LI elements
4
- *
5
- */
6
2
  declare const _default: (editor: Editor) => void;
7
3
  export default _default;
@@ -4,8 +4,9 @@ import { Component, Editor } from 'grapesjs';
4
4
  *
5
5
  */
6
6
  export type SectorConfig = {
7
+ id: string;
7
8
  name: string;
8
9
  props: any[];
9
- shouldShow: (comp: Component) => boolean;
10
+ shouldShow: (comp: Component) => boolean | Promise<boolean>;
10
11
  };
11
12
  export declare function registerSector(editor: Editor, config: SectorConfig, at?: number): void;
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html lang="en" translate="no"><head><title>Silex</title><meta name="description" content="This is a public instance of Silex website builder. Build websites in the browser"><link rel="shortcut icon" href="assets/favicon.png?621292"><style>body {
1
+ <!DOCTYPE html><html lang="en" translate="no"><head><title>Silex</title><meta name="description" content="This is a public instance of Silex website builder. Build websites in the browser"><link rel="shortcut icon" href="assets/favicon.png?323705"><style>body {
2
2
  background-color: #444444;
3
3
  font-family: "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif;
4
4
  }
@@ -7,5 +7,5 @@
7
7
  transition: opacity 0.25s 0.25s ease-in-out;
8
8
  }
9
9
  </style></head><body class="silex-loading"><div class="silex-loader silex-dialog">Loading
10
- </div><link rel="stylesheet" type="text/css" href="css/admin.css?185895"><main class="silex-workspace"><div class="silex-main silex-dialog-hide silex-ui-full" id="gjs"></div></main><script src="js/main.js?185895"></script><script>silex.start()
10
+ </div><link rel="stylesheet" type="text/css" href="css/admin.css?595721"><main class="silex-workspace"><div class="silex-main silex-dialog-hide silex-ui-full" id="gjs"></div></main><script src="js/main.js?595721"></script><script>silex.start()
11
11
  // From here silex.config is available and Silex is getting started</script></body></html>