@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/contentful/index.esm.js +1 -1
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +1 -1
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +1 -13
- package/dist/index.d.ts +1 -13
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/next/index.esm.js +1 -1
- package/dist/next/index.esm.js.map +1 -1
- package/dist/next/index.js +1 -1
- package/dist/next/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/brand-button/index.tsx +2 -2
- package/src/components/link/index.test.tsx +0 -61
- package/src/components/link/index.tsx +0 -1
- package/src/components/link/types.ts +0 -12
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<
|
|
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?: "
|
|
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>>;
|