@social-mail/social-mail-client 1.1.2 → 1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-client",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -11,10 +11,12 @@ export default class WebSiteService {
11
11
  private entityService: EntityService;
12
12
 
13
13
  async get(id) {
14
- return this.entityService.query(WebSiteFolder)
14
+ const site = await this.entityService.query(WebSiteFolder)
15
15
  .where({ id}, (p) => (x) => x.folderID === p.id)
16
16
  .include((x) => [x.folder, x.hosts, x.versions])
17
17
  .firstOrDefault();
18
+ site.versions?.sort((a, b) => b.snapshotFolderID - a.snapshotFolderID);
19
+ return site;
18
20
  }
19
21
 
20
22
  async list() {
@@ -116,10 +116,18 @@ export const stylerLayout = StylerProperty.create( "styler-layout", {
116
116
  }
117
117
 
118
118
  &:checked ~ nav {
119
- display: block;
119
+ display: flex;
120
+ gap: var(--size-default);
121
+ flex-direction: column;
120
122
  position: absolute;
121
123
  right: 10px;
122
- top: 50px;
124
+ top: 40px;
125
+ background-color: canvas;
126
+ padding: var(--size-default);
127
+ border-radius: var(--size-default);
128
+ box-shadow: 0 0 8px 2px gray;
129
+ min-width: 200px;
130
+ min-height: 300px;
123
131
  }
124
132
  }
125
133
  }