@zealicsolutions/web-ui 0.3.250 → 0.3.252

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