@vitrosoftware/common-ui-ts 1.1.90 → 1.1.92

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.
@@ -3,5 +3,7 @@ export declare enum PLACEMENT {
3
3
  BOTTOM = "bottom",
4
4
  LEFT = "left",
5
5
  RIGHT = "right",
6
- AUTO = "auto"
6
+ AUTO = "auto",
7
+ START = "start",
8
+ END = "end"
7
9
  }
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { OverlayRef } from './OverlayRef';
3
+ interface OverlayProps {
4
+ target?: HTMLElement;
5
+ children: React.ReactNode;
6
+ isShow?: boolean;
7
+ isFlip?: boolean;
8
+ container?: HTMLElement;
9
+ placement?: any;
10
+ style?: React.CSSProperties;
11
+ className?: string;
12
+ }
13
+ export declare const Overlay: React.ForwardRefExoticComponent<OverlayProps & React.RefAttributes<OverlayRef>>;
14
+ export {};
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export interface OverlayRef {
3
+ setTarget(target: HTMLElement | null): void;
4
+ setStyle(style: React.CSSProperties): void;
5
+ }
@@ -5,6 +5,7 @@ interface ItemProps {
5
5
  imageHoverUrl?: string;
6
6
  isHover?: boolean;
7
7
  isSidebarExpanded: boolean;
8
+ isHidden?: boolean;
8
9
  isMobileView: boolean;
9
10
  width?: number;
10
11
  className?: string;
@@ -14,6 +14,7 @@ interface LinkItem {
14
14
  onClick?: React.MouseEventHandler<HTMLAnchorElement>;
15
15
  isSidebarExpanded: boolean;
16
16
  isMobileView: boolean;
17
+ isHidden?: boolean;
17
18
  }
18
19
  export declare const LinkItem: (props: LinkItem) => JSX.Element;
19
20
  export {};
@@ -111,6 +111,9 @@ import { Radio } from './controls/Radio/Radio';
111
111
  import { ImageButton } from './controls/ImageButton/ImageButton';
112
112
  import { LinkInput } from './controls/LinkInput/LinkInput';
113
113
  import { Link } from './controls/Link/Link';
114
+ import { Overlay } from './controls/Overlay/Overlay';
115
+ import { OverlayRef } from './controls/Overlay/OverlayRef';
116
+ import { PLACEMENT } from './constants/Placement';
114
117
  export { Breadcrumbs };
115
118
  export { TopLevelMenu };
116
119
  export { TreeView, TreeViewContext, TREE_VIEW, TreeViewProps, JsTreeViewNode };
@@ -177,3 +180,5 @@ export { Radio };
177
180
  export { ImageButton };
178
181
  export { LinkInput };
179
182
  export { Link };
183
+ export { Overlay, OverlayRef };
184
+ export { PLACEMENT };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitrosoftware/common-ui-ts",
3
- "version": "1.1.90",
3
+ "version": "1.1.92",
4
4
  "description": "vitro software common ui ts",
5
5
  "author": "",
6
6
  "license": "MIT",
@@ -1,11 +1,11 @@
1
- import { BIMModel, BIMCommon, BIMAnnotation } from '/resource/bimViewer/js/bim-viewer-models.js?version=1.1.90';
1
+ import { BIMModel, BIMCommon, BIMAnnotation } from '/resource/bimViewer/js/bim-viewer-models.js?version=1.1.92';
2
2
 
3
3
  import {
4
4
  Viewer, XKTLoaderPlugin, NavCubePlugin, SectionPlanesPlugin, math, BCFViewpointsPlugin, AnnotationsPlugin,
5
5
  ContextMenu, TreeViewPlugin, StoreyViewsPlugin, AngleMeasurementsPlugin, CameraMemento, DistanceMeasurementsPlugin,
6
6
  GLTFLoaderPlugin, utils, FastNavPlugin, MetaObject
7
7
  }
8
- from '/resource/bimViewer/js/xeokit/xeokit-sdk.es.js?version=1.1.90';
8
+ from '/resource/bimViewer/js/xeokit/xeokit-sdk.es.js?version=1.1.92';
9
9
 
10
10
 
11
11
  const processByChildIdList = (treeViewNode, event) => {
@@ -3213,7 +3213,7 @@ const defaultOptions = {
3213
3213
  kind: OptionKind.WORKER
3214
3214
  },
3215
3215
  workerSrc: {
3216
- value: "resource/pdfViewer/js/pdf.worker.js?version=1.1.90",
3216
+ value: "resource/pdfViewer/js/pdf.worker.js?version=1.1.92",
3217
3217
  kind: OptionKind.WORKER
3218
3218
  }
3219
3219
  };