@design.estate/dees-wcctools 1.0.80 → 1.0.82

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.
@@ -10,11 +10,9 @@
10
10
  />
11
11
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
12
12
 
13
- <link rel="preconnect" href="https://rsms.me/">
14
- <link rel="preconnect" href="https://fonts.googleapis.com">
15
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
16
- <link rel="stylesheet" href="https://rsms.me/inter/inter.css">
17
- <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
13
+ <!--Lets load standard fonts-->
14
+ <link rel="preconnect" href="https://assetbroker.lossless.one/" crossorigin>
15
+ <link rel="stylesheet" href="https://assetbroker.lossless.one/fonts/fonts.css">
18
16
 
19
17
  <style>
20
18
  body {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design.estate/dees-wcctools",
3
- "version": "1.0.80",
3
+ "version": "1.0.82",
4
4
  "private": false,
5
5
  "description": "wcc tools for creating element catalogues",
6
6
  "main": "dist_ts_web/index.js",
@@ -15,17 +15,17 @@
15
15
  "author": "Lossless GmbH",
16
16
  "license": "UNLICENSED",
17
17
  "dependencies": {
18
- "@design.estate/dees-domtools": "^2.0.50",
19
- "@design.estate/dees-element": "^2.0.29",
20
- "@gitzone/tsrun": "^1.2.44",
18
+ "@design.estate/dees-domtools": "^2.0.55",
19
+ "@design.estate/dees-element": "^2.0.33",
21
20
  "@push.rocks/smartdelay": "^3.0.5",
22
- "lit": "^2.8.0"
21
+ "lit": "^3.1.0"
23
22
  },
24
23
  "devDependencies": {
25
- "@api.global/typedserver": "^3.0.5",
26
- "@gitzone/tsbuild": "^2.1.66",
27
- "@gitzone/tsbundle": "^2.0.8",
28
- "@gitzone/tswatch": "^2.0.7",
24
+ "@api.global/typedserver": "^3.0.9",
25
+ "@git.zone/tsbuild": "^2.1.66",
26
+ "@git.zone/tsbundle": "^2.0.8",
27
+ "@git.zone/tsrun": "^1.2.44",
28
+ "@git.zone/tswatch": "^2.0.7",
29
29
  "@push.rocks/projectinfo": "^5.0.2"
30
30
  },
31
31
  "files": [
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@design.estate/dees-wcctools',
6
- version: '1.0.80',
6
+ version: '1.0.82',
7
7
  description: 'wcc tools for creating element catalogues'
8
8
  }
@@ -111,7 +111,6 @@ export class WccProperties extends DeesElement {
111
111
  transition: all 0.2s;
112
112
  }
113
113
  .button:hover {
114
- cursor: pointer;
115
114
  color: #333;
116
115
  background: #fff;
117
116
  }
@@ -121,7 +120,6 @@ export class WccProperties extends DeesElement {
121
120
  }
122
121
 
123
122
  .button.selected:hover {
124
- cursor: pointer;
125
123
  color: #ffffff;
126
124
  background: #455a64;
127
125
  }
@@ -139,7 +137,6 @@ export class WccProperties extends DeesElement {
139
137
  }
140
138
 
141
139
  .docs:hover {
142
- cursor: pointer;
143
140
  color: #333;
144
141
  background: #fff;
145
142
  }
@@ -6,9 +6,6 @@ export type TElementType = 'element' | 'page';
6
6
 
7
7
  @customElement('wcc-sidebar')
8
8
  export class WccSidebar extends DeesElement {
9
- @property({type: Array})
10
- public websites: string[] = [];
11
-
12
9
  @property({ attribute: false })
13
10
  public selectedItem: DeesElement | (() => TemplateResult);
14
11
 
@@ -26,6 +23,7 @@ export class WccSidebar extends DeesElement {
26
23
  display: block;
27
24
  border-right: 1px solid #999;
28
25
  font-family: 'Roboto', 'Inter', sans-serif;
26
+ font-size: 12px;
29
27
  box-sizing: border-box;
30
28
  position: absolute;
31
29
  left: 0px;
@@ -54,21 +52,8 @@ export class WccSidebar extends DeesElement {
54
52
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48;
55
53
  }
56
54
 
57
- .heading {
58
- font-size: 24px;
59
- text-align: center;
60
- margin: 20px 5px 5px 5px;
61
- }
62
-
63
- .heading a {
64
- text-decoration: none;
65
- color: #fff;
66
- }
67
-
68
- .subheading {
69
- text-align: center;
70
- }
71
55
  .selectOption {
56
+ user-select: none;
72
57
  position: relative;
73
58
  line-height: 24px;
74
59
  padding: 5px;
@@ -77,7 +62,6 @@ export class WccSidebar extends DeesElement {
77
62
  grid-template-columns: 28px auto;
78
63
  }
79
64
  .selectOption:hover {
80
- cursor: pointer;
81
65
  padding: 5px;
82
66
  color: #333;
83
67
  background: #fff;
@@ -88,7 +72,6 @@ export class WccSidebar extends DeesElement {
88
72
  }
89
73
 
90
74
  .selectOption.selected:hover {
91
- cursor: pointer;
92
75
  color: #ffffff;
93
76
  background: #455A64;
94
77
  }
@@ -112,17 +95,7 @@ export class WccSidebar extends DeesElement {
112
95
 
113
96
 
114
97
  </style>
115
- <div class="heading">
116
- <a href="https://gitlab.com/designestate/dees-wcctools" target="_blank">wcctools</a>
117
- </div>
118
- <div class="subheading">
119
- by Lossless GmbH
120
- </div>
121
98
  <div class="menu">
122
- <h3>Live Websites</h3>
123
- ${this.websites.map(website => {
124
- return html`<div class="selectOption"><i class="material-symbols-outlined">ondemand_video</i><div class="text">${website}</div></div>`;
125
- })}
126
99
  <h3>Pages</h3>
127
100
  ${(() => {
128
101
  const pages = Object.keys(this.dashboardRef.pages);
@@ -161,7 +134,7 @@ export class WccSidebar extends DeesElement {
161
134
  `;
162
135
  });
163
136
  })()}
164
- </menu>
137
+ </div>
165
138
  `;
166
139
  }
167
140