@windstream/react-shared-components 0.2.76 → 0.2.77

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/dist/core.d.ts CHANGED
@@ -71,7 +71,7 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAtt
71
71
  size?: "slim" | "medium" | "large" | undefined;
72
72
  label?: string | undefined;
73
73
  errorText?: string | undefined;
74
- prefixIconName?: "search" | "location_on" | undefined;
74
+ prefixIconName?: "location_on" | "search" | undefined;
75
75
  prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
76
76
  prefixIconFill?: boolean | undefined;
77
77
  suffixIconFill?: boolean | undefined;
package/dist/index.d.ts CHANGED
@@ -71,7 +71,7 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAtt
71
71
  size?: "slim" | "medium" | "large" | undefined;
72
72
  label?: string | undefined;
73
73
  errorText?: string | undefined;
74
- prefixIconName?: "location_on" | "search" | undefined;
74
+ prefixIconName?: "search" | "location_on" | undefined;
75
75
  prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
76
76
  prefixIconFill?: boolean | undefined;
77
77
  suffixIconFill?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windstream/react-shared-components",
3
- "version": "0.2.76",
3
+ "version": "0.2.77",
4
4
  "type": "module",
5
5
  "description": "Shared React components for Kinetic applications",
6
6
  "main": "dist/index.js",
@@ -52,7 +52,7 @@ export const Button: React.FC<ButtonProps> = props => {
52
52
  animationType = DEFAULT_BUTTON_ANIMATION_TYPE,
53
53
  ...rest
54
54
  } = props;
55
-
55
+
56
56
  const isLeftIcon = buttonIconPosition === "left";
57
57
  const matIconName = buttonIconName as IconName | undefined;
58
58
  const brandButtonClassName = cx(
@@ -152,6 +152,7 @@ export const Button: React.FC<ButtonProps> = props => {
152
152
  <BrandButton
153
153
  as="a"
154
154
  href={resolvedHref}
155
+ target={target}
155
156
  id={anchorId}
156
157
  variant={buttonVariant}
157
158
  text={buttonLabel}
@@ -170,6 +171,7 @@ export const Button: React.FC<ButtonProps> = props => {
170
171
  <BrandButton
171
172
  id={anchorId}
172
173
  variant={buttonVariant}
174
+ target={target}
173
175
  text={buttonLabel}
174
176
  label={buttonPrefix}
175
177
  fullWidth={fullWidth}
@@ -192,8 +194,7 @@ export const Button: React.FC<ButtonProps> = props => {
192
194
  target={target}
193
195
  variant={linkVariant || "default"}
194
196
  className={cx(
195
- matIconName &&
196
- "label1 inline-flex items-center gap-2 no-underline",
197
+ matIconName && "label1 inline-flex items-center gap-2 no-underline",
197
198
  textVariantClasses[buttonVariant],
198
199
  linkClassName
199
200
  )}
@@ -75,7 +75,7 @@ export const FloatingBanner: React.FC<FloatingBannerProps> = ({
75
75
  {cta && (
76
76
  <div className="mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center">
77
77
  <Button
78
- buttonVariant="secondary"
78
+ buttonVariant="secondary"
79
79
  {...cta}
80
80
  size={{ base: "medium", md: "large" }}
81
81
  ></Button>