@unitedstatespowersquadrons/components 1.2.18 → 1.2.19-1

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.
package/ActionButton.tsx CHANGED
@@ -52,7 +52,6 @@ export interface CoreActionButtonProps extends FontAwesomeProps {
52
52
  size?: "big" | "mediumWithMargin" | "medium" | "small" | undefined;
53
53
  subtext?: string;
54
54
  text: string;
55
- title?: string | undefined;
56
55
  }
57
56
 
58
57
  interface FormProps {
@@ -8,6 +8,7 @@ export interface FontAwesomeProps {
8
8
  icon: string;
9
9
  mode?: "classic" | "duotone" | "sharp" | "sharp-duotone" | undefined;
10
10
  style?: "solid" | "regular" | "light" | "thin" | "brands" | "kit" | undefined;
11
+ title?: string | undefined;
11
12
  }
12
13
 
13
14
  const useStyles = createUseStyles({
@@ -17,7 +18,7 @@ const useStyles = createUseStyles({
17
18
  });
18
19
 
19
20
  const FontAwesomeIcon = (props: FontAwesomeProps) => {
20
- const { css, fa, icon, mode, style } = props;
21
+ const { css, fa, icon, mode, style, title } = props;
21
22
  const classes = useStyles();
22
23
  const faClasses = fa?.split(" ").map(c => `fa-${c}`) || [];
23
24
 
@@ -26,6 +27,7 @@ const FontAwesomeIcon = (props: FontAwesomeProps) => {
26
27
  className={classNames(
27
28
  classes.icon, `fa-${style || "solid"}`, `fa-${mode || "classic"}`, `fa-${icon}`, css, ...faClasses
28
29
  )}
30
+ title={title}
29
31
  />
30
32
  );
31
33
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unitedstatespowersquadrons/components",
3
- "version": "1.2.18",
3
+ "version": "1.2.19-1",
4
4
  "description": "USPS shared React components library",
5
5
  "main": "index.tsx",
6
6
  "scripts": {