@sunrise-upc/mobile-prod-card 4.0.2 → 4.1.1-beta.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,17 @@
1
+ export type LocaleID = 'en' | 'de' | 'fr' | 'it' | 'default';
2
+ export type LinkTarget = '_blank' | '_parent' | '_self' | '_top';
3
+ export type Alignment = 'left' | 'center' | 'right';
4
+ export type AuraButtonTypes = 'Primary-V1' | 'Secondary-V1' | 'Secondary-V4';
5
+ export type FalconButtonTypes = 'Primary-V1' | 'Secondary-V1' | 'Secondary-V4' | 'Secondary-Dark';
6
+ export type QuoteBackgroundColor = 'pink' | 'blue' | 'grey' | 'iceWhite' | 'transparent';
7
+ export type FalconGradientTypes = 'rubyglow-diagonal' | 'rubyglow-vertical' | 'pinksky-diagonal' | 'pinksky-vertical' | 'bluehaze-diagonal' | 'bluehaze-vertical' | 'greencloud-diagonal' | 'greencloud-vertical' | 'peachfog-diagonal' | 'peachfog-vertical' | 'black' | 'skyfuel-vertical' | 'black-friday' | 'none';
8
+ export type ElementPosition = 'top-left' | 'top-right' | 'bottom-right' | 'bottom-left';
9
+ export type FalconColorsTypes = 'grey-600' | 'grey-500' | 'ice-white' | 'grey-100' | 'grey-400' | 'none';
10
+ export type CardDisplayVariants = 'stack' | 'slider';
11
+ export type HeadingVariants = 'h1' | 'h2' | 'h3' | 'h4';
12
+ export type ShadowVariants = 'no-shadow' | 'default-shadow';
13
+ export type FalconBackgroundColor = 'grey-100' | 'ice-white' | 'transparent' | 'blue' | 'dark-green';
14
+ export type VerticalAlignment = 'top' | 'center' | 'bottom';
15
+ export type OverlayGradient = 'overlay' | 'top-to-bottom' | 'bottom-to-top' | 'left-to-right' | 'right-to-left' | 'none';
16
+ export type FalconBackgroundColorNew = 'grey-100' | 'ice-white' | 'transparent' | 'none';
17
+ export type FalconMessageTypes = 'success' | 'error' | 'info' | 'warning' | 'tip' | 'infoWhite';
@@ -4,3 +4,4 @@ declare global {
4
4
  }
5
5
  }
6
6
  export {};
7
+ export declare const getStaticAssetPath: (path: string) => string;
@@ -11,3 +11,4 @@ export declare const getCookies: (cname: string) => any;
11
11
  export declare const isTouchScreen: () => boolean;
12
12
  export declare const replacePlaceholder: (source: string, params: any) => string;
13
13
  export declare const isModemPresent: () => boolean;
14
+ export declare const iconHandler: (type: string) => string;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { Asset, ComponentWithContentProps, GenericSBProps } from '../types';
3
+ import { FalconMessageTypes } from '../../utils/data-source';
4
+ export interface SuccessMessageSchema extends GenericSBProps {
5
+ text: string;
6
+ description: any;
7
+ icon?: Asset;
8
+ chooseMessageType: FalconMessageTypes;
9
+ closeIcon?: boolean;
10
+ }
11
+ declare const FalconMessage: ({ content, metadata }: ComponentWithContentProps<SuccessMessageSchema>) => JSX.Element;
12
+ export default FalconMessage;
@@ -4,6 +4,9 @@ export interface LineCheckOverlaySchema {
4
4
  productName: string;
5
5
  handleModalClick: any;
6
6
  onSuccess: any;
7
+ setAddressNotFilled: any;
8
+ setIndivialOpen: any;
9
+ indivialOpen: any;
7
10
  }
8
- declare const LineCheckOverlay: ({ props, productName, handleModalClick, onSuccess }: LineCheckOverlaySchema) => JSX.Element;
11
+ declare const LineCheckOverlay: ({ props, productName, handleModalClick, onSuccess, setAddressNotFilled, setIndivialOpen, indivialOpen }: LineCheckOverlaySchema) => JSX.Element;
9
12
  export default LineCheckOverlay;