@kentico/xperience-admin-components 26.2.3 → 26.3.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/dist/entry.d.ts CHANGED
@@ -2209,6 +2209,11 @@ export declare interface LeadingButtonProps {
2209
2209
 
2210
2210
  declare type LeadingElementType = 'icon' | 'avatar' | 'checkbox' | 'quinaryButton' | 'empty';
2211
2211
 
2212
+ /**
2213
+ * Component wrapping the HTML anchor element.
2214
+ */
2215
+ export declare const Link: React_2.ForwardRefExoticComponent<LinkProps & React_2.RefAttributes<HTMLDivElement>>;
2216
+
2212
2217
  export declare const LinkButton: {
2213
2218
  ({ onClick, href, target, tabIndex, anchorRef, dataTestId, ...props }: LinkButtonProps): JSX.Element;
2214
2219
  displayName: string;
@@ -2218,6 +2223,28 @@ export declare interface LinkButtonProps extends AnchorButtonProps, Omit<BaseBut
2218
2223
  readonly anchorRef?: RefObject<HTMLAnchorElement>;
2219
2224
  }
2220
2225
 
2226
+ /**
2227
+ * Represents properties for the Link component.
2228
+ */
2229
+ export declare interface LinkProps extends UITestProps {
2230
+ /**
2231
+ * The URI that the link points to.
2232
+ */
2233
+ readonly href: string;
2234
+ /**
2235
+ * Text to show in the link. If empty or null, the href is used instead.
2236
+ */
2237
+ readonly text?: string;
2238
+ /**
2239
+ * Target of the link.
2240
+ */
2241
+ readonly target?: '_self' | '_blank' | '_parent' | '_top';
2242
+ /**
2243
+ * Indicates whether the link is active. If `true`, text is used instead of anchor element.
2244
+ */
2245
+ readonly inactive?: boolean;
2246
+ }
2247
+
2221
2248
  export declare enum MediaBreakpoints {
2222
2249
  SmMax = "1365.98px",
2223
2250
  MdMin = "1366px",