@sunrise-upc/sales-static-components 2.0.5 → 3.0.0
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.
- package/dist/cjs/index.js +2 -20
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2 -20
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +124 -64
- package/package.json +31 -33
- package/dist/cjs/components/ButtonGroup/ButtonGroup.d.ts +0 -4
- package/dist/cjs/components/ButtonGroup/index.d.ts +0 -1
- package/dist/cjs/components/Constants.d.ts +0 -142
- package/dist/cjs/components/FalconButton/falconButton.d.ts +0 -46
- package/dist/cjs/components/FalconButtonV2/FalconButtonV2.d.ts +0 -3
- package/dist/cjs/components/FalconDescription/FalconDescription.d.ts +0 -14
- package/dist/cjs/components/FalconTitle/FalconTitle.d.ts +0 -11
- package/dist/cjs/components/ImageComponent/ImageComponent.d.ts +0 -3
- package/dist/cjs/components/ImageComponent/index.d.ts +0 -1
- package/dist/cjs/components/ImageWithText/ImageWithText.d.ts +0 -3
- package/dist/cjs/components/ImageWithText/index.d.ts +0 -1
- package/dist/cjs/components/ImageWithTextWrapper/ImageWithTextWrapper.d.ts +0 -3
- package/dist/cjs/components/ImageWithTextWrapper/index.d.ts +0 -1
- package/dist/cjs/components/InternetAndTvCardsBenefits/DetailsModal/DetailsModal.d.ts +0 -3
- package/dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardItemBenefits.d.ts +0 -19
- package/dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.d.ts +0 -27
- package/dist/cjs/components/InternetAndTvCardsBenefits/index.d.ts +0 -1
- package/dist/cjs/components/ResponsiveRow/row.d.ts +0 -6
- package/dist/cjs/components/RibbonComponent/RibbonComponent.d.ts +0 -5
- package/dist/cjs/components/RibbonComponent/RibbonComponent.types.d.ts +0 -45
- package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonComponentExpiredTimer.d.ts +0 -19
- package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.d.ts +0 -32
- package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.types.d.ts +0 -5
- package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonExpiredTimerRedefined.d.ts +0 -18
- package/dist/cjs/components/RibbonComponent/index.d.ts +0 -1
- package/dist/cjs/components/RibbonComponent/utils.d.ts +0 -5
- package/dist/cjs/components/RichText/RichText.types.d.ts +0 -8
- package/dist/cjs/components/RichText/richText.d.ts +0 -3
- package/dist/cjs/components/Spacer/spacer.d.ts +0 -11
- package/dist/cjs/components/StageTeaserComponent/DoubleGrid/DoubleGridComponent.d.ts +0 -10
- package/dist/cjs/components/StageTeaserComponent/SingleGrid/SingleGridComponent.d.ts +0 -5
- package/dist/cjs/components/StageTeaserComponent/SingleGrid/SingleGridComponent.types.d.ts +0 -5
- package/dist/cjs/components/StageTeaserComponent/SingleGrid/SingleGridRedefined.d.ts +0 -4
- package/dist/cjs/components/StageTeaserComponent/StageTeaserComponent.d.ts +0 -3
- package/dist/cjs/components/StageTeaserComponent/index.d.ts +0 -1
- package/dist/cjs/components/TextComponent/TextComponent.d.ts +0 -3
- package/dist/cjs/components/TextComponent/index.d.ts +0 -1
- package/dist/cjs/components/index.d.ts +0 -8
- package/dist/cjs/index.d.ts +0 -1
- package/dist/cjs/utils/AnalyticUtils.d.ts +0 -1
- package/dist/cjs/utils/AnalyticsConstants.d.ts +0 -241
- package/dist/cjs/utils/StyleUtils.d.ts +0 -7
- package/dist/cjs/utils/data-source.d.ts +0 -17
- package/dist/cjs/utils/global.d.ts +0 -7
- package/dist/cjs/utils/storyblok-types.d.ts +0 -97
- package/dist/esm/components/ButtonGroup/ButtonGroup.d.ts +0 -4
- package/dist/esm/components/ButtonGroup/index.d.ts +0 -1
- package/dist/esm/components/Constants.d.ts +0 -142
- package/dist/esm/components/FalconButton/falconButton.d.ts +0 -46
- package/dist/esm/components/FalconButtonV2/FalconButtonV2.d.ts +0 -3
- package/dist/esm/components/FalconDescription/FalconDescription.d.ts +0 -14
- package/dist/esm/components/FalconTitle/FalconTitle.d.ts +0 -11
- package/dist/esm/components/ImageComponent/ImageComponent.d.ts +0 -3
- package/dist/esm/components/ImageComponent/index.d.ts +0 -1
- package/dist/esm/components/ImageWithText/ImageWithText.d.ts +0 -3
- package/dist/esm/components/ImageWithText/index.d.ts +0 -1
- package/dist/esm/components/ImageWithTextWrapper/ImageWithTextWrapper.d.ts +0 -3
- package/dist/esm/components/ImageWithTextWrapper/index.d.ts +0 -1
- package/dist/esm/components/InternetAndTvCardsBenefits/DetailsModal/DetailsModal.d.ts +0 -3
- package/dist/esm/components/InternetAndTvCardsBenefits/InternetAndTvCardItemBenefits.d.ts +0 -19
- package/dist/esm/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.d.ts +0 -27
- package/dist/esm/components/InternetAndTvCardsBenefits/index.d.ts +0 -1
- package/dist/esm/components/ResponsiveRow/row.d.ts +0 -6
- package/dist/esm/components/RibbonComponent/RibbonComponent.d.ts +0 -5
- package/dist/esm/components/RibbonComponent/RibbonComponent.types.d.ts +0 -45
- package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonComponentExpiredTimer.d.ts +0 -19
- package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.d.ts +0 -32
- package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.types.d.ts +0 -5
- package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonExpiredTimerRedefined.d.ts +0 -18
- package/dist/esm/components/RibbonComponent/index.d.ts +0 -1
- package/dist/esm/components/RibbonComponent/utils.d.ts +0 -5
- package/dist/esm/components/RichText/RichText.types.d.ts +0 -8
- package/dist/esm/components/RichText/richText.d.ts +0 -3
- package/dist/esm/components/Spacer/spacer.d.ts +0 -11
- package/dist/esm/components/StageTeaserComponent/DoubleGrid/DoubleGridComponent.d.ts +0 -10
- package/dist/esm/components/StageTeaserComponent/SingleGrid/SingleGridComponent.d.ts +0 -5
- package/dist/esm/components/StageTeaserComponent/SingleGrid/SingleGridComponent.types.d.ts +0 -5
- package/dist/esm/components/StageTeaserComponent/SingleGrid/SingleGridRedefined.d.ts +0 -4
- package/dist/esm/components/StageTeaserComponent/StageTeaserComponent.d.ts +0 -3
- package/dist/esm/components/StageTeaserComponent/index.d.ts +0 -1
- package/dist/esm/components/TextComponent/TextComponent.d.ts +0 -3
- package/dist/esm/components/TextComponent/index.d.ts +0 -1
- package/dist/esm/components/index.d.ts +0 -8
- package/dist/esm/index.d.ts +0 -1
- package/dist/esm/utils/AnalyticUtils.d.ts +0 -1
- package/dist/esm/utils/AnalyticsConstants.d.ts +0 -241
- package/dist/esm/utils/StyleUtils.d.ts +0 -7
- package/dist/esm/utils/data-source.d.ts +0 -17
- package/dist/esm/utils/global.d.ts +0 -7
- package/dist/esm/utils/storyblok-types.d.ts +0 -97
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
export declare const CENTER = "center";
|
|
2
|
-
export declare const LEFT = "left";
|
|
3
|
-
export declare const RIGHT = "right";
|
|
4
|
-
export declare const TRANSPARENT = "transparent";
|
|
5
|
-
export declare const ZEROES = "00";
|
|
6
|
-
export declare const PRIMARYCOLORS = "#da291c";
|
|
7
|
-
export declare const FALCONBUTTONCLICKED = "clicked";
|
|
8
|
-
export declare const AFTER = "after";
|
|
9
|
-
export declare const BEFORE = "before";
|
|
10
|
-
export declare const LANG = "lang";
|
|
11
|
-
export declare const COLORWHITE = "#ffffff";
|
|
12
|
-
export declare const H1 = "h1";
|
|
13
|
-
export declare const H2 = "h2";
|
|
14
|
-
export declare const H3 = "h3";
|
|
15
|
-
export declare const H4 = "h4";
|
|
16
|
-
export declare const NONE = "none";
|
|
17
|
-
export declare const LGDESKEND = 2561;
|
|
18
|
-
export declare const MDDESKEND = 1439;
|
|
19
|
-
export declare const TABEND = 1023;
|
|
20
|
-
export declare const MOBEND = 767;
|
|
21
|
-
export declare const STACK = "stack";
|
|
22
|
-
export declare const COLLG6 = "col-lg-6";
|
|
23
|
-
export declare const COLLG4 = "col-lg-4";
|
|
24
|
-
export declare const COLLG3 = "col-lg-3";
|
|
25
|
-
export declare const DEFAULTICONALT = "NOT AVAILABLE";
|
|
26
|
-
export declare const DEFAULTICONTITLE = "";
|
|
27
|
-
export declare const BANNERWARN = "WARN";
|
|
28
|
-
export declare const BANNERINFO = "INFO";
|
|
29
|
-
export declare const BANNERTIPS = "TIPS";
|
|
30
|
-
export declare const BANNERERROR = "ERROR";
|
|
31
|
-
export declare const BANNERWARNINGCOMP = "WARNINGCOMPONENT";
|
|
32
|
-
export declare const BANNERINFORMATIONCOMP = "INFORMATIONCOMPONENT";
|
|
33
|
-
export declare const BANNERTIPSCOMP = "TIPSCOMPONENT";
|
|
34
|
-
export declare const BANNERERRORCOMP = "ERRORCOMPONENT";
|
|
35
|
-
export declare const DEFAULTLOCALE = "en";
|
|
36
|
-
export declare const AUTHCOOKIE = "sunriseAuth";
|
|
37
|
-
export declare const METAURL = "https://www.sunrise.ch/";
|
|
38
|
-
export declare const LAZYLOAD = "lazy";
|
|
39
|
-
export declare const CONTAIN = "contain";
|
|
40
|
-
export declare const COVER = "cover";
|
|
41
|
-
export declare const IMAGEFORMAT = "/filters:format(webp)";
|
|
42
|
-
export declare const METACONTENT = "initial-scale=1.0, width=device-width";
|
|
43
|
-
export declare const STORYBLOKIMAGE = "https://img2.storyblok.com/";
|
|
44
|
-
export declare const ASSETIMAGE = "https://a.storyblok.com";
|
|
45
|
-
export declare const YOUTUBE = "youtube";
|
|
46
|
-
export declare const YOUTUBETHUMBNAIL = "//i.ytimg.com/vi/";
|
|
47
|
-
export declare const YOUTUBEEMBED = "https://www.youtube.com/embed/";
|
|
48
|
-
export declare const VIMEOTHUMBNAIL = "https://vumbnail.com/";
|
|
49
|
-
export declare const VIMEOEMBED = "https://player.vimeo.com/video/";
|
|
50
|
-
export declare const TABSTART = 768;
|
|
51
|
-
export declare const MDDESKSTART = 1024;
|
|
52
|
-
export declare const LGDESKSTART = 1440;
|
|
53
|
-
export declare const SEARCHPAGE = "https://www.sunrise.ch/en/residential/search.html#/";
|
|
54
|
-
export declare const FULLWIDTH = "FULL-WIDTH";
|
|
55
|
-
export declare const HALFWIDTH = "HALF-WIDTH";
|
|
56
|
-
export declare const MAJORLEFT = "MAJOR-LEFT";
|
|
57
|
-
export declare const MAJORRIGHT = "MAJOR-RIGHT";
|
|
58
|
-
export declare const AURABUTTONCLICKED = "clicked";
|
|
59
|
-
export declare const FNAME = "fname";
|
|
60
|
-
export declare const LNAME = "lname";
|
|
61
|
-
export declare const SWISSPHONENUMBERREGEXP: RegExp;
|
|
62
|
-
export declare const REQUESTCALLBACK = "requestCallback";
|
|
63
|
-
export declare const PHONENUMBER = "phoneNumber";
|
|
64
|
-
export declare const HYPERLINK = "hyperLink";
|
|
65
|
-
export declare const PRIMARYV1BUTTON = "Primary-V1";
|
|
66
|
-
export declare const EXTERNALLINK = "externalLink";
|
|
67
|
-
export declare const INTERNALLINK = "internalLink";
|
|
68
|
-
export declare const DOCUMENT = "document";
|
|
69
|
-
export declare const DOWNLOADS = "download";
|
|
70
|
-
export declare const TEXTAREA = "text-area";
|
|
71
|
-
export declare const NUMBERSONLY = "numbersOnly";
|
|
72
|
-
export declare const EMAIL = "email";
|
|
73
|
-
export declare const TEXTNUMBER = "text-number";
|
|
74
|
-
export declare const TEXTEMAIL = "text-email";
|
|
75
|
-
export declare const TEXT = "text";
|
|
76
|
-
export declare const TEXTFIELD = "formTextField";
|
|
77
|
-
export declare const RADIO = "formRadioButton";
|
|
78
|
-
export declare const CHECKBOX = "formCheckBox";
|
|
79
|
-
export declare const DROPDOWN = "formDropDown";
|
|
80
|
-
export declare const EMAILREGEX: RegExp;
|
|
81
|
-
export declare const NUMBERREGEX: RegExp;
|
|
82
|
-
export declare const EMAILONLY = "emailOnly";
|
|
83
|
-
export declare const NUMBERONLY = "numbersOnly";
|
|
84
|
-
export declare const IMG = "img";
|
|
85
|
-
export declare const ICON = "icon";
|
|
86
|
-
export declare const SVG = "svg";
|
|
87
|
-
export declare const SUCCESS = "success";
|
|
88
|
-
export declare const ERROR = "error";
|
|
89
|
-
export declare const WARNING = "warning";
|
|
90
|
-
export declare const DATEPICKER = "formDateField";
|
|
91
|
-
export declare const FILEUPLOAD = "formFileUpload";
|
|
92
|
-
export declare const FORMSECTIONINFOTEXT = "formSectionInfoText";
|
|
93
|
-
export declare const ACCEPTEDFILEFORMATS = "image/*,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/docx,application/pdf,application/msword";
|
|
94
|
-
export declare const ACCEPTEDIMAGEFORMATS: string[];
|
|
95
|
-
export declare const FALCONTITLE = "falconTitle";
|
|
96
|
-
export declare const FALCONDESCRIPTION = "falconDescription";
|
|
97
|
-
export declare const COOKIENAME = "cookieconsent_status";
|
|
98
|
-
export declare const COOKIEVALUE = "dismiss";
|
|
99
|
-
export declare const COOKIEEXPIRY = "7776000000";
|
|
100
|
-
export declare const SLIM = "slim";
|
|
101
|
-
export declare const FULLWIDE = "fullWidth";
|
|
102
|
-
export declare const SELECTEDLANGUAGE = "selected-language";
|
|
103
|
-
export declare const SELECTEDLANGUAGEEXPIRY = "315569520000";
|
|
104
|
-
export declare const AUTH = "auth";
|
|
105
|
-
export declare const NAUTH = "nauth";
|
|
106
|
-
export declare const EXIT = "exit";
|
|
107
|
-
export declare const TIME = "time";
|
|
108
|
-
export declare const DEFAULT_ICON_ALT = "NOT AVAILABLE";
|
|
109
|
-
export declare const BANNER_WARN = "WARN";
|
|
110
|
-
export declare const BANNER_INFO = "INFO";
|
|
111
|
-
export declare const BANNER_TIPS = "TIPS";
|
|
112
|
-
export declare const BANNER_ERROR = "ERROR";
|
|
113
|
-
export declare const DEFAULT_LOCALE = "en";
|
|
114
|
-
export declare const ERROR_COLOR = "#C60047";
|
|
115
|
-
export declare const PROGRESS_ARRAY: string[];
|
|
116
|
-
export declare const PROGRESS_COLOR: string[];
|
|
117
|
-
export declare const GOLDEN_NUMBER = "GOLDEN_Number-500";
|
|
118
|
-
export declare const STANDARD_NUMBER = "STANDARD_Number-0";
|
|
119
|
-
export declare const FIVEGACCESSTYPE = "5G";
|
|
120
|
-
export declare const PREMIUM = "premium";
|
|
121
|
-
export declare const SPACE_ID = "113473";
|
|
122
|
-
export declare const AVAILABLE_TV_GROUPS: string[];
|
|
123
|
-
export declare const AVAILABLE_LANGUAGES: {
|
|
124
|
-
EN: string;
|
|
125
|
-
FR: string;
|
|
126
|
-
IT: string;
|
|
127
|
-
DE: string;
|
|
128
|
-
};
|
|
129
|
-
export declare const DISCOUNTKEYS: string[];
|
|
130
|
-
export declare const NUMBER = "number";
|
|
131
|
-
export declare const AUTHSTAMP = "auth-stamp";
|
|
132
|
-
export declare const BOTH = "both";
|
|
133
|
-
export declare const CHANNEL = "Fixnet";
|
|
134
|
-
export declare const CURRENCY = "CHF";
|
|
135
|
-
export declare const DEFAULTLANG = "en";
|
|
136
|
-
export declare const CHAT = "chat";
|
|
137
|
-
export declare const CHATSTARTED = "chatConversationStarted";
|
|
138
|
-
export declare const DATEREGEX: RegExp;
|
|
139
|
-
export declare const GETSTORYURL = "cdn/stories/";
|
|
140
|
-
export declare const PEGACASEIDLOCALKEY = "one-ecomm-pegacaseid";
|
|
141
|
-
export declare const PRE_TO_POST_PROMOTION_ID = "PreToPost";
|
|
142
|
-
export declare const SBODETAILS = "sbo-details";
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FalconButtonTypes, LinkTarget, Alignment } from '../../utils/data-source';
|
|
3
|
-
import { Asset, MultiLink } from '../../utils/storyblok-types';
|
|
4
|
-
export interface componentsInStory {
|
|
5
|
-
_uid: string;
|
|
6
|
-
plugin: string;
|
|
7
|
-
blockIdentifier: string;
|
|
8
|
-
}
|
|
9
|
-
export interface FalconButtonSchema {
|
|
10
|
-
buttonLabel?: string;
|
|
11
|
-
buttonIcon?: Asset;
|
|
12
|
-
buttonHoverIcon?: Asset;
|
|
13
|
-
buttonClickedIcon?: Asset;
|
|
14
|
-
buttonDisabledIcon?: Asset;
|
|
15
|
-
buttonLink: MultiLink;
|
|
16
|
-
linkTarget: LinkTarget;
|
|
17
|
-
buttonType: FalconButtonTypes;
|
|
18
|
-
iconPosition: string;
|
|
19
|
-
buttonAlignment: Alignment;
|
|
20
|
-
asset?: Asset;
|
|
21
|
-
id?: string;
|
|
22
|
-
bloks?: any;
|
|
23
|
-
minWidth: number;
|
|
24
|
-
enableScroll: boolean;
|
|
25
|
-
targetElement: componentsInStory;
|
|
26
|
-
blackFridayThemeIcon: Asset;
|
|
27
|
-
fromTallhero?: boolean;
|
|
28
|
-
}
|
|
29
|
-
interface AssetSchema {
|
|
30
|
-
content: FalconButtonSchema;
|
|
31
|
-
asset?: Asset | undefined;
|
|
32
|
-
phoneNumber?: string | undefined;
|
|
33
|
-
eventAction: string;
|
|
34
|
-
metadata: any | undefined;
|
|
35
|
-
updatedContent?: any;
|
|
36
|
-
enableLoginButton?: any;
|
|
37
|
-
setButtonClicked?: (buttonClicked: boolean) => void | undefined;
|
|
38
|
-
buttonClicked?: boolean;
|
|
39
|
-
onClickTrack?: (onClickTrack: boolean) => void | undefined;
|
|
40
|
-
isblacktheme?: boolean;
|
|
41
|
-
id?: string;
|
|
42
|
-
fromTallhero?: boolean;
|
|
43
|
-
enableDeviceCampaignBoolean?: any;
|
|
44
|
-
}
|
|
45
|
-
declare const FalconButton: (props: AssetSchema) => JSX.Element;
|
|
46
|
-
export default FalconButton;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Richtext } from 'storyblok-js-client';
|
|
2
|
-
import { Alignment, FalconColorsTypes } from '../../utils/data-source';
|
|
3
|
-
import { Asset, NativeColorPicker } from '../../utils/storyblok-types';
|
|
4
|
-
import { FC } from 'react';
|
|
5
|
-
export interface FalconDescriptionInterface {
|
|
6
|
-
text: Richtext;
|
|
7
|
-
textColor: FalconColorsTypes;
|
|
8
|
-
textColorPicker: NativeColorPicker;
|
|
9
|
-
icon: Asset;
|
|
10
|
-
textElementPosition: Alignment;
|
|
11
|
-
trackngLabel: string;
|
|
12
|
-
}
|
|
13
|
-
declare const FalconDescription: FC<any>;
|
|
14
|
-
export default FalconDescription;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { FalconColorsTypes, HeadingVariants } from '../../utils/data-source';
|
|
3
|
-
import { NativeColorPicker } from '../../utils/storyblok-types';
|
|
4
|
-
export interface FalconTitleInterface {
|
|
5
|
-
text: string;
|
|
6
|
-
headingStyle: HeadingVariants;
|
|
7
|
-
textColor: FalconColorsTypes;
|
|
8
|
-
textColorPicker: NativeColorPicker;
|
|
9
|
-
}
|
|
10
|
-
declare const FalconTitle: FC<any>;
|
|
11
|
-
export default FalconTitle;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './ImageComponent';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './ImageWithText';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './ImageWithTextWrapper';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { Asset, NativeColorPicker } from '../../utils/storyblok-types';
|
|
3
|
-
import { FalconTitleInterface } from '../FalconTitle/FalconTitle';
|
|
4
|
-
import { FalconDescriptionInterface } from '../FalconDescription/FalconDescription';
|
|
5
|
-
import { FalconButtonSchema } from '../FalconButton/falconButton';
|
|
6
|
-
import { Alignment, FalconGradientTypes } from '../../utils/data-source';
|
|
7
|
-
export interface InternetAndTvCardItemInterface {
|
|
8
|
-
asset: Asset;
|
|
9
|
-
textBlok: (FalconTitleInterface | FalconDescriptionInterface)[];
|
|
10
|
-
button: FalconButtonSchema[];
|
|
11
|
-
gradient: FalconGradientTypes;
|
|
12
|
-
subElementsAlignment: Alignment;
|
|
13
|
-
subElementsVertical: boolean;
|
|
14
|
-
defaultBackgroundColor: string;
|
|
15
|
-
backgroundColorPicker: NativeColorPicker;
|
|
16
|
-
notToDisplay: boolean;
|
|
17
|
-
}
|
|
18
|
-
declare const InternetAndTvCardItemBenefits: FC<any>;
|
|
19
|
-
export default InternetAndTvCardItemBenefits;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { InternetAndTvCardItemInterface } from './InternetAndTvCardItemBenefits';
|
|
2
|
-
import { FC } from 'react';
|
|
3
|
-
import { FalconDescriptionInterface } from '../FalconDescription/FalconDescription';
|
|
4
|
-
import { CardDisplayVariants, FalconColorsTypes, FalconGradientTypes, HeadingVariants } from '../../utils/data-source';
|
|
5
|
-
import { NativeColorPicker } from '../../utils/storyblok-types';
|
|
6
|
-
import { FalconButtonSchema } from '../FalconButton/falconButton';
|
|
7
|
-
import { SpacerSchema } from '../Spacer/spacer';
|
|
8
|
-
export interface InternetAndTvCardSchema {
|
|
9
|
-
title: string;
|
|
10
|
-
headlineVariants: HeadingVariants;
|
|
11
|
-
Cards: InternetAndTvCardItemInterface[];
|
|
12
|
-
backgroundColor?: NativeColorPicker;
|
|
13
|
-
headlineColorPicker?: NativeColorPicker;
|
|
14
|
-
headlineColor: FalconColorsTypes;
|
|
15
|
-
variant: CardDisplayVariants;
|
|
16
|
-
overlineText: string;
|
|
17
|
-
description: FalconDescriptionInterface[];
|
|
18
|
-
cardsInRow: string;
|
|
19
|
-
gradientBackground: FalconGradientTypes;
|
|
20
|
-
button: FalconButtonSchema[];
|
|
21
|
-
topSpace: SpacerSchema[];
|
|
22
|
-
bottomSpace: SpacerSchema[];
|
|
23
|
-
id?: string;
|
|
24
|
-
isMobSlider?: boolean;
|
|
25
|
-
}
|
|
26
|
-
declare const InternetAndTvCardsBenefits: FC<any>;
|
|
27
|
-
export default InternetAndTvCardsBenefits;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './InternetAndTvCardsBenefits';
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { TimerSchema } from "./RibbonComponentTimer/RibbonComponentTimer";
|
|
2
|
-
export declare interface RibbonComponentInterface {
|
|
3
|
-
content: RibbonComponentSchema;
|
|
4
|
-
}
|
|
5
|
-
interface RibbonComponentSchema {
|
|
6
|
-
_uid: string;
|
|
7
|
-
backgroundColor: string;
|
|
8
|
-
buttonIcon: Asset;
|
|
9
|
-
buttonText: string;
|
|
10
|
-
buttonType: string;
|
|
11
|
-
closeIcon: Asset;
|
|
12
|
-
darkModeCloseIcon: Asset;
|
|
13
|
-
deviceLimit: string;
|
|
14
|
-
description: Array<object>;
|
|
15
|
-
enableDarkMode: boolean;
|
|
16
|
-
target: string;
|
|
17
|
-
hotlineNumber: string;
|
|
18
|
-
icon: Asset;
|
|
19
|
-
darkModeIcon: Asset;
|
|
20
|
-
iconAlign: string;
|
|
21
|
-
isCloseIcon: boolean;
|
|
22
|
-
link: MultiLink;
|
|
23
|
-
teaserTimer: TimerSchema[];
|
|
24
|
-
targetCustomer: string;
|
|
25
|
-
bannerPromotionName: string;
|
|
26
|
-
bannerLocation: string;
|
|
27
|
-
}
|
|
28
|
-
interface MultiLink {
|
|
29
|
-
id: string;
|
|
30
|
-
url: string;
|
|
31
|
-
linktype: 'url' | 'story';
|
|
32
|
-
fieldtype: 'multilink';
|
|
33
|
-
cached_url: string;
|
|
34
|
-
}
|
|
35
|
-
interface Asset {
|
|
36
|
-
id: number;
|
|
37
|
-
alt?: string;
|
|
38
|
-
name: string;
|
|
39
|
-
focus?: string;
|
|
40
|
-
title?: string;
|
|
41
|
-
filename: string;
|
|
42
|
-
copyright?: string;
|
|
43
|
-
fieldtype: 'asset';
|
|
44
|
-
}
|
|
45
|
-
export {};
|
package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonComponentExpiredTimer.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './RibbonComponentTimerStyles.css';
|
|
3
|
-
import { NativeColorPicker } from './RibbonComponentTimer.types';
|
|
4
|
-
interface RibbonComponentExpiredTimerSchema {
|
|
5
|
-
timerColor: string;
|
|
6
|
-
backgroundColor: string;
|
|
7
|
-
expiryLabel: string;
|
|
8
|
-
timerAlignment: string;
|
|
9
|
-
dayLabel: string;
|
|
10
|
-
hourLabel: string;
|
|
11
|
-
minuteLabel: string;
|
|
12
|
-
secondLabel: string;
|
|
13
|
-
expiryLabelColor: NativeColorPicker;
|
|
14
|
-
}
|
|
15
|
-
interface Expiry {
|
|
16
|
-
content: RibbonComponentExpiredTimerSchema;
|
|
17
|
-
}
|
|
18
|
-
declare const RibbonComponentExpiredTimer: ({ content }: Expiry) => JSX.Element;
|
|
19
|
-
export default RibbonComponentExpiredTimer;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import "./RibbonComponentTimerStyles.css";
|
|
3
|
-
import { NativeColorPicker } from "./RibbonComponentTimer.types";
|
|
4
|
-
export interface TimerSchema {
|
|
5
|
-
startTime: string;
|
|
6
|
-
endTime: string;
|
|
7
|
-
colorChangeTime?: string;
|
|
8
|
-
expiryLabel: string;
|
|
9
|
-
timerColor?: string;
|
|
10
|
-
backgroundColor: string;
|
|
11
|
-
timerAlignment: string;
|
|
12
|
-
dayLabel: string;
|
|
13
|
-
hourLabel: string;
|
|
14
|
-
minuteLabel: string;
|
|
15
|
-
secondLabel: string;
|
|
16
|
-
mainHeading: string;
|
|
17
|
-
expiryLabelColor: NativeColorPicker;
|
|
18
|
-
enableCounter: boolean;
|
|
19
|
-
isDarkMode?: boolean;
|
|
20
|
-
}
|
|
21
|
-
interface Timer {
|
|
22
|
-
content: TimerSchema;
|
|
23
|
-
setTimerExpired?: any;
|
|
24
|
-
}
|
|
25
|
-
export interface timeleft {
|
|
26
|
-
days: string;
|
|
27
|
-
hours: string;
|
|
28
|
-
mins: string;
|
|
29
|
-
sec: string;
|
|
30
|
-
}
|
|
31
|
-
declare const RibbonComponentTimer: ({ content, setTimerExpired }: Timer) => JSX.Element;
|
|
32
|
-
export default RibbonComponentTimer;
|
package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonExpiredTimerRedefined.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { NativeColorPicker } from "./RibbonComponentTimer.types";
|
|
3
|
-
interface RibbonComponentExpiredTimerSchema {
|
|
4
|
-
timerColor: string;
|
|
5
|
-
backgroundColor: string;
|
|
6
|
-
expiryLabel: string;
|
|
7
|
-
timerAlignment: string;
|
|
8
|
-
dayLabel: string;
|
|
9
|
-
hourLabel: string;
|
|
10
|
-
minuteLabel: string;
|
|
11
|
-
secondLabel: string;
|
|
12
|
-
expiryLabelColor: NativeColorPicker;
|
|
13
|
-
}
|
|
14
|
-
interface Expiry {
|
|
15
|
-
content: RibbonComponentExpiredTimerSchema;
|
|
16
|
-
}
|
|
17
|
-
declare const RibbonExpiredTimerRedefined: ({ content }: Expiry) => JSX.Element;
|
|
18
|
-
export default RibbonExpiredTimerRedefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './RibbonComponent';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const getFalconButtonClass: (type: string) => string;
|
|
2
|
-
export declare const dateWithTimeZone: (timeZone: string, year: number, month: number, day: number, hour: number, minute: number, second: number) => Date;
|
|
3
|
-
export declare const calculateDateTime: (dateObj: Date) => Date;
|
|
4
|
-
export declare const viewport: () => string;
|
|
5
|
-
export declare const getSBAssetUrl: (wafIdentifier: any, image?: string) => string;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { FalconBackgroundColor, FalconGradientTypes } from '../../utils/data-source';
|
|
3
|
-
export interface SpacerSchema {
|
|
4
|
-
height: number;
|
|
5
|
-
mobHeight: number;
|
|
6
|
-
backgroundColor: FalconBackgroundColor;
|
|
7
|
-
gradientBackground: FalconGradientTypes;
|
|
8
|
-
desktopHeight: number;
|
|
9
|
-
}
|
|
10
|
-
declare const Spacer: FC<any>;
|
|
11
|
-
export default Spacer;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
import "./DoubleGridComponent.css";
|
|
3
|
-
import "./PromoBubble.css";
|
|
4
|
-
import "./PromoBubbleBottomRight.css";
|
|
5
|
-
import "./PromoBubbleBottomLeft.css";
|
|
6
|
-
import "./PromoBubbleTopLeft.css";
|
|
7
|
-
import "./PromoBubbleTopRight.css";
|
|
8
|
-
import "../../../styles/FalconColors.css";
|
|
9
|
-
declare const DoubleGridComponent: FC<any>;
|
|
10
|
-
export default DoubleGridComponent;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./StageTeaserComponent";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './TextComponent';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { default as RibbonComponent } from "./RibbonComponent";
|
|
2
|
-
export { default as StageTeaserComponent } from "./StageTeaserComponent";
|
|
3
|
-
export { default as ImageComponent } from './ImageComponent';
|
|
4
|
-
export { default as TextComponent } from './TextComponent';
|
|
5
|
-
export { default as ButtonGroup } from './ButtonGroup';
|
|
6
|
-
export { default as ImageWithText } from './ImageWithText';
|
|
7
|
-
export { default as ImageWithTextWrapper } from './ImageWithTextWrapper';
|
|
8
|
-
export { default as InternetAndTvCardsBenefits } from './InternetAndTvCardsBenefits';
|
package/dist/esm/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './components';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const trackNewDatalayerEvent: (event: string, eventName: string, eventInfo?: any) => void;
|