@zealicsolutions/web-ui 0.3.250 → 0.3.251

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