@silexlabs/silex 3.5.1 → 3.6.0-canary.1

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.
@@ -23,7 +23,6 @@ export interface Silex11tyPluginWebsiteSettings extends WebsiteSettings {
23
23
  eleventyPageData?: string;
24
24
  eleventyPermalink?: string;
25
25
  eleventyPageSize?: string;
26
- eleventyPageReverse?: boolean;
27
26
  silexLanguagesList?: string;
28
27
  silexLanguagesDefault?: string;
29
28
  eleventyNavigationKey?: string;
@@ -53,7 +53,21 @@ export declare function getNextVariableName(component: Component, numNextVar: nu
53
53
  * - state can only be the first token
54
54
  *
55
55
  * Example of return value: `countries.continent.countries | first.name`
56
+ *
57
+ * Returns both the main statement and any prefix statements needed for nested filter options
56
58
  */
57
- export declare function getLiquidStatement(expression: Expression, variableName: string, lastVariableName?: string): string;
59
+ export declare function getLiquidStatement(expression: Expression, variableName: string, lastVariableName?: string, component?: Component): {
60
+ statement: string;
61
+ prefixStatements: {
62
+ variableName: string;
63
+ liquid: string;
64
+ }[];
65
+ };
58
66
  export declare function getLiquidStatementProperties(properties: (Property | State)[]): string;
59
- export declare function getLiquidStatementFilters(filters: Filter[]): string;
67
+ export declare function getLiquidStatementFilters(filters: Filter[], component?: Component): {
68
+ filterStr: string;
69
+ prefixStatements: {
70
+ variableName: string;
71
+ liquid: string;
72
+ }[];
73
+ };
@@ -4631,6 +4631,10 @@ form.silex-form .silex-form__element {
4631
4631
  margin: 0;
4632
4632
  }
4633
4633
 
4634
+ details.silex-more summary {
4635
+ cursor: pointer;
4636
+ }
4637
+
4634
4638
  details.silex-more,
4635
4639
  .silex-help {
4636
4640
  margin: 10px 0;
@@ -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?177783"><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?275997"><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" role="status" aria-live="polite" aria-busy="true">Loading
10
- </div><link rel="stylesheet" type="text/css" href="css/admin.css?581094"><main class="silex-workspace"><div class="silex-main silex-dialog-hide silex-ui-full" id="gjs"></div></main><script src="js/main.js?581094"></script><script>silex.start()
10
+ </div><link rel="stylesheet" type="text/css" href="css/admin.css?155766"><main class="silex-workspace"><div class="silex-main silex-dialog-hide silex-ui-full" id="gjs"></div></main><script src="js/main.js?155766"></script><script>silex.start()
11
11
  // From here silex.config is available and Silex is getting started</script></body></html>