@interopio/groups-ui-react 2.7.1 → 3.0.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/cjs/defaultComponents/buttons/StandardButton.d.ts +4 -0
- package/dist/cjs/defaultComponents/utils/common.d.ts +3 -0
- package/dist/cjs/defaultComponents/utils/useDragMove.d.ts +6 -0
- package/dist/cjs/index.d.ts +2 -1
- package/dist/cjs/index.js +291 -271
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/api.d.ts +2 -0
- package/dist/cjs/types/defaultComponents.d.ts +10 -1
- package/dist/cjs/types/internal.d.ts +27 -45
- package/dist/cjs/webGroupsManager.d.ts +2 -0
- package/dist/esm/defaultComponents/buttons/StandardButton.d.ts +4 -0
- package/dist/esm/defaultComponents/utils/common.d.ts +3 -0
- package/dist/esm/defaultComponents/utils/useDragMove.d.ts +6 -0
- package/dist/esm/index.d.ts +2 -1
- package/dist/esm/index.js +304 -285
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/api.d.ts +2 -0
- package/dist/esm/types/defaultComponents.d.ts +10 -1
- package/dist/esm/types/internal.d.ts +27 -45
- package/dist/esm/webGroupsManager.d.ts +2 -0
- package/dist/styles/groups.css +156 -76
- package/dist/styles/vars.css +865 -78
- package/package.json +4 -4
package/dist/esm/types/api.d.ts
CHANGED
|
@@ -72,6 +72,7 @@ export interface GroupCaptionBarProps {
|
|
|
72
72
|
caption: string;
|
|
73
73
|
captionEditor?: CaptionEditorProps;
|
|
74
74
|
visible: boolean;
|
|
75
|
+
showCaptionEditor: (text: string) => void;
|
|
75
76
|
notifyCaptionBoundsChanged: (bounds: Bounds) => void;
|
|
76
77
|
minimize: ButtonProps;
|
|
77
78
|
maximize: ButtonProps;
|
|
@@ -81,6 +82,7 @@ export interface GroupCaptionBarProps {
|
|
|
81
82
|
export interface GroupOverlayProps {
|
|
82
83
|
}
|
|
83
84
|
export interface FlatCaptionBarProps {
|
|
85
|
+
showCaptionEditor: (text: string) => void;
|
|
84
86
|
frameId: string;
|
|
85
87
|
moveAreaId: string;
|
|
86
88
|
caption: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bounds, ButtonProps, TargetType, ToggleButtonProps } from "./internal";
|
|
1
|
+
import { Bounds, ButtonProps, StandardButtons, StandardButtonTarget, TargetType, ToggleButtonProps } from "./internal";
|
|
2
2
|
export interface CaptionEditorProps {
|
|
3
3
|
targetId: string;
|
|
4
4
|
targetType: TargetType;
|
|
@@ -17,6 +17,13 @@ export interface GroupCaptionEditorProps {
|
|
|
17
17
|
hideEditor: () => void;
|
|
18
18
|
caption: string;
|
|
19
19
|
}
|
|
20
|
+
export interface StandardButtonProps {
|
|
21
|
+
buttonId: StandardButtons;
|
|
22
|
+
tooltip: string;
|
|
23
|
+
target?: StandardButtonTarget;
|
|
24
|
+
isPressed?: boolean;
|
|
25
|
+
onClick: () => void;
|
|
26
|
+
}
|
|
20
27
|
export interface StickyButtonProps extends ToggleButtonProps {
|
|
21
28
|
}
|
|
22
29
|
export interface FeedbackButtonProps extends ButtonProps {
|
|
@@ -141,6 +148,7 @@ export interface FlatButtonsProps {
|
|
|
141
148
|
}
|
|
142
149
|
export interface FlatCaptionProps {
|
|
143
150
|
caption: string;
|
|
151
|
+
showCaptionEditor: (text: string) => void;
|
|
144
152
|
notifyBoundsChanged?: (bounds: Bounds) => void;
|
|
145
153
|
}
|
|
146
154
|
export interface GroupMoveAreaProps {
|
|
@@ -155,6 +163,7 @@ export interface GroupButtonsProps {
|
|
|
155
163
|
}
|
|
156
164
|
export interface GroupCaptionProps {
|
|
157
165
|
caption: string;
|
|
166
|
+
showCaptionEditor: (text: string) => void;
|
|
158
167
|
notifyBoundsChanged?: (bounds: Bounds) => void;
|
|
159
168
|
}
|
|
160
169
|
export interface TabCaptionProps {
|
|
@@ -7,10 +7,15 @@ export interface PortalProps {
|
|
|
7
7
|
parentElement: HTMLElement;
|
|
8
8
|
children?: React.ReactNode;
|
|
9
9
|
}
|
|
10
|
+
export declare enum StandardButtonTarget {
|
|
11
|
+
Default = "default",
|
|
12
|
+
Frame = "frame"
|
|
13
|
+
}
|
|
10
14
|
export interface ButtonProps {
|
|
11
15
|
onClick: () => void;
|
|
12
16
|
tooltip: string;
|
|
13
17
|
visible: boolean;
|
|
18
|
+
target?: StandardButtonTarget;
|
|
14
19
|
}
|
|
15
20
|
export interface ToggleButtonProps extends ButtonProps {
|
|
16
21
|
isPressed: boolean;
|
|
@@ -151,6 +156,7 @@ export interface CreateTabRequestOptions extends CreateElementRequestOptions {
|
|
|
151
156
|
}
|
|
152
157
|
export interface UpdateStandardButtonRequestOptions extends CreateElementRequestOptions {
|
|
153
158
|
buttonId: StandardButtons;
|
|
159
|
+
buttonTarget: StandardButtonTarget;
|
|
154
160
|
visible: boolean;
|
|
155
161
|
tooltip: string;
|
|
156
162
|
isPressed: boolean;
|
|
@@ -163,52 +169,26 @@ export interface UpdateCustomButtonOptions {
|
|
|
163
169
|
tooltip: string;
|
|
164
170
|
imageData: string;
|
|
165
171
|
}
|
|
172
|
+
export interface CreateStandardButtonsOptions {
|
|
173
|
+
tooltip: string;
|
|
174
|
+
visible: boolean;
|
|
175
|
+
target: StandardButtonTarget;
|
|
176
|
+
}
|
|
177
|
+
export interface CreateStandardToggleButtonsOptions extends CreateStandardButtonsOptions {
|
|
178
|
+
isPressed: boolean;
|
|
179
|
+
}
|
|
166
180
|
export interface CreateButtonsOptions extends CreateFrameElementRequestOptions {
|
|
167
|
-
overflow:
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
};
|
|
179
|
-
sticky: {
|
|
180
|
-
tooltip: string;
|
|
181
|
-
visible: boolean;
|
|
182
|
-
isPressed: boolean;
|
|
183
|
-
};
|
|
184
|
-
extract: {
|
|
185
|
-
tooltip: string;
|
|
186
|
-
visible: boolean;
|
|
187
|
-
};
|
|
188
|
-
lock: {
|
|
189
|
-
tooltip: string;
|
|
190
|
-
visible: boolean;
|
|
191
|
-
};
|
|
192
|
-
unlock: {
|
|
193
|
-
tooltip: string;
|
|
194
|
-
visible: boolean;
|
|
195
|
-
};
|
|
196
|
-
minimize: {
|
|
197
|
-
tooltip: string;
|
|
198
|
-
visible: boolean;
|
|
199
|
-
};
|
|
200
|
-
restore: {
|
|
201
|
-
tooltip: string;
|
|
202
|
-
visible: boolean;
|
|
203
|
-
};
|
|
204
|
-
maximize: {
|
|
205
|
-
tooltip: string;
|
|
206
|
-
visible: boolean;
|
|
207
|
-
};
|
|
208
|
-
close: {
|
|
209
|
-
tooltip: string;
|
|
210
|
-
visible: boolean;
|
|
211
|
-
};
|
|
181
|
+
overflow: CreateStandardButtonsOptions;
|
|
182
|
+
feedback: CreateStandardButtonsOptions;
|
|
183
|
+
clone: CreateStandardButtonsOptions;
|
|
184
|
+
sticky: CreateStandardToggleButtonsOptions;
|
|
185
|
+
extract: CreateStandardButtonsOptions;
|
|
186
|
+
lock: CreateStandardButtonsOptions;
|
|
187
|
+
unlock: CreateStandardButtonsOptions;
|
|
188
|
+
minimize: CreateStandardButtonsOptions;
|
|
189
|
+
restore: CreateStandardButtonsOptions;
|
|
190
|
+
maximize: CreateStandardButtonsOptions;
|
|
191
|
+
close: CreateStandardButtonsOptions;
|
|
212
192
|
customButtons: UpdateCustomButtonOptions[];
|
|
213
193
|
hiddenTabsToTheLeft: OverflowedTabInfo[];
|
|
214
194
|
hiddenTabsToTheRight: OverflowedTabInfo[];
|
|
@@ -320,6 +300,8 @@ export interface ExternalLibraryFactory {
|
|
|
320
300
|
onFrameChannelSelectorClick(targetId: string, channelSelectorBounds: Bounds): void;
|
|
321
301
|
onMoveAreaChanged(targetType: TargetType, targetId: string): void;
|
|
322
302
|
onCaptionTextBoundsChanged(targetType: TargetType, targetId: string, bounds: Bounds): void;
|
|
303
|
+
showCaptionEditor(targetType: TargetType, targetId: string, text: string): void;
|
|
304
|
+
startDragMove(): void;
|
|
323
305
|
onCaptionEditorVisibleChanged(targetType: TargetType, targetId: string, visible: boolean): void;
|
|
324
306
|
onCaptionEditorBoundsChanged(targetType: TargetType, targetId: string, bounds: Bounds): void;
|
|
325
307
|
commitCaptionEditing(targetType: TargetType, targetId: string, text: string): void;
|
|
@@ -30,6 +30,8 @@ declare class WebGroupsManagerDecorator {
|
|
|
30
30
|
onTabChannelSelectorClick(targetId: string, selectorBounds: Bounds): void;
|
|
31
31
|
onFrameChannelSelectorClick(targetId: string, selectorBounds: Bounds): void;
|
|
32
32
|
onCaptionTextBoundsChanged(targetType: TargetType, targetId: string, bounds: Bounds): void;
|
|
33
|
+
startDragMove(): void;
|
|
34
|
+
showCaptionEditor(targetType: TargetType, targetId: string, text: string): void;
|
|
33
35
|
onCaptionEditorVisibleChanged(targetType: TargetType, targetId: string, visible: boolean): void;
|
|
34
36
|
onCaptionEditorBoundsChanged(targetType: TargetType, targetId: string, bounds: Bounds): void;
|
|
35
37
|
commitCaptionEditing(targetType: TargetType, targetId: string, text: string): void;
|
package/dist/styles/groups.css
CHANGED
|
@@ -5,7 +5,13 @@
|
|
|
5
5
|
box-sizing: border-box;
|
|
6
6
|
transition-timing-function: cubic-bezier(0.45, 0, 0.15, 1);
|
|
7
7
|
transition-duration: 240ms;
|
|
8
|
-
transition-property: background-color
|
|
8
|
+
transition-property: background-color;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
*::before,
|
|
12
|
+
*::after {
|
|
13
|
+
transition-timing-function: cubic-bezier(0.45, 0, 0.15, 1);
|
|
14
|
+
transition-duration: 240ms;
|
|
9
15
|
}
|
|
10
16
|
|
|
11
17
|
body {
|
|
@@ -50,22 +56,10 @@ input {
|
|
|
50
56
|
overflow: hidden;
|
|
51
57
|
}
|
|
52
58
|
|
|
53
|
-
.t42-internal-caption-bar {
|
|
54
|
-
flex-direction: row;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
59
|
.t42-react-caption-bar {
|
|
58
60
|
display: flex;
|
|
59
61
|
flex-grow: 1;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
.t42-caption-bar::after {
|
|
63
|
-
position: absolute;
|
|
64
|
-
z-index: 1;
|
|
65
|
-
display: block;
|
|
66
|
-
width: 100%;
|
|
67
|
-
background-color: var(--t42-caption-separator-color);
|
|
68
|
-
content: "";
|
|
62
|
+
height: 100%;
|
|
69
63
|
}
|
|
70
64
|
|
|
71
65
|
.t42-caption {
|
|
@@ -76,19 +70,20 @@ input {
|
|
|
76
70
|
white-space: nowrap;
|
|
77
71
|
text-align: left;
|
|
78
72
|
user-select: none;
|
|
73
|
+
transition-property: color;
|
|
79
74
|
}
|
|
80
75
|
|
|
81
76
|
.t42-caption-editor {
|
|
82
77
|
display: inline-block;
|
|
83
|
-
min-width:
|
|
78
|
+
min-width: var(--t42-caption-editor-min-width);
|
|
84
79
|
height: var(--t42-caption-editor-height);
|
|
85
80
|
margin: var(--t42-caption-editor-margin);
|
|
86
|
-
padding:
|
|
81
|
+
padding: var(--t42-caption-editor-padding);
|
|
87
82
|
border: var(--t42-caption-editor-border);
|
|
88
|
-
border-radius: var(--
|
|
83
|
+
border-radius: var(--t42-caption-editor-border-radius);
|
|
89
84
|
overflow-x: hidden;
|
|
90
85
|
color: var(--t42-caption-editor-color);
|
|
91
|
-
font-size: var(--
|
|
86
|
+
font-size: var(--t42-caption-editor-font-size);
|
|
92
87
|
white-space: nowrap;
|
|
93
88
|
outline: 0;
|
|
94
89
|
}
|
|
@@ -97,6 +92,7 @@ input {
|
|
|
97
92
|
.t42-caption-editor.t42-frame-caption-bar-element {
|
|
98
93
|
margin: var(--t42-title-margin);
|
|
99
94
|
outline: 0;
|
|
95
|
+
--webkit-app-region: no-drag;
|
|
100
96
|
}
|
|
101
97
|
|
|
102
98
|
.t42-title {
|
|
@@ -109,7 +105,9 @@ input {
|
|
|
109
105
|
display: flex;
|
|
110
106
|
flex-grow: 1;
|
|
111
107
|
align-items: center;
|
|
108
|
+
height: 100%;
|
|
112
109
|
min-width: var(--t42-move-area-min-width);
|
|
110
|
+
-webkit-app-region: drag;
|
|
113
111
|
}
|
|
114
112
|
|
|
115
113
|
.t42-buttons-container {
|
|
@@ -117,6 +115,14 @@ input {
|
|
|
117
115
|
flex-direction: row;
|
|
118
116
|
}
|
|
119
117
|
|
|
118
|
+
.t42-external-buttons-container {
|
|
119
|
+
display: flex;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.t42-tab-bar-header-frame .t42-buttons-container {
|
|
123
|
+
padding: var(--t42-tab-buttons-container-padding);
|
|
124
|
+
}
|
|
125
|
+
|
|
120
126
|
.t42-html-buttons-container {
|
|
121
127
|
position: absolute;
|
|
122
128
|
top: var(--spacing-4);
|
|
@@ -173,6 +179,10 @@ input {
|
|
|
173
179
|
content: "";
|
|
174
180
|
}
|
|
175
181
|
|
|
182
|
+
.t42-standard-button-frame {
|
|
183
|
+
position: relative;
|
|
184
|
+
}
|
|
185
|
+
|
|
176
186
|
.t42-standard-button-image {
|
|
177
187
|
fill: var(--t42-standard-button-color);
|
|
178
188
|
}
|
|
@@ -180,15 +190,28 @@ input {
|
|
|
180
190
|
.t42-caption-bar-button-lock,
|
|
181
191
|
.t42-caption-bar-button-unlock,
|
|
182
192
|
.t42-caption-bar-button-feedback,
|
|
193
|
+
.t42-caption-bar-button-clone,
|
|
183
194
|
.t42-caption-bar-button-sticky,
|
|
184
|
-
.t42-caption-bar-button-extract
|
|
195
|
+
.t42-caption-bar-button-extract,
|
|
196
|
+
.t42-caption-bar-button-overflow,
|
|
197
|
+
.t42-caption-bar-button-collapse,
|
|
198
|
+
.t42-caption-bar-button-expand,
|
|
199
|
+
.t42-caption-bar-button-frame-minimize,
|
|
200
|
+
.t42-caption-bar-button-frame-maximize,
|
|
201
|
+
.t42-caption-bar-button-frame-restore,
|
|
202
|
+
.t42-caption-bar-button-frame-close {
|
|
185
203
|
margin: var(--t42-tab-bar-button-margin);
|
|
186
204
|
border-radius: var(--t42-tab-bar-button-radius);
|
|
187
205
|
}
|
|
188
206
|
|
|
189
207
|
.t42-caption-bar-button-lock .t42-standard-button::before,
|
|
190
208
|
.t42-caption-bar-button-unlock .t42-standard-button::before,
|
|
191
|
-
.t42-caption-bar-button-feedback .t42-standard-button::before
|
|
209
|
+
.t42-caption-bar-button-feedback .t42-standard-button::before,
|
|
210
|
+
.t42-caption-bar-button-clone .t42-standard-button::before,
|
|
211
|
+
.t42-caption-bar-button-frame-minimize .t42-standard-button::before,
|
|
212
|
+
.t42-caption-bar-button-frame-maximize .t42-standard-button::before,
|
|
213
|
+
.t42-caption-bar-button-frame-restore .t42-standard-button::before,
|
|
214
|
+
.t42-caption-bar-button-frame-close .t42-standard-button::before {
|
|
192
215
|
font-size: var(--spacing-14);
|
|
193
216
|
}
|
|
194
217
|
|
|
@@ -196,14 +219,30 @@ input {
|
|
|
196
219
|
color: var(--t42-caption-bar-button-close-hover-text);
|
|
197
220
|
}
|
|
198
221
|
|
|
222
|
+
.t42-standard-button-collapse::before {
|
|
223
|
+
content: "\e918";
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.t42-standard-button-expand::before {
|
|
227
|
+
content: "\e90e";
|
|
228
|
+
}
|
|
229
|
+
|
|
199
230
|
.t42-standard-button-minimize::before {
|
|
200
231
|
content: "\e904";
|
|
201
232
|
}
|
|
202
233
|
|
|
234
|
+
.t42-standard-button-frame-minimize::before {
|
|
235
|
+
content: "\e965";
|
|
236
|
+
}
|
|
237
|
+
|
|
203
238
|
.t42-standard-button-maximize::before {
|
|
204
239
|
content: "\e906";
|
|
205
240
|
}
|
|
206
241
|
|
|
242
|
+
.t42-standard-button-frame-maximize::before {
|
|
243
|
+
content: "\e92a";
|
|
244
|
+
}
|
|
245
|
+
|
|
207
246
|
.t42-standard-button-close::before {
|
|
208
247
|
content: "\e908";
|
|
209
248
|
}
|
|
@@ -222,6 +261,10 @@ input {
|
|
|
222
261
|
content: "\e912";
|
|
223
262
|
}
|
|
224
263
|
|
|
264
|
+
.t42-standard-button-frame-restore::before {
|
|
265
|
+
content: "\e928";
|
|
266
|
+
}
|
|
267
|
+
|
|
225
268
|
.t42-standard-button-extract::before {
|
|
226
269
|
content: "\e924";
|
|
227
270
|
}
|
|
@@ -261,7 +304,7 @@ input {
|
|
|
261
304
|
.t42-caption-bar-button.active .t42-standard-button-sticky::before {
|
|
262
305
|
width: var(--spacing-16);
|
|
263
306
|
height: var(--spacing-16);
|
|
264
|
-
line-height: var(--
|
|
307
|
+
line-height: var(--spacing-16);
|
|
265
308
|
content: var(--sticky-icon-on);
|
|
266
309
|
}
|
|
267
310
|
|
|
@@ -275,8 +318,34 @@ input {
|
|
|
275
318
|
content: "\e902";
|
|
276
319
|
}
|
|
277
320
|
|
|
321
|
+
.t42-caption-bar-container {
|
|
322
|
+
position: relative;
|
|
323
|
+
display: flex;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.t42-caption-bar-container::after {
|
|
327
|
+
position: absolute;
|
|
328
|
+
z-index: 1;
|
|
329
|
+
display: block;
|
|
330
|
+
bottom: 0;
|
|
331
|
+
width: 100%;
|
|
332
|
+
background-color: var(--t42-caption-separator-color);
|
|
333
|
+
content: "";
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.t42-group-caption-bar-container::after {
|
|
337
|
+
height: var(--t42-group-caption-separator-size);
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.t42-frame-caption-bar-container::after {
|
|
341
|
+
height: var(--t42-frame-caption-separator-size);
|
|
342
|
+
}
|
|
343
|
+
|
|
278
344
|
.t42-group-caption-bar {
|
|
279
|
-
|
|
345
|
+
flex-direction: row;
|
|
346
|
+
align-items: center;
|
|
347
|
+
width: 100%;
|
|
348
|
+
height: var(--t42-group-caption-height);
|
|
280
349
|
}
|
|
281
350
|
|
|
282
351
|
.t42-group-caption-bar-element {
|
|
@@ -287,14 +356,10 @@ input {
|
|
|
287
356
|
outline: 0;
|
|
288
357
|
}
|
|
289
358
|
|
|
290
|
-
.t42-group-caption-bar::after {
|
|
291
|
-
bottom: 0;
|
|
292
|
-
height: var(--t42-group-caption-separator-size);
|
|
293
|
-
}
|
|
294
359
|
|
|
295
360
|
.t42-group-caption-bar-button {
|
|
296
|
-
width: var(--t42-group-caption-
|
|
297
|
-
height: var(--t42-group-caption-height);
|
|
361
|
+
width: var(--t42-group-caption-button-width);
|
|
362
|
+
height: var(--t42-group-caption-button-height);
|
|
298
363
|
}
|
|
299
364
|
|
|
300
365
|
.t42-frame {
|
|
@@ -320,12 +385,14 @@ input {
|
|
|
320
385
|
}
|
|
321
386
|
|
|
322
387
|
.t42-frame-caption-bar {
|
|
323
|
-
|
|
388
|
+
flex-direction: row;
|
|
389
|
+
align-items: center;
|
|
390
|
+
width: 100%;
|
|
391
|
+
height: var(--t42-frame-caption-bar-height);
|
|
324
392
|
}
|
|
325
393
|
|
|
326
|
-
.t42-frame-caption-bar
|
|
327
|
-
|
|
328
|
-
height: var(--t42-frame-caption-separator-size);
|
|
394
|
+
.t42-frame-caption-bar-frame .t42-buttons-container {
|
|
395
|
+
padding: var(--t42-flat-buttons-container-padding);
|
|
329
396
|
}
|
|
330
397
|
|
|
331
398
|
.t42-frame-caption-bar-element {
|
|
@@ -398,6 +465,8 @@ input {
|
|
|
398
465
|
}
|
|
399
466
|
|
|
400
467
|
.t42-tab-bar-header {
|
|
468
|
+
--t42-caption-bar-button-height: var(--t42-tab-bar-height);
|
|
469
|
+
|
|
401
470
|
position: relative;
|
|
402
471
|
display: flex;
|
|
403
472
|
flex-direction: row;
|
|
@@ -424,6 +493,7 @@ input {
|
|
|
424
493
|
}
|
|
425
494
|
|
|
426
495
|
.t42-caption-bar-button:hover {
|
|
496
|
+
color: var(--t42-standard-button-hover-color);
|
|
427
497
|
background-color: var(--t42-caption-bar-button-hover-background);
|
|
428
498
|
}
|
|
429
499
|
|
|
@@ -434,14 +504,27 @@ input {
|
|
|
434
504
|
.t42-caption-bar-button-maximize,
|
|
435
505
|
.t42-caption-bar-button-minimize,
|
|
436
506
|
.t42-caption-bar-button-restore,
|
|
437
|
-
.t42-caption-bar-button-clone,
|
|
438
507
|
.t42-caption-bar-button-close {
|
|
439
508
|
width: var(--t42-caption-bar-button-width);
|
|
440
|
-
height: var(--t42-
|
|
509
|
+
height: var(--t42-caption-bar-button-height);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
.t42-caption-bar-button-frame-maximize,
|
|
513
|
+
.t42-caption-bar-button-frame-minimize,
|
|
514
|
+
.t42-caption-bar-button-frame-restore,
|
|
515
|
+
.t42-caption-bar-button-frame-close {
|
|
516
|
+
--t42-caption-bar-button-close-hover-background: var(--t42-caption-bar-button-hover-background);
|
|
517
|
+
--t42-caption-bar-button-close-hover-text: var(--text-states-active);
|
|
518
|
+
width: var(--t42-tab-bar-button-size);
|
|
519
|
+
height: var(--t42-tab-bar-button-size);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.t42-caption-bar-button-frame {
|
|
523
|
+
position: relative;
|
|
441
524
|
}
|
|
442
525
|
|
|
443
526
|
.t42-tabs,
|
|
444
|
-
.t42-tabs-pinned {
|
|
527
|
+
.t42-tabs-pinned:not(:empty) {
|
|
445
528
|
position: relative;
|
|
446
529
|
display: flex;
|
|
447
530
|
flex-direction: row;
|
|
@@ -473,9 +556,7 @@ input {
|
|
|
473
556
|
height: var(--t42-tab-bar-tab-height);
|
|
474
557
|
margin: var(--t42-tab-bar-tab-margin);
|
|
475
558
|
padding: var(--t42-tab-bar-tab-padding);
|
|
476
|
-
border-radius: var(--
|
|
477
|
-
border-top-left-radius: var(--spacing-4);
|
|
478
|
-
border-top-right-radius: var(--spacing-4);
|
|
559
|
+
border-radius: var(--t42-tab-bar-tab-border-radius);
|
|
479
560
|
background-color: var(--t42-tab-bar-tab-background);
|
|
480
561
|
container-type: size;
|
|
481
562
|
container-name: normal-tabs;
|
|
@@ -503,14 +584,10 @@ input {
|
|
|
503
584
|
content: none;
|
|
504
585
|
}
|
|
505
586
|
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
} */
|
|
511
|
-
|
|
512
|
-
.t42-tab:hover .t42-tab-caption {
|
|
513
|
-
color: var(--t42-caption-text-hover-color);
|
|
587
|
+
.t42-tab:hover {
|
|
588
|
+
--t42-tab-bar-background: var(--t42-tab-bar-tab-background-hover);
|
|
589
|
+
--t42-tab-bar-tab-text: var(--t42-caption-text-hover-color);
|
|
590
|
+
background-color: var(--t42-tab-bar-tab-background-hover);
|
|
514
591
|
}
|
|
515
592
|
|
|
516
593
|
.t42-tab-channel-selector {
|
|
@@ -526,13 +603,12 @@ input {
|
|
|
526
603
|
.t42-tab-caption {
|
|
527
604
|
flex-grow: 1;
|
|
528
605
|
color: var(--t42-tab-bar-tab-text);
|
|
529
|
-
mask-image:
|
|
606
|
+
mask-image: var(--t42-caption-text-fade-effect);
|
|
530
607
|
}
|
|
531
608
|
|
|
532
609
|
.t42-tab-caption-editor {
|
|
533
610
|
min-width: unset;
|
|
534
611
|
mask-image: none;
|
|
535
|
-
height: var(--spacing-12);
|
|
536
612
|
}
|
|
537
613
|
|
|
538
614
|
.t42-tab-caption-editor:focus-visible {
|
|
@@ -548,12 +624,12 @@ input {
|
|
|
548
624
|
display: flex;
|
|
549
625
|
align-items: center;
|
|
550
626
|
justify-content: center;
|
|
551
|
-
width:
|
|
552
|
-
height:
|
|
553
|
-
border-radius:
|
|
627
|
+
width: var(--t42-tab-bar-tab-close-button-content-width);
|
|
628
|
+
height: var(--t42-tab-bar-tab-close-button-content-height);
|
|
629
|
+
border-radius: var(--t42-tab-bar-tab-close-button-content-border-radius);
|
|
554
630
|
background-color: var(--t42-tab-bar-tab-close-button-background);
|
|
555
|
-
transition-duration:
|
|
556
|
-
transition-property:
|
|
631
|
+
transition-duration: var(--t42-tab-bar-tab-close-button-transition-duration);
|
|
632
|
+
transition-property: all;
|
|
557
633
|
}
|
|
558
634
|
|
|
559
635
|
.t42-tab-close-button-content svg {
|
|
@@ -570,6 +646,10 @@ input {
|
|
|
570
646
|
background-color: var(--t42-tab-bar-tab-close-button-bg-hover);
|
|
571
647
|
}
|
|
572
648
|
|
|
649
|
+
.t42-tab-close-button-content:hover::before {
|
|
650
|
+
color: var(--t42-tab-bar-tab-text-hover);
|
|
651
|
+
}
|
|
652
|
+
|
|
573
653
|
.t42-tab-close-button-content:hover .t42-standard-button-image {
|
|
574
654
|
fill: var(--t42-tab-bar-tab-text-hover);
|
|
575
655
|
}
|
|
@@ -578,21 +658,19 @@ input {
|
|
|
578
658
|
background-color: var(--t42-tab-bar-selected-tab-background);
|
|
579
659
|
}
|
|
580
660
|
|
|
661
|
+
.t42-selected-tab:hover {
|
|
662
|
+
--t42-tab-bar-background: var(--t42-tab-bar-selected-tab-background);
|
|
663
|
+
--t42-tab-bar-tab-text: var(--t42-tab-bar-selected-tab-text);
|
|
664
|
+
--t42-tab-bar-tab-background-hover: var(--t42-tab-bar-selected-tab-background);
|
|
665
|
+
}
|
|
666
|
+
|
|
581
667
|
.t42-selected-tab::before,
|
|
582
668
|
.t42-selected-tab + .t42-tab::before {
|
|
583
|
-
opacity:
|
|
669
|
+
opacity: var(--t42-tab-bar-tab-selected-separator-opacity);
|
|
584
670
|
}
|
|
585
671
|
|
|
586
|
-
.t42-selected-tab
|
|
587
|
-
position: absolute;
|
|
588
|
-
bottom: 0;
|
|
589
|
-
left: 0;
|
|
590
|
-
z-index: 10;
|
|
591
|
-
display: block;
|
|
592
|
-
width: calc(100% - var(--t42-tab-bar-tab-separator-size));
|
|
593
|
-
height: var(--t42-tab-bar-tab-selected-separator-size);
|
|
672
|
+
.t42-selected-tab::before {
|
|
594
673
|
background-color: var(--t42-tab-bar-tab-selected-separator-color);
|
|
595
|
-
content: "";
|
|
596
674
|
}
|
|
597
675
|
|
|
598
676
|
.t42-selected-tab-caption {
|
|
@@ -619,13 +697,13 @@ input {
|
|
|
619
697
|
.t42-channel-selector-content-light,
|
|
620
698
|
.t42-channel-selector-content-light::before,
|
|
621
699
|
.t42-channel-selector-content-light i::before {
|
|
622
|
-
color:
|
|
700
|
+
color: var(--t42-frame-channel-icon-color-white);
|
|
623
701
|
}
|
|
624
702
|
|
|
625
703
|
.t42-channel-selector-content-dark,
|
|
626
704
|
.t42-channel-selector-content-dark::before,
|
|
627
705
|
.t42-channel-selector-content-dark i::before {
|
|
628
|
-
color:
|
|
706
|
+
color: var(--t42-frame-channel-icon-color-black);
|
|
629
707
|
}
|
|
630
708
|
|
|
631
709
|
@keyframes approaching-edge-animation {
|
|
@@ -683,6 +761,7 @@ input {
|
|
|
683
761
|
|
|
684
762
|
.t42-sizing-border-group:hover {
|
|
685
763
|
background-color: var(--t42-hover-sizing-border-group-color);
|
|
764
|
+
z-index: 150;
|
|
686
765
|
}
|
|
687
766
|
|
|
688
767
|
.t42-active-sizing-border-group {
|
|
@@ -738,6 +817,11 @@ input {
|
|
|
738
817
|
}
|
|
739
818
|
}
|
|
740
819
|
|
|
820
|
+
.loader-container {
|
|
821
|
+
display: flex;
|
|
822
|
+
flex-grow: 1;
|
|
823
|
+
}
|
|
824
|
+
|
|
741
825
|
.loader-wrapper {
|
|
742
826
|
display: flex;
|
|
743
827
|
flex-direction: column;
|
|
@@ -803,8 +887,6 @@ input {
|
|
|
803
887
|
|
|
804
888
|
@container normal-tabs (max-width: 50px) {
|
|
805
889
|
.t42-tab-channel-selector {
|
|
806
|
-
--t42-tab-bar-tab-channels-height:0;
|
|
807
|
-
--t42-tab-bar-tab-channels-width: 0;
|
|
808
890
|
--t42-tab-bar-tab-channels-margin: 0;
|
|
809
891
|
}
|
|
810
892
|
}
|
|
@@ -827,7 +909,7 @@ input {
|
|
|
827
909
|
}
|
|
828
910
|
|
|
829
911
|
.t42-tabs-overflow .t42-tab {
|
|
830
|
-
min-width: var(--t42-tab-bar-tab-overflowable-min-width);
|
|
912
|
+
min-width: var(--t42-tab-bar-tab-overflowable-min-width);
|
|
831
913
|
}
|
|
832
914
|
|
|
833
915
|
.t42-tabs-overflow .t42-tabs {
|
|
@@ -872,23 +954,23 @@ input {
|
|
|
872
954
|
position: absolute;
|
|
873
955
|
z-index: 999;
|
|
874
956
|
margin-top: var(--t42-wg-tab-over-top-offset);
|
|
957
|
+
|
|
875
958
|
}
|
|
876
959
|
|
|
877
|
-
.t42-tab-overflow-popup
|
|
878
|
-
.t42-tab-context-menu {
|
|
960
|
+
.t42-tab-overflow-popup {
|
|
879
961
|
display: flex;
|
|
880
962
|
flex-direction: column;
|
|
881
963
|
min-width: var(--t42-wg-tab-over-min-width);
|
|
882
964
|
max-width: var(--t42-wg-tab-over-max-width);
|
|
883
965
|
max-height: var(--t42-wg-tab-over-max-height);
|
|
884
966
|
padding: var(--t42-wg-tab-over-padding);
|
|
967
|
+
border: var(--t42-wg-tab-over-border);
|
|
885
968
|
border-radius: var(--t42-wg-tab-over-border-radius);
|
|
886
969
|
overflow: auto;
|
|
887
970
|
background-color: var(--t42-wg-tab-over-background);
|
|
888
971
|
}
|
|
889
972
|
|
|
890
|
-
.t42-tab-overflow-popup li
|
|
891
|
-
.t42-tab-context-menu li {
|
|
973
|
+
.t42-tab-overflow-popup li {
|
|
892
974
|
display: flex;
|
|
893
975
|
gap: var(--t42-wg-tab-over-item-gap);
|
|
894
976
|
align-items: center;
|
|
@@ -898,16 +980,14 @@ input {
|
|
|
898
980
|
transition-property: background-color;
|
|
899
981
|
}
|
|
900
982
|
|
|
901
|
-
.t42-tab-overflow-popup li span
|
|
902
|
-
.t42-tab-context-menu li span {
|
|
983
|
+
.t42-tab-overflow-popup li span {
|
|
903
984
|
flex-grow: 1;
|
|
904
985
|
overflow: hidden;
|
|
905
986
|
text-wrap: nowrap;
|
|
906
987
|
text-overflow: clip;
|
|
907
988
|
}
|
|
908
989
|
|
|
909
|
-
.t42-tab-overflow-popup li:not(.title):hover
|
|
910
|
-
.t42-tab-context-menu li:not(.title):hover {
|
|
990
|
+
.t42-tab-overflow-popup li:not(.title):hover {
|
|
911
991
|
color: var(--t42-wg-tab-over-item-color-hover);
|
|
912
992
|
background-color: var(--t42-wg-tab-over-item-background-hover);
|
|
913
993
|
}
|