@unitedstatespowersquadrons/components 1.2.21 → 1.2.22-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.
Files changed (2) hide show
  1. package/ActionButton.tsx +2 -1
  2. package/package.json +1 -1
package/ActionButton.tsx CHANGED
@@ -140,7 +140,7 @@ const ActionButton = (props: ActionButtonProps) => {
140
140
  </BaseActionButton>
141
141
  );
142
142
  } else if ("href" in props) {
143
- const { href, inline, linkClassName } = props;
143
+ const { href, inline, linkClassName, newTab } = props;
144
144
 
145
145
  const buttonClassNames = classNames(
146
146
  classes.button,
@@ -156,6 +156,7 @@ const ActionButton = (props: ActionButtonProps) => {
156
156
  href={href}
157
157
  id={id}
158
158
  linkClassName={classNames(inline ? classes.wrapperLinkInline : classes.wrapperLink, linkClassName)}
159
+ newTab={newTab}
159
160
  title={title}
160
161
  >
161
162
  {buttonContents()}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unitedstatespowersquadrons/components",
3
- "version": "1.2.21",
3
+ "version": "1.2.22-1",
4
4
  "description": "USPS shared React components library",
5
5
  "main": "index.tsx",
6
6
  "scripts": {