@skedulo/sked-ui 21.0.0-alpha.1 → 21.0.0-alpha.2

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.
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { IPopOutProps } from '../../popout/PopOut';
3
- import { ICursorOptions, Position } from './info-window-utils';
3
+ import { ICursorOptions } from './info-window-utils';
4
4
  export declare const InfoWindowContext: React.Context<InfoWindowState>;
5
5
  export interface IRequiredProps {
6
6
  /**
@@ -10,10 +10,10 @@ export interface IRequiredProps {
10
10
  /**
11
11
  * Preferred direction around the trigger to open the info window
12
12
  */
13
- position: Position;
13
+ position: IPopOutProps['placement'];
14
14
  }
15
15
  export declare type IPopOutPropsSubset = IRequiredProps & Omit<IPopOutProps, 'children' | 'trigger' | 'showArrow'>;
16
- declare type IEvent = 'click' | 'mount' | 'hover';
16
+ export declare type IEvent = 'click' | 'mount' | 'hover';
17
17
  export declare type IInfoWindowProps = IPopOutPropsSubset & {
18
18
  children: React.ReactNode;
19
19
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skedulo/sked-ui",
3
- "version": "21.0.0-alpha.1",
3
+ "version": "21.0.0-alpha.2",
4
4
  "license": "UNLICENSED",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",