@design.estate/dees-wcctools 1.0.101 → 1.1.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.
- package/dist_bundle/bundle.js +753 -127
- package/dist_bundle/bundle.js.map +3 -3
- package/dist_ts_web/00_commitinfo_data.js +2 -2
- package/dist_ts_web/elements/wcc-dashboard.d.ts +2 -0
- package/dist_ts_web/elements/wcc-dashboard.js +28 -2
- package/dist_ts_web/elements/wcc-frame.d.ts +2 -0
- package/dist_ts_web/elements/wcc-frame.js +28 -4
- package/dist_ts_web/elements/wcc-properties.d.ts +15 -0
- package/dist_ts_web/elements/wcc-properties.js +607 -92
- package/dist_ts_web/elements/wcc-sidebar.d.ts +1 -0
- package/dist_ts_web/elements/wcc-sidebar.js +102 -33
- package/dist_watch/bundle.js +753 -127
- package/dist_watch/bundle.js.map +3 -3
- package/package.json +1 -1
- package/readme.hints.md +102 -0
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/wcc-dashboard.ts +27 -1
- package/ts_web/elements/wcc-frame.ts +20 -3
- package/ts_web/elements/wcc-properties.ts +647 -106
- package/ts_web/elements/wcc-sidebar.ts +96 -32
|
@@ -15,33 +15,73 @@ export class WccSidebar extends DeesElement {
|
|
|
15
15
|
@property()
|
|
16
16
|
public dashboardRef: WccDashboard;
|
|
17
17
|
|
|
18
|
+
@property()
|
|
19
|
+
public isFullscreen: boolean = false;
|
|
20
|
+
|
|
18
21
|
public render(): TemplateResult {
|
|
19
22
|
return html`
|
|
20
|
-
<link href="https://fonts.googleapis.com/
|
|
23
|
+
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" rel="stylesheet" />
|
|
21
24
|
<style>
|
|
22
25
|
:host {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
/* CSS Variables - Always dark theme to match wcc-properties */
|
|
27
|
+
--background: #0a0a0a;
|
|
28
|
+
--foreground: #e5e5e5;
|
|
29
|
+
--card: #0f0f0f;
|
|
30
|
+
--card-foreground: #f0f0f0;
|
|
31
|
+
--muted: #1a1a1a;
|
|
32
|
+
--muted-foreground: #666;
|
|
33
|
+
--accent: #222;
|
|
34
|
+
--accent-foreground: #fff;
|
|
35
|
+
--border: rgba(255, 255, 255, 0.06);
|
|
36
|
+
--input: #141414;
|
|
37
|
+
--primary: #3b82f6;
|
|
38
|
+
--primary-foreground: #fff;
|
|
39
|
+
--ring: #3b82f6;
|
|
40
|
+
--radius: 4px;
|
|
41
|
+
|
|
42
|
+
display: ${this.isFullscreen ? 'none' : 'block'};
|
|
43
|
+
border-right: 1px solid rgba(255, 255, 255, 0.08);
|
|
44
|
+
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
|
45
|
+
font-size: 14px;
|
|
27
46
|
box-sizing: border-box;
|
|
28
47
|
position: absolute;
|
|
29
48
|
left: 0px;
|
|
30
49
|
width: 200px;
|
|
31
50
|
top: 0px;
|
|
32
51
|
bottom: 0px;
|
|
33
|
-
overflow-y:
|
|
52
|
+
overflow-y: auto;
|
|
34
53
|
overflow-x: hidden;
|
|
35
|
-
background:
|
|
36
|
-
color:
|
|
37
|
-
|
|
54
|
+
background: var(--background);
|
|
55
|
+
color: var(--foreground);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.menu {
|
|
59
|
+
padding: 0.5rem 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
h3 {
|
|
63
|
+
padding: 0.3rem 0.75rem;
|
|
64
|
+
font-size: 0.65rem;
|
|
65
|
+
font-weight: 500;
|
|
66
|
+
text-transform: uppercase;
|
|
67
|
+
letter-spacing: 0.08em;
|
|
68
|
+
color: #888;
|
|
69
|
+
margin: 0;
|
|
70
|
+
margin-top: 0.5rem;
|
|
71
|
+
background: rgba(59, 130, 246, 0.03);
|
|
72
|
+
border-bottom: 1px solid var(--border);
|
|
73
|
+
border-top: 1px solid var(--border);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
h3:first-child {
|
|
77
|
+
margin-top: 0;
|
|
38
78
|
}
|
|
39
79
|
|
|
40
80
|
.material-symbols-outlined {
|
|
41
81
|
font-family: 'Material Symbols Outlined';
|
|
42
82
|
font-weight: normal;
|
|
43
83
|
font-style: normal;
|
|
44
|
-
font-size:
|
|
84
|
+
font-size: 16px;
|
|
45
85
|
display: inline-block;
|
|
46
86
|
line-height: 1;
|
|
47
87
|
text-transform: none;
|
|
@@ -49,51 +89,75 @@ export class WccSidebar extends DeesElement {
|
|
|
49
89
|
word-wrap: normal;
|
|
50
90
|
white-space: nowrap;
|
|
51
91
|
direction: ltr;
|
|
52
|
-
font-variation-settings: 'FILL'
|
|
92
|
+
font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
|
|
93
|
+
opacity: 0.5;
|
|
53
94
|
}
|
|
54
95
|
|
|
55
96
|
.selectOption {
|
|
56
97
|
user-select: none;
|
|
57
98
|
position: relative;
|
|
58
|
-
|
|
59
|
-
padding:
|
|
60
|
-
transition: all 0.
|
|
99
|
+
margin: 0.125rem 0.5rem;
|
|
100
|
+
padding: 0.5rem 0.75rem;
|
|
101
|
+
transition: all 0.15s ease;
|
|
61
102
|
display: grid;
|
|
62
|
-
grid-template-columns:
|
|
103
|
+
grid-template-columns: 20px 1fr;
|
|
104
|
+
align-items: center;
|
|
105
|
+
gap: 0.5rem;
|
|
106
|
+
border-radius: var(--radius);
|
|
107
|
+
cursor: pointer;
|
|
108
|
+
font-size: 0.75rem;
|
|
109
|
+
color: #999;
|
|
110
|
+
background: transparent;
|
|
63
111
|
}
|
|
112
|
+
|
|
64
113
|
.selectOption:hover {
|
|
65
|
-
|
|
66
|
-
color: #
|
|
67
|
-
|
|
114
|
+
background: rgba(59, 130, 246, 0.05);
|
|
115
|
+
color: #bbb;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.selectOption:hover .material-symbols-outlined {
|
|
119
|
+
opacity: 0.7;
|
|
68
120
|
}
|
|
69
121
|
|
|
70
122
|
.selectOption.selected {
|
|
71
|
-
background:
|
|
123
|
+
background: rgba(59, 130, 246, 0.15);
|
|
124
|
+
color: var(--primary);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.selectOption.selected .material-symbols-outlined {
|
|
128
|
+
opacity: 1;
|
|
129
|
+
font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
72
130
|
}
|
|
73
131
|
|
|
74
132
|
.selectOption.selected:hover {
|
|
75
|
-
|
|
76
|
-
|
|
133
|
+
background: rgba(59, 130, 246, 0.2);
|
|
134
|
+
color: var(--primary);
|
|
77
135
|
}
|
|
78
136
|
|
|
79
|
-
.selectOption .
|
|
80
|
-
color: #666;
|
|
137
|
+
.selectOption .text {
|
|
81
138
|
display: block;
|
|
82
|
-
|
|
139
|
+
overflow: hidden;
|
|
140
|
+
text-overflow: ellipsis;
|
|
141
|
+
white-space: nowrap;
|
|
142
|
+
font-weight: 400;
|
|
83
143
|
}
|
|
84
144
|
|
|
85
|
-
|
|
86
|
-
|
|
145
|
+
::-webkit-scrollbar {
|
|
146
|
+
width: 8px;
|
|
87
147
|
}
|
|
88
148
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
word-wrap: break-word;
|
|
92
|
-
word-break: break-all;
|
|
93
|
-
max-width: 100%;
|
|
149
|
+
::-webkit-scrollbar-track {
|
|
150
|
+
background: transparent;
|
|
94
151
|
}
|
|
95
152
|
|
|
96
|
-
|
|
153
|
+
::-webkit-scrollbar-thumb {
|
|
154
|
+
background: rgba(255, 255, 255, 0.1);
|
|
155
|
+
border-radius: 4px;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
::-webkit-scrollbar-thumb:hover {
|
|
159
|
+
background: rgba(255, 255, 255, 0.2);
|
|
160
|
+
}
|
|
97
161
|
</style>
|
|
98
162
|
<div class="menu">
|
|
99
163
|
<h3>Pages</h3>
|