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