@tatuarvela/wisp
Advanced tools
Comparing version 2.5.2 to 2.5.3
@@ -47,2 +47,30 @@ import * as styled_components from 'styled-components'; | ||
} | ||
interface ActivateWindowAction { | ||
type: 'ACTIVATE_WINDOW'; | ||
payload: string; | ||
} | ||
interface CloseWindowAction { | ||
type: 'CLOSE_WINDOW'; | ||
payload: string; | ||
} | ||
interface CreateWindowAction { | ||
type: 'CREATE_WINDOW'; | ||
payload: WindowType; | ||
} | ||
interface DeactivateWindowAction { | ||
type: 'DEACTIVATE_WINDOW'; | ||
payload: string; | ||
} | ||
interface UpdateWindowAction { | ||
type: 'UPDATE_WINDOW'; | ||
payload: { | ||
id: string; | ||
props: Partial<WindowType>; | ||
}; | ||
} | ||
interface SetViewportWindowMarginsAction { | ||
type: 'SET_WINDOW_MARGINS'; | ||
payload: Partial<ViewportWindowMargins>; | ||
} | ||
type WindowManagerAction = ActivateWindowAction | CloseWindowAction | CreateWindowAction | DeactivateWindowAction | UpdateWindowAction | SetViewportWindowMarginsAction; | ||
type BaseMethods = { | ||
@@ -98,2 +126,18 @@ activateWindow(id: string): void; | ||
} | ||
interface Boundaries { | ||
minX: number; | ||
maxX: number; | ||
minY: number; | ||
maxY: number; | ||
} | ||
declare enum Direction { | ||
N = "N", | ||
NE = "NE", | ||
E = "E", | ||
SE = "SE", | ||
S = "S", | ||
SW = "SW", | ||
W = "W", | ||
NW = "NW" | ||
} | ||
@@ -515,2 +559,2 @@ interface WispConfig { | ||
export { AddressBar, type AddressBarInputProps, type AddressBarProps, AddressBarThemeProperties, AlertButtonThemeProperties, AlertContentThemeProperties, AlertIcon, AlertIconThemeProperties, AlertText, AlertTextThemeProperties, AlertWindow, type AlertWindowProps, Button, type ButtonProps, ButtonThemeProperties, type ButtonWrapperProps, Checkbox, type CheckboxLabelProps, type CheckboxProps, CheckboxThemeProperties, ComboBox, type ComboBoxButtonProps, type ComboBoxInputProps, type ComboBoxLabelProps, type ComboBoxOptionsProps, type ComboBoxProps, ComboBoxThemeProperties, ControlStoryDecorator, type ControlWrapperProps, ControlWrapperThemeProperties, type ControlsThemeSection, Desktop, DesktopThemeProperties, Divider, type DividerProps, DividerThemeProperties, type ElementsThemeSection, Fieldset, type FieldsetProps, FieldsetThemeProperties, type FullTheme, type Icon, type IconKey, type IconsThemeSection, Label, type LabelProps, LabelThemeProperties, ListBox, type ListBoxButtonProps, type ListBoxLabelProps, type ListBoxOptionsProps, type ListBoxProps, ListBoxThemeProperties, type ListBoxValueProps, MenuBar, type MenuBarProps, MenuBarThemeProperties, type MenuBarThrobberProps, ProgressBar, type ProgressBarFillProps, type ProgressBarProps, ProgressBarThemeProperties, ResizeBorderThemeProperties, ScrollableContent, type ScrollableContentProps, ScrollableContentThemeProperties, type ScrollableContentViewProps, type ScrollbarHorizontalProps, ScrollbarHorizontalThemeProperties, type ScrollbarVerticalProps, ScrollbarVerticalThemeProperties, StatusBar, type StatusBarProps, StatusBarSection, type StatusBarSectionProps, StatusBarSectionThemeProperties, StatusBarThemeProperties, type TaskbarButtonProps, TaskbarButtonThemeProperties, TaskbarThemeProperties, TextInput, type TextInputElementProps, type TextInputLabelProps, type TextInputProps, TextInputThemeProperties, Textarea, type TextareaElementProps, type TextareaLabelProps, type TextareaProps, TextareaThemeProperties, type Theme, ThemeSwitcher, type ThemeSwitcherProps, type Time, TimeInput, type TimeInputButtonProps, type TimeInputFieldProps, type TimeInputLabelProps, type TimeInputProps, TimeInputThemeProperties, type TimeInputValueProps, type TitleBarButtonsProps, TitleBarButtonsThemeProperties, type TitleBarElementProps, type TitleBarProps, TitleBarThemeProperties, Toolbar, ToolbarButton, type ToolbarButtonProps, ToolbarButtonThemeProperties, type ToolbarProps, ToolbarThemeProperties, VersionInfo, VersionInfoThemeProperties, Well, WellThemeProperties, Window, WindowContent, WindowContentThemeProperties, WindowContext, WindowElementContentThemeProperties, type WindowElementProps, WindowElementThemeProperties, type WindowProps, WindowProvider, type WindowThemeSection, Wisp, type WispConfig, type WispProps, buildControlStoryDecorator, defaultTheme, statefulProps, statefulPropsDecorator, storybookConfigContextDecorator, useThemeManager, useWindow, useWindowManager }; | ||
export { AddressBar, type AddressBarInputProps, type AddressBarProps, AddressBarThemeProperties, AlertButtonThemeProperties, AlertContentThemeProperties, AlertIcon, AlertIconThemeProperties, AlertText, AlertTextThemeProperties, AlertWindow, type AlertWindowProps, type BaseMethods, type Boundaries, Button, type ButtonProps, ButtonThemeProperties, type ButtonWrapperProps, Checkbox, type CheckboxLabelProps, type CheckboxProps, CheckboxThemeProperties, ComboBox, type ComboBoxButtonProps, type ComboBoxInputProps, type ComboBoxLabelProps, type ComboBoxOptionsProps, type ComboBoxProps, ComboBoxThemeProperties, ControlStoryDecorator, type ControlWrapperProps, ControlWrapperThemeProperties, type ControlsThemeSection, Desktop, DesktopThemeProperties, Direction, Divider, type DividerProps, DividerThemeProperties, type ElementsThemeSection, Fieldset, type FieldsetProps, FieldsetThemeProperties, type FullTheme, type Icon, type IconKey, type IconsThemeSection, Label, type LabelProps, LabelThemeProperties, ListBox, type ListBoxButtonProps, type ListBoxLabelProps, type ListBoxOptionsProps, type ListBoxProps, ListBoxThemeProperties, type ListBoxValueProps, MenuBar, type MenuBarProps, MenuBarThemeProperties, type MenuBarThrobberProps, ProgressBar, type ProgressBarFillProps, type ProgressBarProps, ProgressBarThemeProperties, ResizeBorderThemeProperties, ScrollableContent, type ScrollableContentProps, ScrollableContentThemeProperties, type ScrollableContentViewProps, type ScrollbarHorizontalProps, ScrollbarHorizontalThemeProperties, type ScrollbarVerticalProps, ScrollbarVerticalThemeProperties, StatusBar, type StatusBarProps, StatusBarSection, type StatusBarSectionProps, StatusBarSectionThemeProperties, StatusBarThemeProperties, type TaskbarButtonProps, TaskbarButtonThemeProperties, TaskbarThemeProperties, TextInput, type TextInputElementProps, type TextInputLabelProps, type TextInputProps, TextInputThemeProperties, Textarea, type TextareaElementProps, type TextareaLabelProps, type TextareaProps, TextareaThemeProperties, type Theme, ThemeSwitcher, type ThemeSwitcherProps, type Time, TimeInput, type TimeInputButtonProps, type TimeInputFieldProps, type TimeInputLabelProps, type TimeInputProps, TimeInputThemeProperties, type TimeInputValueProps, type TitleBarButtonsProps, TitleBarButtonsThemeProperties, type TitleBarElementProps, type TitleBarProps, TitleBarThemeProperties, Toolbar, ToolbarButton, type ToolbarButtonProps, ToolbarButtonThemeProperties, type ToolbarProps, ToolbarThemeProperties, VersionInfo, VersionInfoThemeProperties, type ViewportWindowMargins, Well, WellThemeProperties, Window, WindowContent, WindowContentThemeProperties, WindowContext, WindowElementContentThemeProperties, type WindowElementProps, WindowElementThemeProperties, type WindowManager, type WindowManagerAction, type WindowManagerBase, type WindowManagerState, type WindowProps, WindowProvider, type WindowStateMethods, type WindowThemeSection, type WindowType, Wisp, type WispConfig, type WispProps, buildControlStoryDecorator, defaultTheme, statefulProps, statefulPropsDecorator, storybookConfigContextDecorator, useThemeManager, useWindow, useWindowManager }; |
{ | ||
"name": "@tatuarvela/wisp", | ||
"version": "2.5.2", | ||
"version": "2.5.3", | ||
"description": "Window manager and widget toolkit", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
203033
3505