@vuu-ui/vuu-ui-controls 0.8.5-debug → 0.8.6-debug
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/cjs/index.js +5748 -42091
- package/cjs/index.js.map +4 -4
- package/esm/index.js +7062 -43420
- package/esm/index.js.map +4 -4
- package/index.css +414 -210
- package/index.css.map +3 -3
- package/package.json +6 -6
- package/types/drag-drop/drag-utils.d.ts +14 -13
- package/types/drag-drop/dragDropTypesNext.d.ts +1 -1
- package/types/drag-drop/drop-target-utils.d.ts +14 -13
- package/types/drag-drop/index.d.ts +1 -0
- package/types/drag-drop/useDragDisplacers.d.ts +0 -1
- package/types/index.d.ts +2 -0
- package/types/tabstrip/Tab.d.ts +2 -2
- package/types/tabstrip/TabsTypes.d.ts +8 -2
- package/types/tabstrip/useAnimatedSelectionThumb.d.ts +2 -1
- package/types/tabstrip/useKeyboardNavigation.d.ts +1 -1
- package/types/tabstrip/useTabstrip.d.ts +1 -1
- package/types/tree/Tree.d.ts +38 -0
- package/types/tree/hierarchical-data-utils.d.ts +8 -0
- package/types/tree/index.d.ts +3 -0
- package/types/tree/key-code.d.ts +11 -0
- package/types/tree/list-dom-utils.d.ts +6 -0
- package/types/tree/use-collapsible-groups.d.ts +18 -0
- package/types/tree/use-hierarchical-data.d.ts +6 -0
- package/types/tree/use-items-with-ids.d.ts +8 -0
- package/types/tree/use-keyboard-navigation.d.ts +26 -0
- package/types/tree/use-resize-observer.d.ts +15 -0
- package/types/tree/use-selection.d.ts +31 -0
- package/types/tree/use-tree-keyboard-navigation.d.ts +12 -0
- package/types/tree/use-viewport-tracking.d.ts +2 -0
- package/types/tree/useTree.d.ts +30 -0
package/index.css
CHANGED
|
@@ -1,39 +1,3 @@
|
|
|
1
|
-
/* src/editable-label/EditableLabel.css */
|
|
2
|
-
.vuuEditableLabel {
|
|
3
|
-
--saltInput-minWidth: 14px;
|
|
4
|
-
--saltInput-position: absolute;
|
|
5
|
-
--editableLabel-padding: var(--saltEditableLabel-padding, 6px);
|
|
6
|
-
--editableLabel-height: var(--saltEditableLabel-height, 26px);
|
|
7
|
-
color: inherit;
|
|
8
|
-
cursor: default;
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
font-size: var(--salt-text-fontSize);
|
|
12
|
-
height: var(--editableLabel-height);
|
|
13
|
-
justify-content: center;
|
|
14
|
-
outline: none;
|
|
15
|
-
padding: 0 var(--editableLabel-padding);
|
|
16
|
-
position: relative;
|
|
17
|
-
z-index: var(--salt-zIndex-default);
|
|
18
|
-
}
|
|
19
|
-
.vuuEditableLabel:before {
|
|
20
|
-
content: attr(data-text);
|
|
21
|
-
display: block;
|
|
22
|
-
height: 0px;
|
|
23
|
-
visibility: hidden;
|
|
24
|
-
white-space: pre-wrap;
|
|
25
|
-
}
|
|
26
|
-
.vuuEditableLabel .saltInput {
|
|
27
|
-
font-weight: var(--salt-text-fontWeight);
|
|
28
|
-
left: var(--editableLabel-padding, 0);
|
|
29
|
-
padding: 0;
|
|
30
|
-
outline-style: none;
|
|
31
|
-
right: var(--editableLabel-padding, 0);
|
|
32
|
-
}
|
|
33
|
-
.vuuEditableLabel-input {
|
|
34
|
-
outline: none;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
1
|
/* ../vuu-shell/src/connection-status/ConnectionStatusIcon.css */
|
|
38
2
|
.vuuStatus-container {
|
|
39
3
|
display: flex;
|
|
@@ -94,6 +58,128 @@
|
|
|
94
58
|
}
|
|
95
59
|
}
|
|
96
60
|
|
|
61
|
+
/* ../vuu-shell/src/layout-management/SaveLayoutPanel.css */
|
|
62
|
+
.vuuSaveLayoutPanel {
|
|
63
|
+
background-color: aqua;
|
|
64
|
+
height: 400px;
|
|
65
|
+
width: 600px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* ../vuu-shell/src/left-nav/LeftNav.css */
|
|
69
|
+
.vuuLeftNav {
|
|
70
|
+
--salt-navigable-fontWeight-active: 700;
|
|
71
|
+
--vuuTab-background-selected: rgba(255, 255, 255, 0.10);
|
|
72
|
+
--vuuTab-hover-background: rgba(255, 255, 255, 0.10);
|
|
73
|
+
--vuuTab-before-content: none;
|
|
74
|
+
--vuuTab-borderRadius: 6px;
|
|
75
|
+
--vuuTab-height: 40px;
|
|
76
|
+
--vuuTab-padding: 0 0 0 48px;
|
|
77
|
+
--vuuTabstrip-fontWeight: 700;
|
|
78
|
+
--vuuTabstrip-width: 100%;
|
|
79
|
+
--svg-demo: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.3333 11C11.52 11 11.6667 10.8533 11.6667 10.6667C11.6667 10.48 11.52 10.3333 11.3333 10.3333C11.1467 10.3333 11 10.48 11 10.6667C11 10.8533 11.1467 11 11.3333 11Z"/><path d="M5.99999 8.66667C6.36818 8.66667 6.66666 8.36819 6.66666 8C6.66666 7.63181 6.36818 7.33334 5.99999 7.33334C5.63181 7.33334 5.33333 7.63181 5.33333 8C5.33333 8.36819 5.63181 8.66667 5.99999 8.66667Z"/><path d="M8.66667 6C9.03486 6 9.33333 5.70152 9.33333 5.33333C9.33333 4.96514 9.03486 4.66667 8.66667 4.66667C8.29848 4.66667 8 4.96514 8 5.33333C8 5.70152 8.29848 6 8.66667 6Z"/><path d="M8.66667 11.3333C9.03486 11.3333 9.33333 11.0349 9.33333 10.6667C9.33333 10.2985 9.03486 10 8.66667 10C8.29848 10 8 10.2985 8 10.6667C8 11.0349 8.29848 11.3333 8.66667 11.3333Z"/><path d="M11.3333 8.33333C11.52 8.33333 11.6667 8.18666 11.6667 8C11.6667 7.81333 11.52 7.66666 11.3333 7.66666C11.1467 7.66666 11 7.81333 11 8C11 8.18666 11.1467 8.33333 11.3333 8.33333Z"/><path d="M8.66667 8.66667C9.03486 8.66667 9.33333 8.36819 9.33333 8C9.33333 7.63181 9.03486 7.33334 8.66667 7.33334C8.29848 7.33334 8 7.63181 8 8C8 8.36819 8.29848 8.66667 8.66667 8.66667Z"/><path d="M2 2H14V3.33333H2V2Z"/><path d="M3.33333 6.33333C3.88561 6.33333 4.33333 5.88562 4.33333 5.33333C4.33333 4.78105 3.88561 4.33333 3.33333 4.33333C2.78104 4.33333 2.33333 4.78105 2.33333 5.33333C2.33333 5.88562 2.78104 6.33333 3.33333 6.33333Z"/><path d="M3.33333 9C3.88561 9 4.33333 8.55228 4.33333 8C4.33333 7.44772 3.88561 7 3.33333 7C2.78104 7 2.33333 7.44772 2.33333 8C2.33333 8.55228 2.78104 9 3.33333 9Z"/><path d="M3.33333 11.6667C3.88561 11.6667 4.33333 11.2189 4.33333 10.6667C4.33333 10.1144 3.88561 9.66666 3.33333 9.66666C2.78104 9.66666 2.33333 10.1144 2.33333 10.6667C2.33333 11.2189 2.78104 11.6667 3.33333 11.6667Z"/><path d="M11.3333 5.66667C11.52 5.66667 11.6667 5.52 11.6667 5.33333C11.6667 5.14667 11.52 5 11.3333 5C11.1467 5 11 5.14667 11 5.33333C11 5.52 11.1467 5.66667 11.3333 5.66667Z"/><path d="M5.99999 11.3333C6.36818 11.3333 6.66666 11.0349 6.66666 10.6667C6.66666 10.2985 6.36818 10 5.99999 10C5.63181 10 5.33333 10.2985 5.33333 10.6667C5.33333 11.0349 5.63181 11.3333 5.99999 11.3333Z"/><path d="M5.99999 6C6.36818 6 6.66666 5.70152 6.66666 5.33333C6.66666 4.96514 6.36818 4.66667 5.99999 4.66667C5.63181 4.66667 5.33333 4.96514 5.33333 5.33333C5.33333 5.70152 5.63181 6 5.99999 6Z"/><path d="M2 12.6667H14V14H2V12.6667Z"/></svg>');
|
|
80
|
+
--svg-tables: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 6H4.66667V3.33334H3.33333C2.6 3.33334 2 3.93334 2 4.66667V6ZM2 9.33334H4.66667V6.66667H2V9.33334ZM5.33333 9.33334H8V6.66667H5.33333V9.33334ZM8.66667 9.33334H11.3333V6.66667H8.66667V9.33334ZM5.33333 6H8V3.33334H5.33333V6ZM8.66667 3.33334V6H11.3333V3.33334H8.66667ZM12 9.33334H14.6667V6.66667H12V9.33334ZM3.33333 12.6667H4.66667V10H2V11.3333C2 12.0667 2.6 12.6667 3.33333 12.6667ZM5.33333 12.6667H8V10H5.33333V12.6667ZM8.66667 12.6667H11.3333V10H8.66667V12.6667ZM12 12.6667H13.3333C14.0667 12.6667 14.6667 12.0667 14.6667 11.3333V10H12V12.6667ZM12 3.33334V6H14.6667V4.66667C14.6667 3.93334 14.0667 3.33334 13.3333 3.33334H12Z"/></svg>');
|
|
81
|
+
--svg-templates: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M15.3333 12.6667H14L14 3.33334H15.3333L15.3333 12.6667ZM12.6667 12.6667H11.3333L11.3333 3.33334H12.6667L12.6667 12.6667ZM1.33333 12.6667L9.33333 12.6667C9.69999 12.6667 9.99999 12.3667 9.99999 12V4.00001C9.99999 3.63334 9.69999 3.33334 9.33333 3.33334L1.33333 3.33334C0.966661 3.33334 0.666661 3.63334 0.666661 4.00001L0.666661 12C0.666661 12.3667 0.966661 12.6667 1.33333 12.6667ZM1.99999 4.66667L8.66666 4.66667V11.3333L1.99999 11.3333L1.99999 4.66667Z"/></svg>');
|
|
82
|
+
--svg-layouts: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M15.3333 10H14V11.3333H15.3333V10ZM15.3333 12.6667H14V14H15.3333V12.6667ZM15.3333 7.33333H14V8.66667H15.3333V7.33333ZM10 2H8.66667V3.33333H10V2ZM15.3333 4.66667H14V6H15.3333V4.66667ZM0.666672 14H7.33334V10H0.666672V14ZM2.00001 4.66667H0.666672V6H2.00001V4.66667ZM10 12.6667H8.66667V14H10V12.6667ZM12.6667 2H11.3333V3.33333H12.6667V2ZM15.3333 2H14V3.33333H15.3333V2ZM12.6667 12.6667H11.3333V14H12.6667V12.6667ZM2.00001 7.33333H0.666672V8.66667H2.00001V7.33333ZM7.33334 2H6.00001V3.33333H7.33334V2ZM4.66667 2H3.33334V3.33333H4.66667V2ZM2.00001 2H0.666672V3.33333H2.00001V2Z"/></svg>');
|
|
83
|
+
--vuu-light-text-primary: #15171b;
|
|
84
|
+
display: flex;
|
|
85
|
+
transition: width .3s ease-in-out;
|
|
86
|
+
}
|
|
87
|
+
.vuuLeftNav-menu-full {
|
|
88
|
+
--menu-width: var(--nav-menu-expanded-width);
|
|
89
|
+
}
|
|
90
|
+
.vuuLeftNav-menu-icons {
|
|
91
|
+
--menu-width: var(--nav-menu-collapsed-width);
|
|
92
|
+
}
|
|
93
|
+
.vuuLeftNav-menu-content {
|
|
94
|
+
--menu-width: var(--nav-menu-collapsed-width);
|
|
95
|
+
}
|
|
96
|
+
.vuuLeftNav-menu-content .vuuLeftNav-menu-secondary {
|
|
97
|
+
display: block;
|
|
98
|
+
}
|
|
99
|
+
.vuuLeftNav-menu-primary {
|
|
100
|
+
background-color: #2A015F;
|
|
101
|
+
container-type: inline-size;
|
|
102
|
+
display: flex;
|
|
103
|
+
flex-direction: column;
|
|
104
|
+
height: 100%;
|
|
105
|
+
padding: 32px 16px;
|
|
106
|
+
transition: width ease .3s;
|
|
107
|
+
width: var(--menu-width, 100%);
|
|
108
|
+
}
|
|
109
|
+
.vuuLeftNav-menu-secondary {
|
|
110
|
+
flex: 1 1 auto;
|
|
111
|
+
height: 100%;
|
|
112
|
+
display: none;
|
|
113
|
+
}
|
|
114
|
+
.vuuLeftNav .vuuTabstrip {
|
|
115
|
+
margin-top: 102px;
|
|
116
|
+
}
|
|
117
|
+
.vuuLeftNav .vuuTab {
|
|
118
|
+
--vuuTab-focusVisible-color: pink;
|
|
119
|
+
--vuu-icon-color: white;
|
|
120
|
+
--vuu-icon-left: 12px;
|
|
121
|
+
--vuu-icon-size: 16px;
|
|
122
|
+
border-left: solid 4px transparent;
|
|
123
|
+
}
|
|
124
|
+
.vuuLeftNav .vuuTab-selected {
|
|
125
|
+
--vuu-icon-color: var(--salt-navigable-indicator-active);
|
|
126
|
+
border-left: solid 4px var(--salt-navigable-indicator-active);
|
|
127
|
+
}
|
|
128
|
+
.vuuLeftNav-logo {
|
|
129
|
+
display: flex;
|
|
130
|
+
flex: 0 0 auto;
|
|
131
|
+
justify-content: center;
|
|
132
|
+
}
|
|
133
|
+
.vuuLeftNav-main {
|
|
134
|
+
flex: 1 1 auto;
|
|
135
|
+
}
|
|
136
|
+
.vuuLeftNav-menu {
|
|
137
|
+
color: white;
|
|
138
|
+
margin-top: 102px;
|
|
139
|
+
padding: 0;
|
|
140
|
+
}
|
|
141
|
+
.vuuLeftNav [data-icon=demo] {
|
|
142
|
+
--vuu-icon-svg: var(--svg-demo);
|
|
143
|
+
}
|
|
144
|
+
.vuuLeftNav [data-icon=tables] {
|
|
145
|
+
--vuu-icon-svg: var(--svg-tables);
|
|
146
|
+
}
|
|
147
|
+
.vuuLeftNav [data-icon=templates] {
|
|
148
|
+
--vuu-icon-svg: var(--svg-templates);
|
|
149
|
+
}
|
|
150
|
+
.vuuLeftNav [data-icon=layouts] {
|
|
151
|
+
--vuu-icon-svg: var(--svg-layouts);
|
|
152
|
+
}
|
|
153
|
+
@container (max-width: 100px) {
|
|
154
|
+
.vuuTab {
|
|
155
|
+
--vuuTab-padding: 0 0 0 42px;
|
|
156
|
+
}
|
|
157
|
+
.vuuTab-main {
|
|
158
|
+
display: none !important;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
.vuuLeftNav-buttonBar {
|
|
162
|
+
align-items: center;
|
|
163
|
+
display: flex;
|
|
164
|
+
flex: 0 0 100px;
|
|
165
|
+
justify-content: center;
|
|
166
|
+
}
|
|
167
|
+
.vuuLeftNav-toggleButton {
|
|
168
|
+
--vuu-icon-color: var(--vuu-light-text-primary);
|
|
169
|
+
--vuu-icon-left: 11px;
|
|
170
|
+
--vuu-icon-top: 10px;
|
|
171
|
+
--vuu-icon-size: 16px;
|
|
172
|
+
background-color: var(--salt-navigable-indicator-active);
|
|
173
|
+
border-width: 0;
|
|
174
|
+
border-radius: 18px;
|
|
175
|
+
height: 36px;
|
|
176
|
+
position: relative;
|
|
177
|
+
width: 36px;
|
|
178
|
+
}
|
|
179
|
+
.vuuLeftNav-toggleButton-open {
|
|
180
|
+
--vuu-icon-left: 9px;
|
|
181
|
+
}
|
|
182
|
+
|
|
97
183
|
/* ../vuu-shell/src/login/LoginPanel.css */
|
|
98
184
|
.vuuLoginPanel {
|
|
99
185
|
--hwTextInput-border: solid 1px #ccc;
|
|
@@ -200,10 +286,9 @@ vuuUserPanel-history {
|
|
|
200
286
|
/* ../vuu-shell/src/theme-switch/ThemeSwitch.css */
|
|
201
287
|
.vuuThemeSwitch {
|
|
202
288
|
--saltButton-minWidth: 22px;
|
|
203
|
-
}
|
|
204
|
-
.vuuThemeSwitch {
|
|
205
289
|
--svg-light: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M24 31q2.9 0 4.95-2.05Q31 26.9 31 24q0-2.9-2.05-4.95Q26.9 17 24 17q-2.9 0-4.95 2.05Q17 21.1 17 24q0 2.9 2.05 4.95Q21.1 31 24 31Zm0 3q-4.15 0-7.075-2.925T14 24q0-4.15 2.925-7.075T24 14q4.15 0 7.075 2.925T34 24q0 4.15-2.925 7.075T24 34ZM3.5 25.5q-.65 0-1.075-.425Q2 24.65 2 24q0-.65.425-1.075Q2.85 22.5 3.5 22.5h5q.65 0 1.075.425Q10 23.35 10 24q0 .65-.425 1.075-.425.425-1.075.425Zm36 0q-.65 0-1.075-.425Q38 24.65 38 24q0-.65.425-1.075.425-.425 1.075-.425h5q.65 0 1.075.425Q46 23.35 46 24q0 .65-.425 1.075-.425.425-1.075.425ZM24 10q-.65 0-1.075-.425Q22.5 9.15 22.5 8.5v-5q0-.65.425-1.075Q23.35 2 24 2q.65 0 1.075.425.425.425.425 1.075v5q0 .65-.425 1.075Q24.65 10 24 10Zm0 36q-.65 0-1.075-.425-.425-.425-.425-1.075v-5q0-.65.425-1.075Q23.35 38 24 38q.65 0 1.075.425.425.425.425 1.075v5q0 .65-.425 1.075Q24.65 46 24 46ZM12 14.1l-2.85-2.8q-.45-.45-.425-1.075.025-.625.425-1.075.45-.45 1.075-.45t1.075.45L14.1 12q.4.45.4 1.05 0 .6-.4 1-.4.45-1.025.45-.625 0-1.075-.4Zm24.7 24.75L33.9 36q-.4-.45-.4-1.075t.45-1.025q.4-.45 1-.45t1.05.45l2.85 2.8q.45.45.425 1.075-.025.625-.425 1.075-.45.45-1.075.45t-1.075-.45ZM33.9 14.1q-.45-.45-.45-1.05 0-.6.45-1.05l2.8-2.85q.45-.45 1.075-.425.625.025 1.075.425.45.45.45 1.075t-.45 1.075L36 14.1q-.4.4-1.025.4-.625 0-1.075-.4ZM9.15 38.85q-.45-.45-.45-1.075t.45-1.075L12 33.9q.45-.45 1.05-.45.6 0 1.05.45.45.45.45 1.05 0 .6-.45 1.05l-2.8 2.85q-.45.45-1.075.425-.625-.025-1.075-.425ZM24 24Z"/></svg>');
|
|
206
290
|
--svg-dark: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M24 42q-7.5 0-12.75-5.25T6 24q0-7.5 5.25-12.75T24 6q.4 0 .85.025.45.025 1.15.075-1.8 1.6-2.8 3.95-1 2.35-1 4.95 0 4.5 3.15 7.65Q28.5 25.8 33 25.8q2.6 0 4.95-.925T41.9 22.3q.05.6.075.975Q42 23.65 42 24q0 7.5-5.25 12.75T24 42Zm0-3q5.45 0 9.5-3.375t5.05-7.925q-1.25.55-2.675.825Q34.45 28.8 33 28.8q-5.75 0-9.775-4.025T19.2 15q0-1.2.25-2.575.25-1.375.9-3.125-4.9 1.35-8.125 5.475Q9 18.9 9 24q0 6.25 4.375 10.625T24 39Zm-.2-14.85Z"/></svg>');
|
|
291
|
+
padding: 2px;
|
|
207
292
|
}
|
|
208
293
|
.salt-density-high .vuuThemeSwitch {
|
|
209
294
|
--saltButton-minWidth: 16px;
|
|
@@ -219,6 +304,10 @@ vuuUserPanel-history {
|
|
|
219
304
|
.vuuThemeSwitch [data-icon=dark] {
|
|
220
305
|
--vuu-icon-svg: var(--svg-dark);
|
|
221
306
|
}
|
|
307
|
+
.vuuThemeSwitch .saltToggleButton {
|
|
308
|
+
height: 20px;
|
|
309
|
+
width: 20px;
|
|
310
|
+
}
|
|
222
311
|
|
|
223
312
|
/* ../vuu-shell/src/app-header/AppHeader.css */
|
|
224
313
|
.vuuAppHeader {
|
|
@@ -228,7 +317,7 @@ vuuUserPanel-history {
|
|
|
228
317
|
height: 40px;
|
|
229
318
|
justify-content: flex-end;
|
|
230
319
|
}
|
|
231
|
-
.vuu-
|
|
320
|
+
.vuu-theme .vuuAppHeader {
|
|
232
321
|
border-radius: 8px;
|
|
233
322
|
border: 1px solid #D6D7DA;
|
|
234
323
|
height: 44px;
|
|
@@ -282,99 +371,6 @@ vuuUserPanel-history {
|
|
|
282
371
|
white-space: nowrap;
|
|
283
372
|
}
|
|
284
373
|
|
|
285
|
-
/* ../vuu-shell/src/left-nav/LeftNav.css */
|
|
286
|
-
.vuuLeftNav {
|
|
287
|
-
--svg-demo: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.3333 11C11.52 11 11.6667 10.8533 11.6667 10.6667C11.6667 10.48 11.52 10.3333 11.3333 10.3333C11.1467 10.3333 11 10.48 11 10.6667C11 10.8533 11.1467 11 11.3333 11Z"/><path d="M5.99999 8.66667C6.36818 8.66667 6.66666 8.36819 6.66666 8C6.66666 7.63181 6.36818 7.33334 5.99999 7.33334C5.63181 7.33334 5.33333 7.63181 5.33333 8C5.33333 8.36819 5.63181 8.66667 5.99999 8.66667Z"/><path d="M8.66667 6C9.03486 6 9.33333 5.70152 9.33333 5.33333C9.33333 4.96514 9.03486 4.66667 8.66667 4.66667C8.29848 4.66667 8 4.96514 8 5.33333C8 5.70152 8.29848 6 8.66667 6Z"/><path d="M8.66667 11.3333C9.03486 11.3333 9.33333 11.0349 9.33333 10.6667C9.33333 10.2985 9.03486 10 8.66667 10C8.29848 10 8 10.2985 8 10.6667C8 11.0349 8.29848 11.3333 8.66667 11.3333Z"/><path d="M11.3333 8.33333C11.52 8.33333 11.6667 8.18666 11.6667 8C11.6667 7.81333 11.52 7.66666 11.3333 7.66666C11.1467 7.66666 11 7.81333 11 8C11 8.18666 11.1467 8.33333 11.3333 8.33333Z"/><path d="M8.66667 8.66667C9.03486 8.66667 9.33333 8.36819 9.33333 8C9.33333 7.63181 9.03486 7.33334 8.66667 7.33334C8.29848 7.33334 8 7.63181 8 8C8 8.36819 8.29848 8.66667 8.66667 8.66667Z"/><path d="M2 2H14V3.33333H2V2Z"/><path d="M3.33333 6.33333C3.88561 6.33333 4.33333 5.88562 4.33333 5.33333C4.33333 4.78105 3.88561 4.33333 3.33333 4.33333C2.78104 4.33333 2.33333 4.78105 2.33333 5.33333C2.33333 5.88562 2.78104 6.33333 3.33333 6.33333Z"/><path d="M3.33333 9C3.88561 9 4.33333 8.55228 4.33333 8C4.33333 7.44772 3.88561 7 3.33333 7C2.78104 7 2.33333 7.44772 2.33333 8C2.33333 8.55228 2.78104 9 3.33333 9Z"/><path d="M3.33333 11.6667C3.88561 11.6667 4.33333 11.2189 4.33333 10.6667C4.33333 10.1144 3.88561 9.66666 3.33333 9.66666C2.78104 9.66666 2.33333 10.1144 2.33333 10.6667C2.33333 11.2189 2.78104 11.6667 3.33333 11.6667Z"/><path d="M11.3333 5.66667C11.52 5.66667 11.6667 5.52 11.6667 5.33333C11.6667 5.14667 11.52 5 11.3333 5C11.1467 5 11 5.14667 11 5.33333C11 5.52 11.1467 5.66667 11.3333 5.66667Z"/><path d="M5.99999 11.3333C6.36818 11.3333 6.66666 11.0349 6.66666 10.6667C6.66666 10.2985 6.36818 10 5.99999 10C5.63181 10 5.33333 10.2985 5.33333 10.6667C5.33333 11.0349 5.63181 11.3333 5.99999 11.3333Z"/><path d="M5.99999 6C6.36818 6 6.66666 5.70152 6.66666 5.33333C6.66666 4.96514 6.36818 4.66667 5.99999 4.66667C5.63181 4.66667 5.33333 4.96514 5.33333 5.33333C5.33333 5.70152 5.63181 6 5.99999 6Z"/><path d="M2 12.6667H14V14H2V12.6667Z"/></svg>');
|
|
288
|
-
--svg-tables: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 6H4.66667V3.33334H3.33333C2.6 3.33334 2 3.93334 2 4.66667V6ZM2 9.33334H4.66667V6.66667H2V9.33334ZM5.33333 9.33334H8V6.66667H5.33333V9.33334ZM8.66667 9.33334H11.3333V6.66667H8.66667V9.33334ZM5.33333 6H8V3.33334H5.33333V6ZM8.66667 3.33334V6H11.3333V3.33334H8.66667ZM12 9.33334H14.6667V6.66667H12V9.33334ZM3.33333 12.6667H4.66667V10H2V11.3333C2 12.0667 2.6 12.6667 3.33333 12.6667ZM5.33333 12.6667H8V10H5.33333V12.6667ZM8.66667 12.6667H11.3333V10H8.66667V12.6667ZM12 12.6667H13.3333C14.0667 12.6667 14.6667 12.0667 14.6667 11.3333V10H12V12.6667ZM12 3.33334V6H14.6667V4.66667C14.6667 3.93334 14.0667 3.33334 13.3333 3.33334H12Z"/></svg>');
|
|
289
|
-
--svg-templates: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M15.3333 12.6667H14L14 3.33334H15.3333L15.3333 12.6667ZM12.6667 12.6667H11.3333L11.3333 3.33334H12.6667L12.6667 12.6667ZM1.33333 12.6667L9.33333 12.6667C9.69999 12.6667 9.99999 12.3667 9.99999 12V4.00001C9.99999 3.63334 9.69999 3.33334 9.33333 3.33334L1.33333 3.33334C0.966661 3.33334 0.666661 3.63334 0.666661 4.00001L0.666661 12C0.666661 12.3667 0.966661 12.6667 1.33333 12.6667ZM1.99999 4.66667L8.66666 4.66667V11.3333L1.99999 11.3333L1.99999 4.66667Z"/></svg>');
|
|
290
|
-
--svg-layouts: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M15.3333 10H14V11.3333H15.3333V10ZM15.3333 12.6667H14V14H15.3333V12.6667ZM15.3333 7.33333H14V8.66667H15.3333V7.33333ZM10 2H8.66667V3.33333H10V2ZM15.3333 4.66667H14V6H15.3333V4.66667ZM0.666672 14H7.33334V10H0.666672V14ZM2.00001 4.66667H0.666672V6H2.00001V4.66667ZM10 12.6667H8.66667V14H10V12.6667ZM12.6667 2H11.3333V3.33333H12.6667V2ZM15.3333 2H14V3.33333H15.3333V2ZM12.6667 12.6667H11.3333V14H12.6667V12.6667ZM2.00001 7.33333H0.666672V8.66667H2.00001V7.33333ZM7.33334 2H6.00001V3.33333H7.33334V2ZM4.66667 2H3.33334V3.33333H4.66667V2ZM2.00001 2H0.666672V3.33333H2.00001V2Z"/></svg>');
|
|
291
|
-
--vuu-accent-color: #f37880;
|
|
292
|
-
--vuu-light-text-primary: #15171b;
|
|
293
|
-
background-color: #2A015F;
|
|
294
|
-
container-type: inline-size;
|
|
295
|
-
display: flex;
|
|
296
|
-
flex-direction: column;
|
|
297
|
-
padding: 32px 16px;
|
|
298
|
-
transition: width .3s ease-in-out;
|
|
299
|
-
}
|
|
300
|
-
.vuuLeftNav-logo {
|
|
301
|
-
display: flex;
|
|
302
|
-
flex: 0 0 auto;
|
|
303
|
-
justify-content: center;
|
|
304
|
-
}
|
|
305
|
-
.vuuLeftNav-main {
|
|
306
|
-
flex: 1 1 auto;
|
|
307
|
-
}
|
|
308
|
-
.vuuLeftNav-menu {
|
|
309
|
-
color: white;
|
|
310
|
-
margin-top: 102px;
|
|
311
|
-
padding: 0;
|
|
312
|
-
}
|
|
313
|
-
.vuuLeftNav-menuitem {
|
|
314
|
-
--vuu-icon-color: white;
|
|
315
|
-
align-items: center;
|
|
316
|
-
border-radius: 6px;
|
|
317
|
-
display: flex;
|
|
318
|
-
font-weight: 700;
|
|
319
|
-
height: 40px;
|
|
320
|
-
line-height: 24px;
|
|
321
|
-
list-style: none;
|
|
322
|
-
padding: 8px 16px 8px 48px;
|
|
323
|
-
}
|
|
324
|
-
.vuuLeftNav-menuitem[data-icon] {
|
|
325
|
-
--vuu-icon-left: 32px;
|
|
326
|
-
--vuu-icon-size: 16px;
|
|
327
|
-
}
|
|
328
|
-
.vuuLeftNav-menuitem[data-icon=demo] {
|
|
329
|
-
--vuu-icon-svg: var(--svg-demo);
|
|
330
|
-
}
|
|
331
|
-
.vuuLeftNav-menuitem[data-icon=tables] {
|
|
332
|
-
--vuu-icon-svg: var(--svg-tables);
|
|
333
|
-
}
|
|
334
|
-
.vuuLeftNav-menuitem[data-icon=templates] {
|
|
335
|
-
--vuu-icon-svg: var(--svg-templates);
|
|
336
|
-
}
|
|
337
|
-
.vuuLeftNav-menuitem[data-icon=layouts] {
|
|
338
|
-
--vuu-icon-svg: var(--svg-layouts);
|
|
339
|
-
}
|
|
340
|
-
.vuuLeftNav-menuitem-label {
|
|
341
|
-
white-space: nowrap;
|
|
342
|
-
}
|
|
343
|
-
.vuuLeftNav-menuitem-active {
|
|
344
|
-
--vuu-icon-color: var(--vuu-accent-color);
|
|
345
|
-
background: rgba(255, 255, 255, 0.10);
|
|
346
|
-
border-left: solid 4px var(--vuu-accent-color);
|
|
347
|
-
}
|
|
348
|
-
@container (max-width: 100px) {
|
|
349
|
-
.vuuLeftNav-menuitem {
|
|
350
|
-
padding-left: 28px;
|
|
351
|
-
}
|
|
352
|
-
.vuuLeftNav-menuitem-label {
|
|
353
|
-
display: none;
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
.vuuLeftNav-buttonBar {
|
|
357
|
-
align-items: center;
|
|
358
|
-
display: flex;
|
|
359
|
-
flex: 0 0 100px;
|
|
360
|
-
justify-content: center;
|
|
361
|
-
}
|
|
362
|
-
.vuuLeftNav-toggleButton {
|
|
363
|
-
--vuu-icon-color: var(--vuu-light-text-primary);
|
|
364
|
-
--vuu-icon-left: 11px;
|
|
365
|
-
--vuu-icon-top: 10px;
|
|
366
|
-
--vuu-icon-size: 16px;
|
|
367
|
-
background-color: var(--vuu-accent-color);
|
|
368
|
-
border-width: 0;
|
|
369
|
-
border-radius: 18px;
|
|
370
|
-
height: 36px;
|
|
371
|
-
position: relative;
|
|
372
|
-
width: 36px;
|
|
373
|
-
}
|
|
374
|
-
.vuuLeftNav-toggleButton-open {
|
|
375
|
-
--vuu-icon-left: 9px;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
374
|
/* ../vuu-shell/src/shell.css */
|
|
379
375
|
.vuuShell {
|
|
380
376
|
background-color: var(--salt-container-primary-background, ivory);
|
|
@@ -567,10 +563,10 @@ vuuUserPanel-history {
|
|
|
567
563
|
--saltButton-background: var(--salt-actionable-secondary-background-active);
|
|
568
564
|
--vuu-icon-color: white;
|
|
569
565
|
}
|
|
570
|
-
.vuu-theme
|
|
566
|
+
.vuu-theme .vuuPopupMenu:hover {
|
|
571
567
|
--saltButton-background-hover: #F37880;
|
|
572
568
|
}
|
|
573
|
-
.vuu-theme
|
|
569
|
+
.vuu-theme .vuuPopupMenu-open {
|
|
574
570
|
--saltButton-background: #6D18BD;
|
|
575
571
|
}
|
|
576
572
|
|
|
@@ -585,7 +581,7 @@ vuuUserPanel-history {
|
|
|
585
581
|
}
|
|
586
582
|
.vuuDraggable-spacer {
|
|
587
583
|
display: var(--saltDraggable-display, inline-block);
|
|
588
|
-
height: var(--saltDraggable-spacer-height, var(--
|
|
584
|
+
height: var(--saltDraggable-spacer-height, var(--tabstrip-height));
|
|
589
585
|
transition: var(--saltDraggable-transitionProp, width) 0.3s ease;
|
|
590
586
|
width: var(--saltDraggable-spacer-width, 0);
|
|
591
587
|
}
|
|
@@ -621,53 +617,99 @@ vuuUserPanel-history {
|
|
|
621
617
|
order: 1;
|
|
622
618
|
}
|
|
623
619
|
|
|
620
|
+
/* src/editable-label/EditableLabel.css */
|
|
621
|
+
.vuuEditableLabel {
|
|
622
|
+
--saltInput-background: transparent;
|
|
623
|
+
--saltInput-minWidth: 14px;
|
|
624
|
+
--saltInput-position: absolute;
|
|
625
|
+
--editableLabel-padding: var(--saltEditableLabel-padding, 6px);
|
|
626
|
+
--editableLabel-height: var(--saltEditableLabel-height, 26px);
|
|
627
|
+
color: inherit;
|
|
628
|
+
cursor: default;
|
|
629
|
+
display: flex;
|
|
630
|
+
flex-direction: column;
|
|
631
|
+
font-size: var(--salt-text-fontSize);
|
|
632
|
+
height: var(--editableLabel-height);
|
|
633
|
+
justify-content: center;
|
|
634
|
+
outline: none;
|
|
635
|
+
padding: 0 var(--editableLabel-padding);
|
|
636
|
+
position: relative;
|
|
637
|
+
z-index: var(--salt-zIndex-default);
|
|
638
|
+
}
|
|
639
|
+
.vuuEditableLabel:before {
|
|
640
|
+
content: attr(data-text);
|
|
641
|
+
display: block;
|
|
642
|
+
height: 0px;
|
|
643
|
+
visibility: hidden;
|
|
644
|
+
white-space: pre-wrap;
|
|
645
|
+
}
|
|
646
|
+
.vuuEditableLabel .saltInput {
|
|
647
|
+
font-weight: var(--salt-text-fontWeight);
|
|
648
|
+
left: var(--editableLabel-padding, 0);
|
|
649
|
+
padding: 0;
|
|
650
|
+
outline-style: none;
|
|
651
|
+
position: absolute;
|
|
652
|
+
right: var(--editableLabel-padding, 0);
|
|
653
|
+
top: var(--saltEditableLabel-top, 2px);
|
|
654
|
+
width: auto;
|
|
655
|
+
}
|
|
656
|
+
.vuuEditableLabel .saltInput-activationIndicator {
|
|
657
|
+
display: none;
|
|
658
|
+
}
|
|
659
|
+
.vuuEditableLabel-input {
|
|
660
|
+
background-color: transparent;
|
|
661
|
+
border: none;
|
|
662
|
+
box-sizing: content-box;
|
|
663
|
+
display: block;
|
|
664
|
+
flex: 1;
|
|
665
|
+
font: inherit;
|
|
666
|
+
height: 20px;
|
|
667
|
+
margin: 0;
|
|
668
|
+
min-width: 0;
|
|
669
|
+
outline: none;
|
|
670
|
+
padding: 0;
|
|
671
|
+
}
|
|
672
|
+
|
|
624
673
|
/* src/tabstrip/Tabstrip.css */
|
|
625
674
|
.vuuTabstrip {
|
|
626
675
|
--vuuOverflowContainer-background: transparent;
|
|
627
|
-
--
|
|
628
|
-
--
|
|
629
|
-
--
|
|
630
|
-
--tabs-tabstrip-background: transparent;
|
|
631
|
-
align-items: flex-start;
|
|
676
|
+
--tabstrip-dragging-display: none;
|
|
677
|
+
--tabstrip-display: inline-flex;
|
|
678
|
+
--tabstrip-background: transparent;
|
|
632
679
|
align-self: var(--saltTabs-tabstrip-alignSelf, stretch);
|
|
633
|
-
border-bottom: var(--vuuTabstrip-borderBottom, solid 1px var(--salt-container-primary-borderColor));
|
|
634
680
|
font-size: var(--salt-text-fontSize);
|
|
635
|
-
font-weight: var(--salt-text-fontWeight);
|
|
681
|
+
font-weight: var(--vuuTabstrip-fontWeight, var(--salt-text-fontWeight));
|
|
636
682
|
position: relative;
|
|
637
683
|
overflow: visible;
|
|
638
684
|
display: flex;
|
|
639
685
|
min-width: 28px;
|
|
640
|
-
width:
|
|
686
|
+
width: var(--tabstrip-width);
|
|
641
687
|
}
|
|
642
688
|
.vuuTabstrip-horizontal {
|
|
643
|
-
--
|
|
644
|
-
--
|
|
645
|
-
--tab-
|
|
646
|
-
--tab-activationIndicator-inset: auto 0px 0px 0px;
|
|
647
|
-
--tab-activationIndicator-transitionProperty: left;
|
|
648
|
-
--tab-activationIndicator-thumb-height: 0px;
|
|
689
|
+
--tabstrip-height: var(--vuuTabstrip-height, 28px);
|
|
690
|
+
--tabstrip-width: var(--vuuTabstrip-width, 100%);
|
|
691
|
+
--tab-width: auto;
|
|
649
692
|
--tab-thumb-height: 2px;
|
|
693
|
+
--tab-thumb-left: var(--tab-thumb-offset, 0);
|
|
694
|
+
--tab-thumb-top: auto;
|
|
695
|
+
--tab-thumb-width: var(--tab-thumb-size, 100%);
|
|
696
|
+
align-items: flex-start;
|
|
697
|
+
border-bottom: var(--vuuTabstrip-borderBottom, solid 1px var(--salt-container-primary-borderColor));
|
|
650
698
|
}
|
|
651
699
|
.vuuTabstrip-vertical {
|
|
652
|
-
--
|
|
653
|
-
--
|
|
654
|
-
--tab-
|
|
655
|
-
--tab-
|
|
656
|
-
--tab-
|
|
657
|
-
--tab-
|
|
658
|
-
--tab-
|
|
700
|
+
--tabstrip-height: var(--vuuTabstrip-height, 100%);
|
|
701
|
+
--tabstrip-width: var(--vuuTabstrip-width, 100px);
|
|
702
|
+
--tab-width: 100%;
|
|
703
|
+
--tab-thumb-height: var(--tab-thumb-size, 100%);
|
|
704
|
+
--tab-thumb-left: 0;
|
|
705
|
+
--tab-thumb-top: var(--tab-thumb-offset, 0);
|
|
706
|
+
--tab-thumb-width: 2px;
|
|
659
707
|
align-self: flex-start;
|
|
660
708
|
display: inline-flex;
|
|
661
709
|
}
|
|
662
|
-
.vuuTabstrip-draggingTab {
|
|
663
|
-
--vuuTabs-activationIndicator-transition: none;
|
|
664
|
-
}
|
|
665
710
|
.vuuTabstrip-draggingTab .vuuTab {
|
|
666
711
|
pointer-events: none;
|
|
667
712
|
}
|
|
668
|
-
.vuuTabstrip-horizontal {
|
|
669
|
-
height: var(--tabs-tabstrip-height);
|
|
670
|
-
}
|
|
671
713
|
.vuuTabstrip-addTabButton {
|
|
672
714
|
--saltButton-height: 20px;
|
|
673
715
|
--saltButton-width: 20px;
|
|
@@ -691,7 +733,7 @@ vuuUserPanel-history {
|
|
|
691
733
|
flex-shrink: 1;
|
|
692
734
|
flex-wrap: wrap;
|
|
693
735
|
justify-content: flex-start;
|
|
694
|
-
line-height: var(--
|
|
736
|
+
line-height: var(--tabstrip-height);
|
|
695
737
|
}
|
|
696
738
|
.vuuTabstrip-vertical .vuuTabstrip-inner {
|
|
697
739
|
flex-direction: column;
|
|
@@ -701,9 +743,9 @@ vuuUserPanel-history {
|
|
|
701
743
|
justify-content: center;
|
|
702
744
|
}
|
|
703
745
|
.vuuDraggable[class*=vuuTabstrip] {
|
|
704
|
-
--
|
|
705
|
-
--
|
|
706
|
-
--
|
|
746
|
+
--tabstrip-display: flex;
|
|
747
|
+
--tabstrip-height: 100%;
|
|
748
|
+
--tabstrip-dragging-display: block;
|
|
707
749
|
--tabs-tab-background: var(--salt-navigable-primary-background-hover);
|
|
708
750
|
--tabs-tab-before-content: "";
|
|
709
751
|
--tabs-tab-before-background: var(--salt-navigable-indicator-hover);
|
|
@@ -716,14 +758,8 @@ vuuUserPanel-history {
|
|
|
716
758
|
}
|
|
717
759
|
.vuuDraggable-tabstrip-horizontal {
|
|
718
760
|
--tab-thumb-height: 2px;
|
|
719
|
-
--
|
|
720
|
-
|
|
721
|
-
--tab-activationIndicator-inset: auto 0px 0px 0px;
|
|
722
|
-
line-height: var(--tabs-tabstrip-height);
|
|
723
|
-
}
|
|
724
|
-
.vuuDraggable-tabstrip-vertical {
|
|
725
|
-
--tab-activationIndicator-inset: 0px 0px 0px auto;
|
|
726
|
-
--tab-activationIndicator-thumb-width: 2px;
|
|
761
|
+
--tabstrip-height: 28px;
|
|
762
|
+
line-height: var(--tabstrip-height);
|
|
727
763
|
}
|
|
728
764
|
.vuuDraggable[class*=tabstrip] .vuuTab[aria-selected=true]:before {
|
|
729
765
|
--tabs-tab-before-background: var(--salt-navigable-indicator-active);
|
|
@@ -746,43 +782,42 @@ vuuUserPanel-history {
|
|
|
746
782
|
/* src/tabstrip/Tab.css */
|
|
747
783
|
.vuuTab {
|
|
748
784
|
--saltEditableLabel-padding: 0;
|
|
749
|
-
--saltEditableLabel-height: var(--
|
|
785
|
+
--saltEditableLabel-height: var(--tabstrip-height);
|
|
750
786
|
--saltInputLegacy-minWidth: 4em;
|
|
751
|
-
--
|
|
787
|
+
--saltEditableLabel-top: 3px;
|
|
788
|
+
--tab-background: var(--vuuTab-background, var(--salt-navigable-primary-background));
|
|
752
789
|
--tab-cursor: pointer;
|
|
753
790
|
--tab-position: relative;
|
|
754
791
|
}
|
|
755
792
|
.vuuTab {
|
|
756
793
|
align-items: center;
|
|
757
794
|
align-self: stretch;
|
|
758
|
-
background: var(--
|
|
795
|
+
background: var(--tab-background);
|
|
759
796
|
border: none;
|
|
760
|
-
border-radius: 0;
|
|
797
|
+
border-radius: var(--vuuTab-borderRadius, 0);
|
|
761
798
|
color: var(--salt-text-primary-foreground);
|
|
762
799
|
cursor: var(--vuuTab-cursor, var(--tab-cursor));
|
|
763
|
-
display: var(--
|
|
800
|
+
display: var(--tabstrip-display);
|
|
764
801
|
gap: 8px;
|
|
765
|
-
height: var(--vuuTab-height, var(--
|
|
802
|
+
height: var(--vuuTab-height, var(--tabstrip-height));
|
|
766
803
|
letter-spacing: var(--vuuTab-letterSpacing, var(--tab-letterSpacing, 0));
|
|
767
804
|
min-width: var(--vuuTab-minWidth, 40px);
|
|
768
805
|
outline: none;
|
|
769
|
-
padding: 0 24px;
|
|
806
|
+
padding: var(--vuuTab-padding, 0 24px);
|
|
770
807
|
position: var(--vuuTab-position, var(--tab-position));
|
|
771
808
|
user-select: none;
|
|
809
|
+
width: var(--tab-width);
|
|
772
810
|
}
|
|
773
|
-
.vuuTab
|
|
774
|
-
inset: 2px 2px 4px 2px;
|
|
775
|
-
}
|
|
776
|
-
.vuuTab:not(.vuuTab-vertical) {
|
|
811
|
+
.vuuTab {
|
|
777
812
|
margin: 0 var(--tab-spacing) 0 0;
|
|
778
813
|
}
|
|
779
814
|
.vuuTab-selected {
|
|
815
|
+
background: var(--vuuTab-background-selected, var(--tab-background));
|
|
780
816
|
color: var(--salt-text-primary-foreground);
|
|
781
817
|
font-weight: var(--salt-navigable-fontWeight-active);
|
|
782
818
|
}
|
|
783
819
|
.vuuTab-main {
|
|
784
820
|
align-items: center;
|
|
785
|
-
background: inherit;
|
|
786
821
|
border: none;
|
|
787
822
|
color: inherit;
|
|
788
823
|
cursor: inherit;
|
|
@@ -823,9 +858,6 @@ vuuUserPanel-history {
|
|
|
823
858
|
white-space: nowrap;
|
|
824
859
|
z-index: var(--salt-zIndex-default);
|
|
825
860
|
}
|
|
826
|
-
.vuuTab-vertical .vuuTab-text {
|
|
827
|
-
text-align: var(--salt-text-textAlign);
|
|
828
|
-
}
|
|
829
861
|
.vuuTab .vuuTab-text:before {
|
|
830
862
|
height: 0;
|
|
831
863
|
content: attr(data-text);
|
|
@@ -845,21 +877,16 @@ vuuUserPanel-history {
|
|
|
845
877
|
outline-width: var(--salt-focused-outlineWidth);
|
|
846
878
|
outline-offset: -2px;
|
|
847
879
|
}
|
|
848
|
-
.vuuTab
|
|
849
|
-
right: 2px;
|
|
850
|
-
bottom: 0;
|
|
851
|
-
}
|
|
852
|
-
.vuuTab-vertical .saltFocusVisible:not(.vuuTab-selected):before {
|
|
853
|
-
left: auto;
|
|
854
|
-
height: auto;
|
|
855
|
-
top: 0;
|
|
856
|
-
width: 2px;
|
|
857
|
-
}
|
|
858
|
-
.vuuTab.saltFocusVisible {
|
|
880
|
+
.vuuTab.vuuFocusVisible {
|
|
859
881
|
background: var(--vuuTab-hover-background, var(--salt-navigable-primary-background-hover));
|
|
882
|
+
outline-color: var(--vuuTab-focusVisible-color, var(--salt-focused-outlineColor));
|
|
883
|
+
outline-style: dashed;
|
|
884
|
+
outline-width: 1px;
|
|
885
|
+
outline-offset: -1px;
|
|
860
886
|
}
|
|
861
887
|
.vuuTab:before {
|
|
862
888
|
content: var(--tab-before-content, none);
|
|
889
|
+
content: "";
|
|
863
890
|
background: var(--tab-before-background);
|
|
864
891
|
height: var(--tab-before-height);
|
|
865
892
|
inset: var(--tab-before-inset);
|
|
@@ -874,26 +901,203 @@ vuuUserPanel-history {
|
|
|
874
901
|
--tab-before-inset: var(--tab-activationIndicator-inset);
|
|
875
902
|
--tab-before-width: var(--tab-activationIndicator-thumb-width);
|
|
876
903
|
}
|
|
877
|
-
.vuuDraggable .vuuTab:before,
|
|
878
|
-
.vuuTab:not(.vuuTab-selected).saltFocusVisible:before,
|
|
879
|
-
.vuuTab:hover:not(.vuuTab-selected):before {
|
|
880
|
-
--tab-before-content: "";
|
|
881
|
-
--tab-before-background: var(--salt-navigable-indicator-hover);
|
|
882
|
-
--tab-before-height: var(--tab-thumb-height);
|
|
883
|
-
--tab-before-inset: var(--tab-activationIndicator-inset);
|
|
884
|
-
--tab-before-width: var(--tab-activationIndicator-thumb-width);
|
|
885
|
-
}
|
|
886
904
|
.vuuTab-selected:before {
|
|
887
905
|
--tab-before-content: "";
|
|
888
906
|
background: var(--salt-navigable-indicator-active);
|
|
889
907
|
height: var(--tab-thumb-height);
|
|
890
908
|
position: absolute;
|
|
891
|
-
left: var(--tab-thumb-
|
|
909
|
+
left: var(--tab-thumb-left);
|
|
892
910
|
bottom: 0px;
|
|
911
|
+
top: var(--tab-thumb-top, auto);
|
|
893
912
|
transition: var(--tab-thumb-transition, none);
|
|
894
913
|
width: var(--tab-thumb-width, 100%);
|
|
895
914
|
}
|
|
896
915
|
.vuuTab:hover:not(.vuuTab-closeHover) {
|
|
897
916
|
background: var(--vuuTab-hover-background, var(--salt-navigable-primary-background-hover));
|
|
898
917
|
}
|
|
918
|
+
|
|
919
|
+
/* src/tree/Tree.css */
|
|
920
|
+
.vuuTree {
|
|
921
|
+
--tree-node-collapse: var(--vuuTree-toggle-collapse, var(--svg-tree-node-collapse));
|
|
922
|
+
--tree-node-expand: var(--vuuTree-toggle-expand, var(--svg-tree-node-expand));
|
|
923
|
+
--tree-toggle-width: 12px;
|
|
924
|
+
--tree-icon-color: var(--vuuTree-icon-color, #4c505b);
|
|
925
|
+
--tree-node-expanded-transform: var(--vuuTree-node-expanded-transform, none);
|
|
926
|
+
--tree-node-indent: 0px;
|
|
927
|
+
--list-hilited-bg: var(--hw-list-hilited-bg, rgba(0, 0, 0, 0.1));
|
|
928
|
+
--list-item-height: var(--hw-list-item-height, 30px);
|
|
929
|
+
--list-item-padding: var(--hw-list-item-padding, 0 6px);
|
|
930
|
+
--list-item-header-bg: var(--hw-list-item-header-bg, black);
|
|
931
|
+
--list-item-header-color: var(--hw-list-item-header-color, white);
|
|
932
|
+
--list-item-header-font-weight: bold;
|
|
933
|
+
--list-item-header-twisty-color: black;
|
|
934
|
+
--list-item-header-twisty-content: "";
|
|
935
|
+
--list-item-header-twisty-top: 50%;
|
|
936
|
+
--list-item-header-twisty-left: -18px;
|
|
937
|
+
--list-item-header-twisty-right: auto;
|
|
938
|
+
--list-item-selected-bg: var(--hw-list-selected-bg, #1ea7fd);
|
|
939
|
+
--list-item-selected-color: white;
|
|
940
|
+
--list-item-text-color: var(--hw-gray-800);
|
|
941
|
+
--focus-visible-border-color: var(--hw-focus-visible-border-color, rgb(141, 154, 179));
|
|
942
|
+
list-style: none;
|
|
943
|
+
margin: 0;
|
|
944
|
+
padding: 0 1px;
|
|
945
|
+
font-size: var(--vuuTree-font-size, 14px);
|
|
946
|
+
max-height: inherit;
|
|
947
|
+
outline: none;
|
|
948
|
+
overflow-y: auto;
|
|
949
|
+
position: relative;
|
|
950
|
+
user-select: none;
|
|
951
|
+
}
|
|
952
|
+
.vuuTree-viewport {
|
|
953
|
+
--list-item-height: 30px;
|
|
954
|
+
box-sizing: border-box;
|
|
955
|
+
max-height: inherit;
|
|
956
|
+
overflow: auto;
|
|
957
|
+
}
|
|
958
|
+
.vuuTree-scrollingContentContainer {
|
|
959
|
+
box-sizing: inherit;
|
|
960
|
+
position: relative;
|
|
961
|
+
}
|
|
962
|
+
.vuuTree-scrollingContentContainer .vuuTreeNode {
|
|
963
|
+
line-height: 30px;
|
|
964
|
+
position: absolute;
|
|
965
|
+
top: 0;
|
|
966
|
+
left: 0;
|
|
967
|
+
right: 0;
|
|
968
|
+
will-change: transform;
|
|
969
|
+
}
|
|
970
|
+
.vuuTreeNode {
|
|
971
|
+
list-style: none;
|
|
972
|
+
}
|
|
973
|
+
.vuuTreeNode:not([aria-expanded]),
|
|
974
|
+
.vuuTreeNode[aria-expanded] > .vuuTreeNode-label {
|
|
975
|
+
--checkbox-border-color: black;
|
|
976
|
+
--checkbox-border-width: 1px;
|
|
977
|
+
--checkbox-tick: black;
|
|
978
|
+
--list-item-padding-left: 6px;
|
|
979
|
+
--svg-toggle: var(--tree-node-collapse);
|
|
980
|
+
align-items: center;
|
|
981
|
+
color: var(--list-item-text-color);
|
|
982
|
+
display: flex;
|
|
983
|
+
flex-wrap: nowrap;
|
|
984
|
+
height: var(--list-item-height);
|
|
985
|
+
line-height: var(--list-item-height);
|
|
986
|
+
padding: var(--list-item-padding);
|
|
987
|
+
padding-left: var(--padding-left);
|
|
988
|
+
position: relative;
|
|
989
|
+
cursor: default;
|
|
990
|
+
margin: 0;
|
|
991
|
+
white-space: nowrap;
|
|
992
|
+
}
|
|
993
|
+
.vuuTreeNode:not([aria-expanded]) {
|
|
994
|
+
--padding-left: calc( var(--list-item-padding-left) + var(--tree-toggle-width) + var(--tree-node-indent) );
|
|
995
|
+
}
|
|
996
|
+
.vuuTreeNode[aria-expanded] > .vuuTreeNode-label {
|
|
997
|
+
--padding-left: calc( var(--list-item-padding-left) + var(--tree-toggle-width) + var(--tree-node-indent) );
|
|
998
|
+
}
|
|
999
|
+
.vuuTreeNode-icon {
|
|
1000
|
+
background-color: var(--tree-icon-color);
|
|
1001
|
+
display: inline-block;
|
|
1002
|
+
height: 18px;
|
|
1003
|
+
margin-right: 6px;
|
|
1004
|
+
-webkit-mask: var(--vuu-icon-svg) center center/12px 12px no-repeat;
|
|
1005
|
+
mask: var(--vuu-icon-svg) center center/12px 12px no-repeat;
|
|
1006
|
+
flex: 0 0 18px;
|
|
1007
|
+
}
|
|
1008
|
+
.vuuTreeNode[aria-expanded] {
|
|
1009
|
+
flex-direction: column;
|
|
1010
|
+
}
|
|
1011
|
+
.vuuTreeNode[aria-expanded] {
|
|
1012
|
+
flex-direction: column;
|
|
1013
|
+
height: auto;
|
|
1014
|
+
}
|
|
1015
|
+
.vuuTreeNode > *[role=group] {
|
|
1016
|
+
padding-left: 0px;
|
|
1017
|
+
}
|
|
1018
|
+
.vuuTreeNode {
|
|
1019
|
+
padding-left: calc(var(--padding-left) + var(--tree-node-indent));
|
|
1020
|
+
}
|
|
1021
|
+
.vuuTreeNode[aria-level="2"] {
|
|
1022
|
+
--tree-node-indent: 12px;
|
|
1023
|
+
}
|
|
1024
|
+
.vuuTreeNode[aria-level="3"] {
|
|
1025
|
+
--tree-node-indent: 24px;
|
|
1026
|
+
}
|
|
1027
|
+
.vuuTreeNode[aria-level="4"] {
|
|
1028
|
+
--tree-node-indent: 36px;
|
|
1029
|
+
}
|
|
1030
|
+
.vuuTreeNode:not(.focusVisible):not(.hwListItemHeader):not([aria-expanded])[data-highlighted],
|
|
1031
|
+
.vuuTreeNode:not(.focusVisible):not(.hwListItemHeader)[aria-expanded][data-highlighted] > div:first-child {
|
|
1032
|
+
background-color: var(--list-hilited-bg);
|
|
1033
|
+
}
|
|
1034
|
+
.vuuTreeNode-toggle {
|
|
1035
|
+
cursor: pointer;
|
|
1036
|
+
}
|
|
1037
|
+
.vuuTreeNode > .vuuTreeNode-toggle {
|
|
1038
|
+
display: inline-block;
|
|
1039
|
+
height: 100%;
|
|
1040
|
+
left: 0;
|
|
1041
|
+
position: absolute;
|
|
1042
|
+
width: calc(var(--list-item-padding-left) + var(--tree-toggle-width));
|
|
1043
|
+
}
|
|
1044
|
+
.vuuTreeNode[aria-expanded] > .vuuTreeNode-label:after {
|
|
1045
|
+
content: var(--list-item-header-twisty-content);
|
|
1046
|
+
-webkit-mask: var(--svg-toggle) center center/8px 8px no-repeat;
|
|
1047
|
+
mask: var(--svg-toggle) center center/8px 8px no-repeat;
|
|
1048
|
+
background-color: var(--list-item-header-twisty-color);
|
|
1049
|
+
height: 18px;
|
|
1050
|
+
margin-top: -9px;
|
|
1051
|
+
left: var(--tree-node-indent);
|
|
1052
|
+
position: absolute;
|
|
1053
|
+
top: var(--list-item-header-twisty-top);
|
|
1054
|
+
transition: transform 0.3s;
|
|
1055
|
+
width: 18px;
|
|
1056
|
+
}
|
|
1057
|
+
.vuuTreeNode[aria-selected=true] {
|
|
1058
|
+
--list-item-header-twisty-color: var(--list-item-selected-color);
|
|
1059
|
+
}
|
|
1060
|
+
.vuuTreeNode:not(.focusVisible):focus {
|
|
1061
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
1062
|
+
}
|
|
1063
|
+
.vuuTreeNode:not([aria-expanded]).focusVisible:before,
|
|
1064
|
+
.vuuTreeNode[aria-expanded].focusVisible > div:first-child:before {
|
|
1065
|
+
content: "";
|
|
1066
|
+
position: absolute;
|
|
1067
|
+
top: 0px;
|
|
1068
|
+
left: var(--tree-focus-offset, 0px);
|
|
1069
|
+
right: 0;
|
|
1070
|
+
bottom: 0px;
|
|
1071
|
+
border: dotted var(--focus-visible-border-color) 2px;
|
|
1072
|
+
background-color: var(--list-hilited-bg);
|
|
1073
|
+
}
|
|
1074
|
+
.vuuTreeNode[aria-expanded=false] > *:first-child:after {
|
|
1075
|
+
--svg-toggle: var(--tree-node-expand);
|
|
1076
|
+
}
|
|
1077
|
+
.vuuTreeNode[aria-expanded=true] > *:first-child:after {
|
|
1078
|
+
transform: var(--tree-node-expanded-transform);
|
|
1079
|
+
}
|
|
1080
|
+
.vuuTree:not(.checkbox-only) .vuuTreeNode:not([aria-expanded])[aria-selected=true],
|
|
1081
|
+
.vuuTree:not(.checkbox-only) .vuuTreeNode[aria-expanded][aria-selected=true] > div:first-child {
|
|
1082
|
+
--checkbox-border-color: var(--list-item-selected-color);
|
|
1083
|
+
--checkbox-tick: var(--list-item-selected-color);
|
|
1084
|
+
--focus-visible-border-color: var(--list-item-selected-color);
|
|
1085
|
+
background-color: var(--list-item-selected-bg);
|
|
1086
|
+
color: var(--list-item-selected-color);
|
|
1087
|
+
}
|
|
1088
|
+
.with-checkbox .vuuTreeNode {
|
|
1089
|
+
padding-left: 28px;
|
|
1090
|
+
}
|
|
1091
|
+
.with-checkbox .vuuTreeNode:before {
|
|
1092
|
+
border-style: solid;
|
|
1093
|
+
border-width: var(--checkbox-border-width);
|
|
1094
|
+
border-color: var(--checkbox-border-color);
|
|
1095
|
+
content: "";
|
|
1096
|
+
height: 12px;
|
|
1097
|
+
left: 3px;
|
|
1098
|
+
margin-top: -7px;
|
|
1099
|
+
position: absolute;
|
|
1100
|
+
top: 50%;
|
|
1101
|
+
width: 12px;
|
|
1102
|
+
}
|
|
899
1103
|
/*# sourceMappingURL=index.css.map */
|