@interopio/groups-ui-react 2.2.3 → 2.2.5
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/index.d.ts +2 -1
- package/dist/cjs/index.js +46 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/api.d.ts +16 -3
- package/dist/cjs/types/internal.d.ts +10 -2
- package/dist/cjs/webGroupsManager.d.ts +4 -1
- package/dist/esm/index.d.ts +2 -1
- package/dist/esm/index.js +46 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/api.d.ts +16 -3
- package/dist/esm/types/internal.d.ts +10 -2
- package/dist/esm/webGroupsManager.d.ts +4 -1
- package/dist/styles/groups.css +159 -110
- package/dist/styles/vars.css +57 -40
- package/package.json +1 -1
package/dist/esm/types/api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Bounds, ButtonProps, OverflowedTabInfo, ToggleButtonProps } from "./internal";
|
|
2
|
+
import { Bounds, ButtonProps, Location, OverflowedTabInfo, ToggleButtonProps } from "./internal";
|
|
3
3
|
import { CustomButtonProps } from "./defaultComponents";
|
|
4
4
|
export interface ChannelProps {
|
|
5
5
|
visible: boolean;
|
|
@@ -100,12 +100,16 @@ export interface TabElementProps {
|
|
|
100
100
|
channels: ChannelProps;
|
|
101
101
|
notifyCaptionBoundsChanged: (bounds: Bounds) => void;
|
|
102
102
|
captionEditor: CaptionEditorProps;
|
|
103
|
+
addContainerClass: (className: string) => void;
|
|
104
|
+
removeContainerClass: (className: string) => void;
|
|
103
105
|
}
|
|
104
106
|
export interface AfterTabsProps {
|
|
105
107
|
frameId: string;
|
|
106
108
|
selectedWindow: string;
|
|
109
|
+
hiddenTabsToTheLeft?: OverflowedTabInfo[];
|
|
110
|
+
hiddenTabsToTheRight?: OverflowedTabInfo[];
|
|
107
111
|
}
|
|
108
|
-
|
|
112
|
+
interface FrameButtonsProps {
|
|
109
113
|
overflow?: ButtonProps;
|
|
110
114
|
feedback?: ButtonProps;
|
|
111
115
|
clone?: ButtonProps;
|
|
@@ -121,7 +125,11 @@ export interface TabHeaderButtonsProps {
|
|
|
121
125
|
frameId: string;
|
|
122
126
|
selectedWindow: string;
|
|
123
127
|
}
|
|
124
|
-
export interface
|
|
128
|
+
export interface TabHeaderButtonsProps extends FrameButtonsProps {
|
|
129
|
+
hiddenTabsToTheLeft: OverflowedTabInfo[];
|
|
130
|
+
hiddenTabsToTheRight: OverflowedTabInfo[];
|
|
131
|
+
}
|
|
132
|
+
export interface HtmlButtonsProps extends FrameButtonsProps {
|
|
125
133
|
}
|
|
126
134
|
export interface GroupProps {
|
|
127
135
|
components?: {
|
|
@@ -159,3 +167,8 @@ export interface MoveAreaProps {
|
|
|
159
167
|
export interface GroupComponentVisibilityState {
|
|
160
168
|
groupCaptionBarVisible?: boolean;
|
|
161
169
|
}
|
|
170
|
+
export interface OpenTabOverflowPopupOptions {
|
|
171
|
+
frameId: string;
|
|
172
|
+
location: Location;
|
|
173
|
+
}
|
|
174
|
+
export {};
|
|
@@ -202,7 +202,10 @@ export interface CreateTabOverflowPopupRequestOptions extends CreateElementReque
|
|
|
202
202
|
export interface CreateFrameLoadingAnimationRequestOptions extends CreateFrameElementRequestOptions {
|
|
203
203
|
show: boolean;
|
|
204
204
|
}
|
|
205
|
-
export
|
|
205
|
+
export interface UpdateFrameRequestOptions extends CreateFrameElementRequestOptions {
|
|
206
|
+
hiddenTabsToTheLeft: OverflowedTabInfo[];
|
|
207
|
+
hiddenTabsToTheRight: OverflowedTabInfo[];
|
|
208
|
+
}
|
|
206
209
|
export declare enum TargetType {
|
|
207
210
|
Group = "group",
|
|
208
211
|
Frame = "frame",
|
|
@@ -285,6 +288,9 @@ export interface ExternalLibraryFactory {
|
|
|
285
288
|
onCaptionEditorBoundsChanged(targetType: TargetType, targetId: string, bounds: Bounds): void;
|
|
286
289
|
commitCaptionEditing(targetType: TargetType, targetId: string, text: string): void;
|
|
287
290
|
selectTab(windowId: string): void;
|
|
291
|
+
openTabOverflowPopup(frameId: string, location: Location): void;
|
|
292
|
+
addTabContainerClass(windowId: string, className: string): void;
|
|
293
|
+
removeTabContainerClass(windowId: string, className: string): void;
|
|
288
294
|
}
|
|
289
295
|
export interface WebGroupsManager {
|
|
290
296
|
init: (factory?: any) => void;
|
|
@@ -300,7 +306,9 @@ export interface Size {
|
|
|
300
306
|
width: number;
|
|
301
307
|
height: number;
|
|
302
308
|
}
|
|
303
|
-
export interface
|
|
309
|
+
export interface Location {
|
|
304
310
|
left: number;
|
|
305
311
|
top: number;
|
|
306
312
|
}
|
|
313
|
+
export interface Bounds extends Size, Location {
|
|
314
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bounds, TargetType } from "./types/internal";
|
|
1
|
+
import { Bounds, Location, TargetType } from "./types/internal";
|
|
2
2
|
declare class WebGroupsManagerDecorator {
|
|
3
3
|
private readonly registry;
|
|
4
4
|
readonly skipFocusStyle = "t42-skip-focus";
|
|
@@ -36,6 +36,9 @@ declare class WebGroupsManagerDecorator {
|
|
|
36
36
|
onCommitCaptionEditingRequested(targetType: TargetType, targetId: string, callback: () => void): () => void;
|
|
37
37
|
requestCommitCaptionEditing(targetType: TargetType, targetId: string): void;
|
|
38
38
|
selectTab(windowId: string): void;
|
|
39
|
+
addTabContainerClass(windowId: string, className: string): void;
|
|
40
|
+
removeTabContainerClass(windowId: string, className: string): void;
|
|
41
|
+
openTabOverflowPopup(frameId: string, location: Location): void;
|
|
39
42
|
}
|
|
40
43
|
declare const _default: WebGroupsManagerDecorator;
|
|
41
44
|
export default _default;
|