scorer-ui-kit 1.7.7 → 1.8.0-beta.10

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.
@@ -28,7 +28,10 @@ export interface IMenu {
28
28
  logoMark?: string;
29
29
  logoText?: string;
30
30
  supportUrl?: string;
31
+ keepOpenText?: string;
32
+ autoHideText?: string;
31
33
  defaultMenuOpen?: boolean;
34
+ canAlwaysPin?: boolean;
32
35
  }
33
36
  export interface ICustomDrawer {
34
37
  customComponent: ReactElement;
@@ -43,9 +46,12 @@ export interface ITopBar {
43
46
  loggedInUser: string;
44
47
  hasLanguage?: boolean;
45
48
  hasLogout?: boolean;
49
+ logoutText?: string;
46
50
  logoutLink?: string;
47
51
  hasSearch?: boolean;
48
52
  hasCurrentUser?: boolean;
53
+ currentUserText?: string;
54
+ accountOptionText?: string;
49
55
  searchPlaceholder?: string;
50
56
  userDrawerBespoke?: ReactElement;
51
57
  notificationsHistory?: INotificationsHistory;
@@ -8,6 +8,7 @@ interface LineUIProps {
8
8
  }) => void;
9
9
  onLineMoveEnd?: () => void;
10
10
  options?: LineUIOptions;
11
+ showDirectionMark?: boolean;
11
12
  }
12
13
  declare const LineUI: React.FC<LineUIProps>;
13
14
  export default LineUI;
@@ -35,6 +35,7 @@ export interface IDragLineUISharedOptions {
35
35
  setIndexOffset: number;
36
36
  pointIndexOffset: number;
37
37
  showPoint: boolean;
38
+ showDirectionMark?: boolean;
38
39
  }
39
40
  export interface LineUIOptions {
40
41
  showHandleFinder?: boolean;
@@ -51,6 +52,7 @@ export interface LineUIOptions {
51
52
  y: number;
52
53
  };
53
54
  boundaryOffset?: number;
55
+ showDirectionMark?: boolean;
54
56
  }
55
57
  export declare type LineUIVideoOptions = VideoHTMLAttributes<HTMLVideoElement>;
56
58
  export { LineUI, LineUIVideo, LineUIRTC, LineReducer, LineSetContext };
@@ -5,7 +5,7 @@ interface IMenuState {
5
5
  isMenuOpen: boolean;
6
6
  canPin: boolean;
7
7
  }
8
- declare const useMenu: (defaultMenuOpen: boolean) => {
8
+ declare const useMenu: (defaultMenuOpen: boolean, canAlwaysPin: boolean) => {
9
9
  menuState: IMenuState;
10
10
  setMenuOpen: () => void;
11
11
  setMenuClose: () => void;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import lightTheme from './themes/light/light';
2
- import darkTheme from './themes/dark';
2
+ import darkTheme from './themes/dark/dark';
3
3
  import themeFallbackHelper from './themes/themeFallbackHelper';
4
4
  import { AlertBar, Notification, INotificationProps, AlertWrapper } from './Alerts';
5
5
  import { Form, Button, ButtonWithIcon, ButtonWithLoading, IconButton, IconButtonData, ActionButtons, SmallInput, Input, Label, Switch, Checkbox, PasswordField, TextField, TextArea, TextAreaField, SliderInput, ISliderMark, DurationSlider, PercentageSlider, InputFileButton, DropArea, CropTool, AvatarUploader, SelectField, SelectWrapper, AreaUploadManager, RadioButton } from './Form';