@sunrise-upc/sales-static-components 0.1.17 → 0.2.1
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/components/Constants.d.ts +126 -0
- package/dist/cjs/components/FalconButton/falconButton.d.ts +46 -0
- package/dist/cjs/components/FalconDescription/FalconDescription.d.ts +14 -0
- package/dist/cjs/components/FalconTitle/FalconTitle.d.ts +11 -0
- package/dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardItemBenefits.d.ts +19 -0
- package/dist/cjs/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.d.ts +27 -0
- package/dist/cjs/components/InternetAndTvCardsBenefits/index.d.ts +1 -0
- package/dist/cjs/components/ResponsiveRow/row.d.ts +6 -0
- package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.d.ts +1 -2
- package/dist/cjs/components/RichText/richText.d.ts +2 -7
- package/dist/cjs/components/Spacer/spacer.d.ts +11 -0
- package/dist/cjs/components/index.d.ts +1 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/utils/AnalyticsConstants.d.ts +229 -0
- package/dist/cjs/utils/StyleUtils.d.ts +6 -1
- package/dist/cjs/utils/data-source.d.ts +16 -0
- package/dist/cjs/utils/storyblok-types.d.ts +97 -0
- package/dist/esm/components/Constants.d.ts +126 -0
- package/dist/esm/components/FalconButton/falconButton.d.ts +46 -0
- package/dist/esm/components/FalconDescription/FalconDescription.d.ts +14 -0
- package/dist/esm/components/FalconTitle/FalconTitle.d.ts +11 -0
- package/dist/esm/components/InternetAndTvCardsBenefits/InternetAndTvCardItemBenefits.d.ts +19 -0
- package/dist/esm/components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.d.ts +27 -0
- package/dist/esm/components/InternetAndTvCardsBenefits/index.d.ts +1 -0
- package/dist/esm/components/ResponsiveRow/row.d.ts +6 -0
- package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.d.ts +1 -2
- package/dist/esm/components/RichText/richText.d.ts +2 -7
- package/dist/esm/components/Spacer/spacer.d.ts +11 -0
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/utils/AnalyticsConstants.d.ts +229 -0
- package/dist/esm/utils/StyleUtils.d.ts +6 -1
- package/dist/esm/utils/data-source.d.ts +16 -0
- package/dist/esm/utils/storyblok-types.d.ts +97 -0
- package/dist/index.d.ts +3 -1
- package/package.json +9 -3
|
@@ -1,7 +1,236 @@
|
|
|
1
1
|
export declare const GAEVENT = "gaEvent";
|
|
2
|
+
export declare const TARIFFEND = "findyourtariff_end";
|
|
3
|
+
export declare const TARIFFSTART = "findyourtariff_start";
|
|
2
4
|
export declare const TEXTIMAGECOMPONENT = "Text_Image_Component";
|
|
3
5
|
export declare const ARTICLEVIEW = "article_view_promotion";
|
|
4
6
|
export declare const ARTICLESELECT = "article_select_promotion";
|
|
5
7
|
export declare const ARTICLERIGHTSELECT = "article_pagination_right_click";
|
|
6
8
|
export declare const ARTICLELEFTSELECT = "article_pagination_left_click";
|
|
7
9
|
export declare const ARTICLEICONSELECT = "article_pagination_icon_click";
|
|
10
|
+
export declare const CLIENT = "Website";
|
|
11
|
+
export declare const LANG = "lang";
|
|
12
|
+
export declare const TYPE = "click";
|
|
13
|
+
export declare const VIEW = "view";
|
|
14
|
+
export declare const SEARCHTYPE = "dropDownClick/enter/leftClick";
|
|
15
|
+
export declare const LEVELUP = "LevelUp Navigation";
|
|
16
|
+
export declare const STEPOPTION = "StepOptionComponent";
|
|
17
|
+
export declare const INSTRUCTION = "InstructionComponent";
|
|
18
|
+
export declare const SINGLESTEP = "SingleStepComponent";
|
|
19
|
+
export declare const INSTRUCTIONPDF = "InstructionPDFComponent";
|
|
20
|
+
export declare const QUICKLINKCARD = "QuicklinkCardComponent";
|
|
21
|
+
export declare const QUICKLINK = "QuickLinks";
|
|
22
|
+
export declare const TROUBLESHOOT = "TroubleshootComponent";
|
|
23
|
+
export declare const DECISIONOPTION = "DecisionOptionComponent";
|
|
24
|
+
export declare const ANCHOR = "ANCHORComponent";
|
|
25
|
+
export declare const APPSTOREBUTTON = "AppstoreButtonComponent";
|
|
26
|
+
export declare const FAQ = "FaqComponent";
|
|
27
|
+
export declare const ERRORCODESEARCH = "ErrorcodeSearchComponent";
|
|
28
|
+
export declare const MAINNAVIGATION = "Mainnavigation";
|
|
29
|
+
export declare const SUBMAINNAVIGATION = "SubMainnavigation";
|
|
30
|
+
export declare const FOOTERNAVIGATION = "Footernavigation";
|
|
31
|
+
export declare const FOOTERSUBNAVIGATION = "FooterSubnavigation";
|
|
32
|
+
export declare const LOGIN = "Login";
|
|
33
|
+
export declare const PRODUCTQUICKLINK = "ProductQuickLink";
|
|
34
|
+
export declare const INTERNETDEVICESELECTION = "InternetDeviceQuickLinks";
|
|
35
|
+
export declare const NOICONQUICKLINKCARD = "NoIconQuickLinkCard";
|
|
36
|
+
export declare const QUICKLINKCARDICON = "QuickLinkCardIcon";
|
|
37
|
+
export declare const TITLEWITHSEARCH = "TitleWithSearch";
|
|
38
|
+
export declare const HELPINTERNALSEARCH = "HelpInternalSearchStart";
|
|
39
|
+
export declare const HULKBUTTON = "HulkButton";
|
|
40
|
+
export declare const BACK = "Browser Back or Forward";
|
|
41
|
+
export declare const ABANDONEDCART = "abandonedCart";
|
|
42
|
+
export declare const ABANDONEDKEY = "Abandon_Initiate";
|
|
43
|
+
export declare const DISPLAYNAME = "productDisplayName";
|
|
44
|
+
export declare const COPYRIGHT = "CopyRight";
|
|
45
|
+
export declare const BODY = "Body";
|
|
46
|
+
export declare const TOP = "Top";
|
|
47
|
+
export declare const CONTENT = "content";
|
|
48
|
+
export declare const LINK = "links";
|
|
49
|
+
export declare const NAVIGATION = "navigation";
|
|
50
|
+
export declare const TEXT = "text";
|
|
51
|
+
export declare const WIDGET = "widget";
|
|
52
|
+
export declare const OTHER = "others";
|
|
53
|
+
export declare const FOOTER = "footer";
|
|
54
|
+
export declare const BOTTOM = "Bottom";
|
|
55
|
+
export declare const SOCIALMEDIAICONS = "SocialMediaIcons";
|
|
56
|
+
export declare const STAGETEASER = "Stageteaser";
|
|
57
|
+
export declare const DECISION = "Decision";
|
|
58
|
+
export declare const BANNER = "Banner";
|
|
59
|
+
export declare const DOYOUHAVEEVERYTHING = "DoYouHaveEverything";
|
|
60
|
+
export declare const DOWNLOAD = "Download";
|
|
61
|
+
export declare const ERRORPAGEINTRODUCTION = "ErrorPageIntroduction";
|
|
62
|
+
export declare const INSTALLATION = "Installation";
|
|
63
|
+
export declare const MULTIOPTION = "MultiOption";
|
|
64
|
+
export declare const STEPSTEPBYINSTRUCTION = "StepStepByInstruction";
|
|
65
|
+
export declare const INSTRUCTIONIMAGE = "InstructionImage";
|
|
66
|
+
export declare const INSTRUCTINTRODUCTION = "InstructionIntroduction";
|
|
67
|
+
export declare const TROUBLESHOOTQUICKLINK = "TroubleShootQuickLink";
|
|
68
|
+
export declare const SECTION = "Section";
|
|
69
|
+
export declare const TROUBLESHOOTINTRODUCTION = "TroubleshootIntroduction";
|
|
70
|
+
export declare const USAGEINTRODUCTION = "UsageIntroduction";
|
|
71
|
+
export declare const USAGESECTION = "UsageSection";
|
|
72
|
+
export declare const USAGESTEP = "UsageStep";
|
|
73
|
+
export declare const USAGESTEPICONLIST = "UsageStepIconList";
|
|
74
|
+
export declare const TITLE = "TitleComponent";
|
|
75
|
+
export declare const TITLEWITHIMAGE = "TitleWithImage";
|
|
76
|
+
export declare const TROUBLESHOOTSTEPLIST = "TroubleShootStepList";
|
|
77
|
+
export declare const ACCORDION = "Accordion";
|
|
78
|
+
export declare const MOBILENAVIGATION = "MobileNavigation";
|
|
79
|
+
export declare const PROFILE = "My Sunrise";
|
|
80
|
+
export declare const LOGINSTART = "loginStart";
|
|
81
|
+
export declare const INFOBOXOPENCLOSE = "InfoBox Card open/close";
|
|
82
|
+
export declare const DOWNLOADLIST = "DownloadList";
|
|
83
|
+
export declare const ENTERTAINMENT = "EntertainmentTeaser";
|
|
84
|
+
export declare const FALCONACCORDION = "FalconAccordion";
|
|
85
|
+
export declare const HIGHLIGHTED = "HighlightedText";
|
|
86
|
+
export declare const ICONLIST = "IconList";
|
|
87
|
+
export declare const IFRAME = "IFrame";
|
|
88
|
+
export declare const IMAGEOVERLAYOPNCLS = "Image Overlay Close";
|
|
89
|
+
export declare const IMAGECOMPONENT = "ImageComponent";
|
|
90
|
+
export declare const IMAGEGALLERY = "ImageGallery";
|
|
91
|
+
export declare const INFOBOXCARD = "InfoboxCard";
|
|
92
|
+
export declare const PAGEHEROTEASER = "PageHeroTeaser";
|
|
93
|
+
export declare const PROMOTIONTEASER = "PromotionTeaser";
|
|
94
|
+
export declare const SALESARGV2 = "SalesArgumentCard";
|
|
95
|
+
export declare const TAB = "Tab";
|
|
96
|
+
export declare const TABCONT = "Tabs Container";
|
|
97
|
+
export declare const TXTANDCTA = "TextAndCTATeaser";
|
|
98
|
+
export declare const FALCONBTN = "FalconButton";
|
|
99
|
+
export declare const FALCONDESCR = "FalconDescription";
|
|
100
|
+
export declare const FALCONTITLE = "FlaconTitle";
|
|
101
|
+
export declare const SPACER = "Spacer";
|
|
102
|
+
export declare const TABLE = "Table";
|
|
103
|
+
export declare const TEXTCOMP = "TextComponent";
|
|
104
|
+
export declare const BREADCRUMB = "Breadcrumb";
|
|
105
|
+
export declare const FORMSUBMIT = "Form Submitted";
|
|
106
|
+
export declare const FORM = "Form";
|
|
107
|
+
export declare const CONTACTREQCALL = "ContactRequestCallback";
|
|
108
|
+
export declare const GENERICOPENCLOSE = "Close";
|
|
109
|
+
export declare const CLOSEMODAL = "Close Channel Modal";
|
|
110
|
+
export declare const CALLBACKSUCES = "CallbackSuccess";
|
|
111
|
+
export declare const CALLBACKCONFIRM = "Callback Confirmation";
|
|
112
|
+
export declare const CHANNELLIST = "ChannelList Component";
|
|
113
|
+
export declare const CHANNELCARD = "ChannelListCard";
|
|
114
|
+
export declare const GRID = "Grid View";
|
|
115
|
+
export declare const LIST = "List View";
|
|
116
|
+
export declare const BACKGROUND = "Background Component";
|
|
117
|
+
export declare const INTERNETTVCARD = "InternetTVCard";
|
|
118
|
+
export declare const TOOLTIP = "Tooltip";
|
|
119
|
+
export declare const POPUPTABLE = "PopupTable";
|
|
120
|
+
export declare const CONTACTOPEN = "Contact Open | Chat Enabled";
|
|
121
|
+
export declare const CONTACTFLYIN = "Contact Fly-In";
|
|
122
|
+
export declare const DEVICEGALLERY = "deviceGalleryList";
|
|
123
|
+
export declare const BLOGOVERVIEWARTICLE = "BlogOverviewArticle";
|
|
124
|
+
export declare const IMAGEWITHTEXTSLIDER = "ImageWithTextSlider";
|
|
125
|
+
export declare const VALIDATIONSTARTED = "swissskiValidationStarted";
|
|
126
|
+
export declare const VALIDATIONPERFORMED = "swissskiValidationPerformed";
|
|
127
|
+
export declare const VALIDATIONUNSUCCESSFUL = "Validation Unsuccessful";
|
|
128
|
+
export declare const WENTWRONG = "Something went wrong";
|
|
129
|
+
export declare const VALIDATIONVIEW = "swissskiValidationView";
|
|
130
|
+
export declare const VALIDATIONSUCCESSFUL = "Validation Successful";
|
|
131
|
+
export declare const SUCCESSTYPE = "success";
|
|
132
|
+
export declare const VALIDATIONMESSAGE = "Your validation was successful and we have an exclusive offer for you!";
|
|
133
|
+
export declare const CONGRATS = "Congratulation";
|
|
134
|
+
export declare const VALIDATIONSUCCESSPOPUP = "swissSkiValidationSuccessPopup";
|
|
135
|
+
export declare const VALIDATIONERRORPOPUP = "swissSkiValidationErrorPopup";
|
|
136
|
+
export declare const BACKTOVALIDATION = "Back to validation";
|
|
137
|
+
export declare const VALIDATIONGENERALPOPUP = "swissSkiValidationGeneralPopup";
|
|
138
|
+
export declare const OFFERFORMEMBER = "This offer is only available for swiss ski members...";
|
|
139
|
+
export declare const OFFERFORMEMBERTITLE = "This offer is only available for swiss ski members!";
|
|
140
|
+
export declare const GENERAL = "general";
|
|
141
|
+
export declare const HEROBANNER = "HeroBanner";
|
|
142
|
+
export declare const LOGINFORGOTPASSWORD = "Forgot password";
|
|
143
|
+
export declare const FORGOTPASSWORD = "Forgot Password";
|
|
144
|
+
export declare const LOGINTEMPORARYPASSWORD = "Temporary password";
|
|
145
|
+
export declare const TEMPORARYPASSWORD = "Temporary Password";
|
|
146
|
+
export declare const LOGINUSERVERIFIED = "userVerified";
|
|
147
|
+
export declare const SUCCESSFUL = "success";
|
|
148
|
+
export declare const LOGINUSERNOTVERIFIED = "userNotFound";
|
|
149
|
+
export declare const UNSUCCESSFUL = "unSuccess";
|
|
150
|
+
export declare const LOGINSUCCESSFUL = "loginSuccessful";
|
|
151
|
+
export declare const PASSWORDSUCCESSFUL = "success via password";
|
|
152
|
+
export declare const LOGINUNSUCCESSFUL = "loginUnSuccessful";
|
|
153
|
+
export declare const PASSWORDUNSUCCESSFUL = "unSuccess via password";
|
|
154
|
+
export declare const GETOTPSUCCESSSMS = "success via SMS";
|
|
155
|
+
export declare const GETOTPSUCCESSEMAIL = "success via EMail";
|
|
156
|
+
export declare const GETOTPUNSUCCESSSMS = "unSuccess via SMS";
|
|
157
|
+
export declare const GETOTPUNSUCCESSEMAIL = "unSuccess via EMail";
|
|
158
|
+
export declare const SENDONETIMEPASSWORD = "Send temporary password";
|
|
159
|
+
export declare const OTPVIASMS = "Temporary password via Sms";
|
|
160
|
+
export declare const OTPVIAEMAIL = "Temporary password via Email";
|
|
161
|
+
export declare const ONETIMEPASSWORD = "Temporary password";
|
|
162
|
+
export declare const RESENDCODE = "Resend Code";
|
|
163
|
+
export declare const LOGINBACK = "Back";
|
|
164
|
+
export declare const LOGINNEXT = "Next";
|
|
165
|
+
export declare const ERRORTEASER = "ErrorTeaser";
|
|
166
|
+
export declare const FIXNET = "fixnet";
|
|
167
|
+
export declare const APIFAILURE = "api failure";
|
|
168
|
+
export declare const OFFER = "offer";
|
|
169
|
+
export declare const PRODTABNAV = "Product Navigation Tab";
|
|
170
|
+
export declare const INTERNETPAGE = "Internet page";
|
|
171
|
+
export declare const LOGINPOPUP = "Login popup";
|
|
172
|
+
export declare const LOGINVALUE = "Close";
|
|
173
|
+
export declare const VIEWPROMOTION = "view_promotion";
|
|
174
|
+
export declare const CONFIGUREPRODUCTCLICK = "configure_product_click";
|
|
175
|
+
export declare const STORYBLOK = "Storyblok";
|
|
176
|
+
export declare const LOGGEDIN = "logged-in";
|
|
177
|
+
export declare const GUEST = "guest";
|
|
178
|
+
export declare const BRAND = "Sunrise";
|
|
179
|
+
export declare const CURRENCY = "CHF";
|
|
180
|
+
export declare const YES = "yes";
|
|
181
|
+
export declare const NO = "no";
|
|
182
|
+
export declare const SELECTPROMOTION = "select_promotion";
|
|
183
|
+
export declare const FAILED = "failed";
|
|
184
|
+
export declare const SUCCESSFULL = "successful";
|
|
185
|
+
export declare const SAVEOPTIONPOPUP = "save_option_popup";
|
|
186
|
+
export declare const MAINNAVCLICK = "mainnavigation_click";
|
|
187
|
+
export declare const SUBNAVCLICK = "subnavigation_click";
|
|
188
|
+
export declare const FOOTERNAVCLICK = "footernavigation_click";
|
|
189
|
+
export declare const SEARCH = "Search";
|
|
190
|
+
export declare const GENERATELEAD = "generate_lead";
|
|
191
|
+
export declare const ACCORDIONOPEN = "accordion_open";
|
|
192
|
+
export declare const CTABUTTONCLICK = "cta_button_click";
|
|
193
|
+
export declare const SELECTITEMCONFIGURATOR = "select_item_configurator";
|
|
194
|
+
export declare const TOGGLEONCONFIGURATOR = "toggle_on_configurator";
|
|
195
|
+
export declare const TOGGLEOFFCONFIGURATOR = "toggle_off_configurator";
|
|
196
|
+
export declare const INFOCARDCLICK = "info_card_click";
|
|
197
|
+
export declare const INFOBOXCLICK = "infobox_card_click";
|
|
198
|
+
export declare const VIEWOPTIONPOPUP = "view_option_popup";
|
|
199
|
+
export declare const INTERNETCARD = "internet_tv_card_click";
|
|
200
|
+
export declare const CONTACTFLYINOPEN = "contact_flyin_open";
|
|
201
|
+
export declare const CONTACTCARDCONTAINER = "ContactCard_container";
|
|
202
|
+
export declare const CONTACTCHATSTART = "contact_chat_start";
|
|
203
|
+
export declare const CONTACTAPPOINTMENTCLICK = "contact_appointment_click";
|
|
204
|
+
export declare const CONTACTHELPCENTERCLICK = "contact_helpcenter_click";
|
|
205
|
+
export declare const TEXTLINK = "Text_link";
|
|
206
|
+
export declare const SBLINECHECKSTART = "line_check_start";
|
|
207
|
+
export declare const SBLINECHECKRESULT = "line_check_results";
|
|
208
|
+
export declare const CONTACTSALESHOTLINECLICK = "contact_saleshotline_click";
|
|
209
|
+
export declare const CONTACTCARD = "ContactCard";
|
|
210
|
+
export declare const SOCIALCLICK = "social_follow_click";
|
|
211
|
+
export declare const DOWNLOADPRODUCT = "download_product_details";
|
|
212
|
+
export declare const BUNDLEPRODUCT = "BUNDLE";
|
|
213
|
+
export declare const HOMEORDER = "HOME_ORDER";
|
|
214
|
+
export declare const CART = "CreateCart";
|
|
215
|
+
export declare const TABCLICK = "tab_click";
|
|
216
|
+
export declare const MYSTERYVOUCHEROPEN = "mystery_voucher_open";
|
|
217
|
+
export declare const MYSTERYVOUCHERCLOSE = "mystery_voucher_close";
|
|
218
|
+
export declare const MYSTERYVOUCHERREVEAL = "mystery_voucher_reveal";
|
|
219
|
+
export declare const REVEALYOURDEAL = "Reveal your deal";
|
|
220
|
+
export declare const CTATEXTCLICK = "cta_text_click";
|
|
221
|
+
export declare const SECRETDEALPOPUPBUTTON = "secretdeal_popup_button";
|
|
222
|
+
export declare const VIEWSECRETDEALPOPUP = "view_secretdeal_popup";
|
|
223
|
+
export declare const SECRETDEALABONDANT = "secretdeal_popup_abondant";
|
|
224
|
+
export declare const DEALSUCCESSFUL = "successful";
|
|
225
|
+
export declare const SALESHOTLINECALLUS = "saleshotline_callus_button";
|
|
226
|
+
export declare const SALESHOTLINEREUESTCALLBACK = "saleshotline_requestacallback";
|
|
227
|
+
export declare const SALESHOTLINECLICK = "sales_hotline_click";
|
|
228
|
+
export declare const CASHBACKBONUS = "cashback_bonus";
|
|
229
|
+
export declare const SEARCHICONCLICK = "search_icon_click";
|
|
230
|
+
export declare const PROFILECLICK = "sunrise_profile_click";
|
|
231
|
+
export declare const LOGINCLICK = "sunrise_login_click";
|
|
232
|
+
export declare const PROFILELOGOUT = "profile_logout";
|
|
233
|
+
export declare const MYPROFILECLICK = "profile_mysunrise_click";
|
|
234
|
+
export declare const WINREQUESTCALLBACK = "win_requestacallback";
|
|
235
|
+
export declare const WINCALLBACKBUTTON = "win_callback_button";
|
|
236
|
+
export declare const WINCALLBACKPOPUP = "win_callback_popup";
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const getFalconButtonClass: (type: string) => string;
|
|
2
|
+
export declare const getQuoteBackgroundColorClass: (type: string) => string;
|
|
2
3
|
export declare const getFalconGradientClass: (type: string) => string;
|
|
4
|
+
export declare const getFalconBackgroundColorClass: (type: string) => string;
|
|
5
|
+
export declare const getFalconColorsClass: (type: string) => string;
|
|
6
|
+
export declare const checkLinkWithLang: (url: string) => string;
|
|
7
|
+
export declare const getFalconBackgroundColorClassNew: (type: string) => string;
|
|
@@ -1 +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';
|
|
1
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';
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
export interface Link {
|
|
2
|
+
id: number;
|
|
3
|
+
slug: string;
|
|
4
|
+
name: string;
|
|
5
|
+
is_folder: boolean;
|
|
6
|
+
parent_id: number;
|
|
7
|
+
published: boolean;
|
|
8
|
+
path?: string;
|
|
9
|
+
position: number;
|
|
10
|
+
uuid: string;
|
|
11
|
+
is_startpage: boolean;
|
|
12
|
+
real_path: string;
|
|
13
|
+
alternates: LinkAlternate[];
|
|
14
|
+
}
|
|
15
|
+
export interface LinkAlternate {
|
|
16
|
+
path: string;
|
|
17
|
+
name?: string;
|
|
18
|
+
lang: string;
|
|
19
|
+
}
|
|
20
|
+
export type Links = {
|
|
21
|
+
[key: string]: Link;
|
|
22
|
+
};
|
|
23
|
+
export interface Story {
|
|
24
|
+
name: string;
|
|
25
|
+
created_at: string;
|
|
26
|
+
published_at: string;
|
|
27
|
+
alternates: any[];
|
|
28
|
+
id: number;
|
|
29
|
+
uuid: string;
|
|
30
|
+
content: Content;
|
|
31
|
+
slug: string;
|
|
32
|
+
full_slug: string;
|
|
33
|
+
default_full_slug?: string;
|
|
34
|
+
sort_by_date: any;
|
|
35
|
+
position: number;
|
|
36
|
+
tag_list: any[];
|
|
37
|
+
is_startpage: boolean;
|
|
38
|
+
parent_id: number;
|
|
39
|
+
meta_data: any;
|
|
40
|
+
group_id: string;
|
|
41
|
+
first_published_at: string;
|
|
42
|
+
release_id?: string;
|
|
43
|
+
lang: string;
|
|
44
|
+
translated_slugs: LinkAlternate[];
|
|
45
|
+
links: Story[];
|
|
46
|
+
}
|
|
47
|
+
export interface Content {
|
|
48
|
+
_uid: string;
|
|
49
|
+
component: string;
|
|
50
|
+
_editable: string;
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
}
|
|
53
|
+
export interface Asset {
|
|
54
|
+
id: number;
|
|
55
|
+
alt?: string;
|
|
56
|
+
name: string;
|
|
57
|
+
focus?: string;
|
|
58
|
+
title?: string;
|
|
59
|
+
filename: string;
|
|
60
|
+
copyright?: string;
|
|
61
|
+
fieldtype: 'asset';
|
|
62
|
+
}
|
|
63
|
+
export interface MultiLink {
|
|
64
|
+
id: string;
|
|
65
|
+
url: string;
|
|
66
|
+
linktype: 'url' | 'story';
|
|
67
|
+
fieldtype: 'multilink';
|
|
68
|
+
cached_url: string;
|
|
69
|
+
}
|
|
70
|
+
export type LinkTarget = '_self' | '_blank' | null;
|
|
71
|
+
export type LinkType = 'url' | 'story' | 'asset' | 'email';
|
|
72
|
+
export declare interface LinkAttributes {
|
|
73
|
+
href: string;
|
|
74
|
+
uuid: string | null;
|
|
75
|
+
target: LinkTarget;
|
|
76
|
+
linktype: LinkType;
|
|
77
|
+
}
|
|
78
|
+
export interface MultiLinkUrl extends MultiLink {
|
|
79
|
+
linktype: 'url';
|
|
80
|
+
}
|
|
81
|
+
export interface MultiLinkStory extends MultiLink {
|
|
82
|
+
linktype: 'story';
|
|
83
|
+
story?: Story;
|
|
84
|
+
}
|
|
85
|
+
export interface NativeColorPicker {
|
|
86
|
+
color: string;
|
|
87
|
+
plugin: string;
|
|
88
|
+
_uid: string;
|
|
89
|
+
}
|
|
90
|
+
export interface BlokProps {
|
|
91
|
+
content: {
|
|
92
|
+
_uid: string;
|
|
93
|
+
component: string;
|
|
94
|
+
};
|
|
95
|
+
metadata?: any;
|
|
96
|
+
index?: any;
|
|
97
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -80,4 +80,6 @@ declare const ImageWithText: FC<any>;
|
|
|
80
80
|
|
|
81
81
|
declare const ImageWithTextWrapper: FC<any>;
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
declare const InternetAndTvCardsBenefits: FC<any>;
|
|
84
|
+
|
|
85
|
+
export { ButtonGroup, ImageComponent, ImageWithText, ImageWithTextWrapper, InternetAndTvCardsBenefits, RibbonComponent, StageTeaserComponent, TextComponent };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sunrise-upc/sales-static-components",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Static Reusable Components Library",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -52,7 +52,12 @@
|
|
|
52
52
|
"sass": "^1.57.1",
|
|
53
53
|
"semver": "^7.3.8",
|
|
54
54
|
"tslib": "^2.4.1",
|
|
55
|
-
"typescript": "^4.9.4"
|
|
55
|
+
"typescript": "^4.9.4",
|
|
56
|
+
"storyblok-react": "0.1.2",
|
|
57
|
+
"storyblok-js-client": "^4.1.3",
|
|
58
|
+
"react-bootstrap": "2.0.0-beta.4",
|
|
59
|
+
"@types/js-cookie": "^3.0.2",
|
|
60
|
+
"cookies-next": "^2.1.1"
|
|
56
61
|
},
|
|
57
62
|
"peerDependencies": {
|
|
58
63
|
"cookies-next": "^2.1.1",
|
|
@@ -61,6 +66,7 @@
|
|
|
61
66
|
"storyblok-rich-text-react-renderer-ts": "^3.1.3"
|
|
62
67
|
},
|
|
63
68
|
"dependencies": {
|
|
64
|
-
"react-multi-carousel": "^2.8.4"
|
|
69
|
+
"react-multi-carousel": "^2.8.4",
|
|
70
|
+
"js-cookie": "^3.0.1"
|
|
65
71
|
}
|
|
66
72
|
}
|