@zealicsolutions/web-ui 0.3.249 → 0.3.250

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.
@@ -5,14 +5,12 @@ import { IconButton as IconButtonComponent } from './IconButton';
5
5
  import { TouchableOpacityProps } from './TouchableOpacity';
6
6
  declare const _default: {
7
7
  title: string;
8
- component: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {
9
- target: "_blank";
10
- } & Pick<import("../..").BaseButtonProps, "children" | "onClick" | "disabled" | "size" | "colorTheme"> & Partial<{
8
+ component: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, Pick<import("../..").BaseButtonProps, "children" | "onClick" | "disabled" | "size" | "colorTheme"> & Partial<{
11
9
  buttonLink: string;
12
10
  elementId: string;
13
11
  $styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
14
12
  $variant: import("atoms/Buttons/TextButton").LinkVariant;
15
- }>, "target">;
13
+ }>, never>;
16
14
  };
17
15
  export default _default;
18
16
  export declare const TouchableOpacity: StoryFn<FC<TouchableOpacityProps>>;
@@ -7,11 +7,9 @@ export declare type TextButtonProps = Pick<BaseButtonProps, 'disabled' | 'onClic
7
7
  $styles: StylesType;
8
8
  $variant: LinkVariant;
9
9
  }>;
10
- export declare const TextButton: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {
11
- target: "_blank";
12
- } & Pick<BaseButtonProps, "children" | "onClick" | "disabled" | "size" | "colorTheme"> & Partial<{
10
+ export declare const TextButton: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, Pick<BaseButtonProps, "children" | "onClick" | "disabled" | "size" | "colorTheme"> & Partial<{
13
11
  buttonLink: string;
14
12
  elementId: string;
15
13
  $styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
16
14
  $variant: LinkVariant;
17
- }>, "target">;
15
+ }>, never>;
@@ -2,14 +2,12 @@ export declare const ColumnWrapper: import("styled-components").StyledComponent<
2
2
  isMobile: boolean;
3
3
  }, never>;
4
4
  export declare const InfoWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
5
- export declare const Link: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {
6
- target: "_blank";
7
- } & Pick<import("..").BaseButtonProps, "children" | "onClick" | "disabled" | "size" | "colorTheme"> & Partial<{
5
+ export declare const Link: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, Pick<import("..").BaseButtonProps, "children" | "onClick" | "disabled" | "size" | "colorTheme"> & Partial<{
8
6
  buttonLink: string;
9
7
  elementId: string;
10
8
  $styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
11
9
  $variant: import("atoms").LinkVariant;
12
- }>, "target">;
10
+ }>, never>;
13
11
  export declare const ColumnCardWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
14
12
  isMobile: boolean;
15
13
  }, never>;
@@ -10,4 +10,4 @@ export declare type LinkProps = Omit<TextButtonProps, 'children'> & Partial<{
10
10
  onExternalLink?: () => void;
11
11
  configurationItemInfo?: ConfigurationItemInfo;
12
12
  }>;
13
- export declare const Link: ({ text, isRichText, htmlElementId, isTrigger, moleculeId, configurationItemInfo, onClick, ...props }: LinkProps) => JSX.Element | null;
13
+ export declare const Link: ({ text, isRichText, htmlElementId, isTrigger, moleculeId, configurationItemInfo, href, ...props }: LinkProps) => JSX.Element | null;
@@ -2,7 +2,7 @@ import type { StoryFn } from '@storybook/react';
2
2
  import { Link as LinkComponent } from 'molecules';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: ({ text, isRichText, htmlElementId, isTrigger, moleculeId, configurationItemInfo, onClick, ...props }: import("molecules").LinkProps) => JSX.Element | null;
5
+ component: ({ text, isRichText, htmlElementId, isTrigger, moleculeId, configurationItemInfo, href, ...props }: import("molecules").LinkProps) => JSX.Element | null;
6
6
  };
7
7
  export default _default;
8
8
  export declare const Link: StoryFn<typeof LinkComponent>;
package/dist/index.d.ts CHANGED
@@ -908,14 +908,12 @@ declare type TextButtonProps = Pick<BaseButtonProps$1, 'disabled' | 'onClick' |
908
908
  $styles: StylesType;
909
909
  $variant: LinkVariant;
910
910
  }>;
911
- declare const TextButton: styled_components.StyledComponent<"a", styled_components.DefaultTheme, {
912
- target: "_blank";
913
- } & Pick<BaseButtonProps$1, "children" | "onClick" | "disabled" | "size" | "colorTheme"> & Partial<{
911
+ declare const TextButton: styled_components.StyledComponent<"a", styled_components.DefaultTheme, Pick<BaseButtonProps$1, "children" | "onClick" | "disabled" | "size" | "colorTheme"> & Partial<{
914
912
  buttonLink: string;
915
913
  elementId: string;
916
914
  $styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
917
915
  $variant: LinkVariant;
918
- }>, "target">;
916
+ }>, never>;
919
917
 
920
918
  declare type ValidationTagStatus = 'DEFAULT' | 'ERROR' | 'SUCCESS';
921
919
  declare type ValidationTagProps = {
@@ -2224,7 +2222,7 @@ declare type LinkProps = Omit<TextButtonProps$1, 'children'> & Partial<{
2224
2222
  onExternalLink?: () => void;
2225
2223
  configurationItemInfo?: ConfigurationItemInfo$1;
2226
2224
  }>;
2227
- declare const Link: ({ text, isRichText, htmlElementId, isTrigger, moleculeId, configurationItemInfo, onClick, ...props }: LinkProps) => JSX.Element | null;
2225
+ declare const Link: ({ text, isRichText, htmlElementId, isTrigger, moleculeId, configurationItemInfo, href, ...props }: LinkProps) => JSX.Element | null;
2228
2226
 
2229
2227
  declare type ChecklistItem = {
2230
2228
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.3.249",
3
+ "version": "0.3.250",
4
4
  "testVersion": "0.3.248",
5
5
  "repository": {
6
6
  "type": "git",