@zealicsolutions/web-ui 0.1.46 → 0.1.48

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.
@@ -9,7 +9,9 @@ export declare type BaseButtonProps = {
9
9
  export declare type ButtonProps = BaseButtonProps & {
10
10
  fullWidth?: boolean;
11
11
  text?: string;
12
+ link?: string;
13
+ elementId?: string;
12
14
  loading?: boolean;
13
15
  isRichText?: boolean;
14
16
  };
15
- export declare const Button: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, }: ButtonProps) => JSX.Element;
17
+ export declare const Button: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, }: ButtonProps) => JSX.Element;
@@ -5,7 +5,7 @@ import { LinkButtonProps } from './LinkButton';
5
5
  import { TouchableOpacityProps } from './TouchableOpacity';
6
6
  declare const _default: {
7
7
  title: string;
8
- component: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, }: import("./Button").ButtonProps) => JSX.Element;
8
+ component: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, }: import("./Button").ButtonProps) => JSX.Element;
9
9
  };
10
10
  export default _default;
11
11
  export declare const Button: ComponentStory<typeof ButtonComponent>;
@@ -5,6 +5,8 @@ export declare type LinkButtonProps = PropsWithChildren<{
5
5
  withoutOpacityEffect?: boolean;
6
6
  disabled?: boolean;
7
7
  onClick?: Callback;
8
+ buttonLink?: string;
9
+ elementId?: string;
8
10
  }>;
9
11
  export declare const LinkButton: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
10
12
  activeOpacity?: number | undefined;
@@ -17,4 +19,6 @@ export declare const LinkButton: import("styled-components").StyledComponent<"di
17
19
  withoutOpacityEffect?: boolean | undefined;
18
20
  disabled?: boolean | undefined;
19
21
  onClick?: Callback | undefined;
22
+ buttonLink?: string | undefined;
23
+ elementId?: string | undefined;
20
24
  }, never>;
@@ -1,11 +1,10 @@
1
- export declare type Format = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'numbered-list' | 'bulleted-list' | 'communicationLink' | 'button' | 'tag';
1
+ export declare type Format = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'numbered-list' | 'bulleted-list' | 'communicationLink' | 'tag';
2
2
  export declare type TextFormat = Partial<{
3
3
  bold: boolean;
4
4
  italic: boolean;
5
5
  underline: boolean;
6
6
  strikethrough: boolean;
7
7
  communicationLink: CommunicationLinkPayload;
8
- button: ButtonPayload;
9
8
  tag: {
10
9
  id: string;
11
10
  };
@@ -28,8 +27,3 @@ export declare type CommunicationLinkPayload = {
28
27
  type: LinkType;
29
28
  url: string;
30
29
  };
31
- export declare type ButtonPayload = {
32
- buttonLink: string;
33
- elementId?: string;
34
- isColumnLink?: boolean;
35
- };
@@ -9,7 +9,7 @@ export declare type AlertProps = {
9
9
  isMobile?: boolean;
10
10
  logo?: string;
11
11
  fullWidth?: boolean;
12
- margins?: string;
12
+ isPreview?: boolean;
13
13
  withCloseIcon?: {
14
14
  onClose: Callback;
15
15
  };
@@ -11,7 +11,8 @@ export declare type HeaderAProps<T = string> = {
11
11
  tabsProps: TabGroupProps;
12
12
  onActionButtonClick?: Callback;
13
13
  buttonText: string;
14
+ buttonLink: string;
14
15
  isMobile?: boolean;
15
16
  };
16
- export declare const HeaderA: <T extends string | number>({ logoUrl, links, onActionButtonClick, tabsProps, buttonText, isMobile, }: HeaderAProps<T>) => JSX.Element;
17
+ export declare const HeaderA: <T extends string | number>({ logoUrl, links, onActionButtonClick, tabsProps, buttonText, isMobile, buttonLink, }: HeaderAProps<T>) => JSX.Element;
17
18
  export {};
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { HeaderAProps } from 'organisms/Header/HeaderA';
3
- export declare type HeaderBProps<T = string> = Pick<HeaderAProps<T>, 'isMobile' | 'logoUrl' | 'tabsProps' | 'buttonText' | 'onActionButtonClick'>;
4
- export declare const HeaderB: <T extends string | number>({ logoUrl, onActionButtonClick, buttonText, isMobile, tabsProps, }: HeaderBProps<T>) => JSX.Element;
3
+ export declare type HeaderBProps<T = string> = Pick<HeaderAProps<T>, 'isMobile' | 'logoUrl' | 'tabsProps' | 'buttonText' | 'onActionButtonClick' | 'buttonLink'>;
4
+ export declare const HeaderB: <T extends string | number>({ logoUrl, onActionButtonClick, buttonText, isMobile, tabsProps, buttonLink, }: HeaderBProps<T>) => JSX.Element;