@windstream/react-shared-components 0.2.24 → 0.2.25

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
@@ -129,18 +129,6 @@ interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
129
129
  external?: boolean;
130
130
  /** Disable the link */
131
131
  disabled?: boolean;
132
- /**
133
- * Preserve an intentional trailing slash on internal links.
134
- * next/link normalizes the trailing slash based on the app's `trailingSlash`
135
- * config (stripping it when `false`). When this is `true` and the href ends
136
- * with a slash, the link renders as a plain anchor so the slash is kept.
137
- *
138
- * Tradeoff: because it renders a plain `<a>` instead of `next/link`, this
139
- * link bypasses Next.js client-side navigation and prefetch — clicking it
140
- * triggers a full page load. Only opt in when preserving the trailing slash
141
- * matters more than client-side routing.
142
- */
143
- preserveTrailingSlash?: boolean;
144
132
  }
145
133
 
146
134
  declare const Link: React__default.ForwardRefExoticComponent<LinkProps & React__default.RefAttributes<HTMLAnchorElement>>;
@@ -368,7 +356,7 @@ type ButtonAsAnchor = ButtonCustomProps & Omit<AnchorHTMLAttributes<HTMLAnchorEl
368
356
  };
369
357
  type ButtonProps = ButtonAsButton | ButtonAsAnchor;
370
358
 
371
- declare const BrandButton: React__default.ForwardRefExoticComponent<ButtonProps$2 & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
359
+ declare const BrandButton: React__default.ForwardRefExoticComponent<ButtonProps$2 & React__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
372
360
 
373
361
  declare const Checklist: React__default.FC<ChecklistProps>;
374
362
 
package/dist/index.d.ts CHANGED
@@ -66,7 +66,7 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAtt
66
66
  size?: "slim" | "medium" | "large" | undefined;
67
67
  label?: string | undefined;
68
68
  errorText?: string | undefined;
69
- prefixIconName?: "location_on" | "search" | undefined;
69
+ prefixIconName?: "search" | "location_on" | undefined;
70
70
  prefixIconSize?: 20 | 24 | 40 | 48 | undefined;
71
71
  prefixIconFill?: boolean | undefined;
72
72
  suffixIconFill?: boolean | undefined;
@@ -129,18 +129,6 @@ interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
129
129
  external?: boolean;
130
130
  /** Disable the link */
131
131
  disabled?: boolean;
132
- /**
133
- * Preserve an intentional trailing slash on internal links.
134
- * next/link normalizes the trailing slash based on the app's `trailingSlash`
135
- * config (stripping it when `false`). When this is `true` and the href ends
136
- * with a slash, the link renders as a plain anchor so the slash is kept.
137
- *
138
- * Tradeoff: because it renders a plain `<a>` instead of `next/link`, this
139
- * link bypasses Next.js client-side navigation and prefetch — clicking it
140
- * triggers a full page load. Only opt in when preserving the trailing slash
141
- * matters more than client-side routing.
142
- */
143
- preserveTrailingSlash?: boolean;
144
132
  }
145
133
 
146
134
  declare const Link: React__default.ForwardRefExoticComponent<LinkProps & React__default.RefAttributes<HTMLAnchorElement>>;