@unitedstatespowersquadrons/components 1.0.2 → 1.0.4

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.
Files changed (3) hide show
  1. package/index.tsx +7 -21
  2. package/package.json +1 -1
  3. package/types.ts +1 -0
package/index.tsx CHANGED
@@ -4,27 +4,13 @@ export { default as Striped, StripedTable, StripedHead, StripedBody } from "./St
4
4
  export { default as ActionButton } from "./ActionButton";
5
5
  export { default as IconButton } from "./IconButton";
6
6
  export { default as SelectionIconButton } from "./SelectionIconButton";
7
- export { Toasts, createDismissToast, Toast_Status } from "./Toasts";
7
+ export * from "./Toasts";
8
8
  export { default as Colors } from "./Colors";
9
9
  export { default as Styles } from "./Styles";
10
10
 
11
- export type {
12
- AppStateWithToasts,
13
- DispatchFunc,
14
- DispatchHandler,
15
- OnClickHandler,
16
- OnClickOrKeyboardHandler,
17
- OnInputChangeHandler,
18
- RailsResponse,
19
- } from "./types";
20
- export type { ButtonColorName } from "./Colors";
21
- export type { FontAwesomeProps } from "./FontAwesomeIcon";
22
- export type {
23
- ActionButtonProps,
24
- ActionButtonHrefProps,
25
- ActionButtonMethodProps,
26
- ActionButtonOnClickProps,
27
- CoreActionButtonProps,
28
- } from "./ActionButton";
29
- export type { IconButtonProps, IconButtonHrefProps, IconButtonOnClickProps } from "./IconButton";
30
- export type { Toast, ToastAppAction, ToastProps } from "./Toasts";
11
+ export type * from "./types";
12
+ export type * from "./Colors";
13
+ export type * from "./FontAwesomeIcon";
14
+ export type * from "./ActionButton";
15
+ export type * from "./IconButton";
16
+ export type * from "./Toasts";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unitedstatespowersquadrons/components",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "USPS shared React components library",
5
5
  "main": "index.tsx",
6
6
  "scripts": {
package/types.ts CHANGED
@@ -18,6 +18,7 @@ export type DispatchHandler<T> = (action: T) => {
18
18
  export type OnClickHandler = (event: React.MouseEvent<HTMLButtonElement>) => void;
19
19
  export type OnInputChangeHandler = (event: React.ChangeEvent<HTMLInputElement | HTMLSelectElement>) => void;
20
20
  export type OnClickOrKeyboardHandler = (event: OnClickOrKeyboardEvent) => void;
21
+ export type OnMouseMoveHandler = (event: React.MouseEvent<HTMLDivElement>) => void;
21
22
 
22
23
  type OnClickOrKeyboardEvent =
23
24
  | React.MouseEvent<HTMLButtonElement>