@silexlabs/silex 3.5.1-1 → 3.5.1-2

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.
@@ -67,6 +67,49 @@ export declare class PublicationManager {
67
67
  */
68
68
  startPublication(): Promise<void>;
69
69
  getHtmlFiles(siteSettings: WebsiteSettings, preventDefault: any): Promise<WebsiteFile[]>;
70
+ /**
71
+ * Helper function to check if a viewport meta tag exists in the head content
72
+ * @param headContent - HTML content from head settings
73
+ * @returns true if viewport meta tag is found
74
+ */
75
+ private hasViewportMeta;
76
+ /**
77
+ * Get the default viewport meta tag if no viewport is present
78
+ * @param siteHead - Head content from site settings
79
+ * @param pageHead - Head content from page settings
80
+ * @returns viewport meta tag or empty string if already present
81
+ */
82
+ private ensureViewportMeta;
83
+ /**
84
+ * Helper function to check if a generator meta tag exists in the head content
85
+ * @param headContent - HTML content from head settings
86
+ * @returns true if generator meta tag is found
87
+ */
88
+ private hasGeneratorMeta;
89
+ /**
90
+ * Get the default generator meta tag if no generator is present
91
+ * @param siteHead - Head content from site settings
92
+ * @param pageHead - Head content from page settings
93
+ * @returns generator meta tag or empty string if already present
94
+ */
95
+ private ensureGeneratorMeta;
96
+ /**
97
+ * Helper function to check if a canonical link exists in the head content
98
+ * @param headContent - HTML content from head settings
99
+ * @returns true if canonical link is found
100
+ */
101
+ private hasCanonicalLink;
102
+ /**
103
+ * Helper function to check if alternate links exist in the head content
104
+ * @param headContent - HTML content from head settings
105
+ * @returns true if alternate links are found
106
+ */
107
+ private hasAlternateLinks;
108
+ /**
109
+ * Check for missing SEO tags and emit warnings
110
+ * @param siteSettings - Site settings
111
+ */
112
+ private checkSeoTags;
70
113
  getHtmlFilesYield(siteSettings: WebsiteSettings, preventDefault: any): AsyncGenerator<WebsiteFile | undefined>;
71
114
  trackProgress(): Promise<void>;
72
115
  private setPublicationTransformers;
@@ -4544,7 +4544,8 @@ form.silex-form .silex-form__group.col2 {
4544
4544
  align-items: center;
4545
4545
  background-color: #292929;
4546
4546
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
4547
- cursor: pointer;
4547
+ cursor: cursor;
4548
+ transition: opacity 0.2s ease, background-color 0.2s ease;
4548
4549
  }
4549
4550
  .page-panel-container .pages .pages__page:hover {
4550
4551
  background-color: #333333;
@@ -4552,6 +4553,13 @@ form.silex-form .silex-form__group.col2 {
4552
4553
  .page-panel-container .pages .pages__page:hover .pages__page-name {
4553
4554
  color: #A291FF;
4554
4555
  }
4556
+ .page-panel-container .pages .pages__page:active {
4557
+ cursor: grabbing;
4558
+ }
4559
+ .page-panel-container .pages .pages__page-dragging {
4560
+ opacity: 0.4;
4561
+ cursor: grabbing !important;
4562
+ }
4555
4563
  .page-panel-container .pages .pages__page-selected {
4556
4564
  background-color: #575757;
4557
4565
  cursor: default;
@@ -4566,20 +4574,31 @@ form.silex-form .silex-form__group.col2 {
4566
4574
  white-space: nowrap;
4567
4575
  overflow: hidden;
4568
4576
  text-overflow: ellipsis;
4569
- height: 13px;
4570
- font-size: initial;
4577
+ font-size: 13px;
4571
4578
  text-transform: capitalize;
4572
- padding: 10px 6px;
4579
+ padding: 6px;
4573
4580
  flex: 1;
4574
4581
  text-align: left;
4582
+ display: flex;
4583
+ align-items: center;
4584
+ gap: 4px;
4575
4585
  }
4576
4586
  .page-panel-container .pages .pages__icon {
4577
- padding: 10px 6px;
4587
+ padding: 6px;
4578
4588
  cursor: pointer;
4589
+ font-size: 12px;
4579
4590
  }
4580
4591
  .page-panel-container .pages .pages__icon:hover {
4581
4592
  color: #A291FF;
4582
4593
  }
4594
+ .page-panel-container .pages .pages__drag-handle {
4595
+ cursor: grab;
4596
+ opacity: 0.6;
4597
+ flex-shrink: 0;
4598
+ }
4599
+ .page-panel-container .pages .pages__drag-handle:hover {
4600
+ opacity: 1;
4601
+ }
4583
4602
  .page-panel-container .gjs-pn-buttons {
4584
4603
  flex-direction: column;
4585
4604
  }
@@ -5146,6 +5165,11 @@ form.silex-form .silex-form__group.col2 {
5146
5165
  margin-right: 0.3em;
5147
5166
  }
5148
5167
 
5168
+ .fa-grip-vertical:before {
5169
+ content: "\f58e";
5170
+ font-weight: 900;
5171
+ }
5172
+
5149
5173
  .gjs-sm-sector .gjs-sm-sector-title::before,
5150
5174
  .gjs-sm-sector .gjs-sm-sector-title::after {
5151
5175
  content: "o";
@@ -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?829209"><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?401143"><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?289074"><main class="silex-workspace"><div class="silex-main silex-dialog-hide silex-ui-full" id="gjs"></div></main><script src="js/main.js?289074"></script><script>silex.start()
10
+ </div><link rel="stylesheet" type="text/css" href="css/admin.css?687300"><main class="silex-workspace"><div class="silex-main silex-dialog-hide silex-ui-full" id="gjs"></div></main><script src="js/main.js?687300"></script><script>silex.start()
11
11
  // From here silex.config is available and Silex is getting started</script></body></html>