@thryveai/theme-interfaces 2.4.21 → 2.4.23-beta.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.
Files changed (44) hide show
  1. package/README.md +29 -29
  2. package/dist/index.d.ts +28 -27
  3. package/dist/index.js +33 -31
  4. package/dist/interfaces/admin-images-interfaces.d.ts +11 -11
  5. package/dist/interfaces/admin-images-interfaces.js +2 -2
  6. package/dist/interfaces/admin-settings-interfaces.d.ts +57 -57
  7. package/dist/interfaces/admin-settings-interfaces.js +2 -2
  8. package/dist/interfaces/default-settings.interfaces.d.ts +89 -89
  9. package/dist/interfaces/default-settings.interfaces.js +3 -3
  10. package/dist/interfaces/default-theme.interface.d.ts +695 -695
  11. package/dist/interfaces/default-theme.interface.js +2 -2
  12. package/dist/interfaces/icons.interfaces.d.ts +7 -7
  13. package/dist/interfaces/icons.interfaces.js +128 -126
  14. package/dist/interfaces/retailer-settings.interfaces.d.ts +543 -537
  15. package/dist/interfaces/retailer-settings.interfaces.js +2 -2
  16. package/dist/interfaces/sts-settings.interfaces.d.ts +6 -6
  17. package/dist/interfaces/sts-settings.interfaces.js +2 -2
  18. package/dist/interfaces/theme.interfaces.d.ts +695 -695
  19. package/dist/interfaces/theme.interfaces.js +2 -2
  20. package/dist/storefront/SFUIImagesTemplate.AdminUi.d.ts +2 -2
  21. package/dist/storefront/SFUIImagesTemplate.AdminUi.js +112 -112
  22. package/dist/storefront/SFUISettingsTemplate.AdminUi.d.ts +14 -14
  23. package/dist/storefront/SFUISettingsTemplate.AdminUi.js +1025 -1008
  24. package/dist/storefront/SFUIThemesTemplate.AdminUi.d.ts +3 -3
  25. package/dist/storefront/SFUIThemesTemplate.AdminUi.js +113 -113
  26. package/dist/storefront/contentEngineComponents.d.ts +23 -23
  27. package/dist/storefront/contentEngineComponents.js +25 -25
  28. package/dist/storefront/defaultIconsStorefront.d.ts +3 -0
  29. package/dist/storefront/defaultIconsStorefront.js +128 -0
  30. package/dist/storefront/defaultImagesStorefront.d.ts +3 -3
  31. package/dist/storefront/defaultImagesStorefront.js +96 -96
  32. package/dist/storefront/defaultSettingsStorefront.d.ts +3 -3
  33. package/dist/storefront/defaultSettingsStorefront.js +297 -292
  34. package/dist/storefront/defaultThemeStorefront.d.ts +5 -5
  35. package/dist/storefront/defaultThemeStorefront.js +1156 -1156
  36. package/dist/sts/STSImagesTemplate.AdminUi.d.ts +2 -2
  37. package/dist/sts/STSImagesTemplate.AdminUi.js +50 -50
  38. package/dist/sts/STSSettingsTemplate.AdminUi.d.ts +2 -2
  39. package/dist/sts/STSSettingsTemplate.AdminUi.js +30 -30
  40. package/dist/sts/defaultSettingsSts.d.ts +3 -3
  41. package/dist/sts/defaultSettingsSts.js +9 -9
  42. package/dist/theme-templates/index.d.ts +3 -3
  43. package/dist/theme-templates/index.js +8 -8
  44. package/package.json +29 -21
@@ -1,695 +1,695 @@
1
- import { IconNames } from "./icons.interfaces";
2
- export interface IDefaultTheme extends IInitializedEmptyDefaultTheme {
3
- theme: IDefaultThemeInterface;
4
- images: IDefaultThemeImages;
5
- }
6
- export declare type IDefaultThemeMetadata = IDefaultThemeMetadataItem[];
7
- export declare type IDefaultThemeFavicons = IDefaultThemeFavicon[];
8
- export declare type IDefaultThemeLogoPosition = "header" | "modal" | "content";
9
- export declare type IIconPosition = "left" | "right";
10
- export interface IDefaultThemeLogoHeightsProps {
11
- desktop: string;
12
- tablet: string;
13
- mobile: string;
14
- }
15
- export declare type IDefaultThemeLogoHeights = {
16
- [key in IDefaultThemeLogoPosition]: IDefaultThemeLogoHeightsProps;
17
- };
18
- export interface ISTSDefaultThemeInterface {
19
- headerHeight: string;
20
- }
21
- export interface IDefaultThemeFavicon {
22
- rel: string;
23
- sizes: string;
24
- href: string;
25
- }
26
- export interface IDefaultThemeMetadataItem {
27
- name: string;
28
- content: string;
29
- }
30
- export interface IDefaultThemeImages {
31
- favicon: string;
32
- stsFavicon: string;
33
- icons: string;
34
- logos: {
35
- primary: string;
36
- primaryMobile: string;
37
- secondary?: string;
38
- loyaltyCard?: string;
39
- sts: string;
40
- stsMobile: string;
41
- };
42
- stsCheckBox: {
43
- empty: string;
44
- primary: string;
45
- success: string;
46
- };
47
- confirmationPageImage: string;
48
- rewards?: string;
49
- missingImg: {
50
- recipes: string;
51
- x2: string;
52
- x3: string;
53
- square: string;
54
- };
55
- verifySiteImage: string;
56
- favicons: IDefaultThemeFavicons;
57
- }
58
- export interface IDefaultThemeInterface {
59
- colors: {
60
- brandColors: IBrandColors;
61
- uiColors: IUiColors;
62
- };
63
- header: {
64
- topMenu: INavStyles;
65
- mainMenu: INavStyles;
66
- bottomMenu: INavBottom;
67
- mobileMenu: INavStyles;
68
- accountPopover: {
69
- backgroundColor: string;
70
- borderColor: string;
71
- borderRadius: string;
72
- color: string;
73
- links: {
74
- color: {
75
- static: string;
76
- hover: string;
77
- visited: string;
78
- };
79
- };
80
- };
81
- storePopover: {
82
- backgroundColor: string;
83
- activeBackgroundColor: string;
84
- color: string;
85
- activeColor: string;
86
- borderColor: string;
87
- borderRadius: string;
88
- reserveTimeIconPosition: ITextPosition;
89
- };
90
- search: {
91
- borderColor: string;
92
- borderRadius: string;
93
- clearBtnColor: string;
94
- searchButton: {
95
- desktop: {
96
- static: {
97
- color: string;
98
- backgroundColor: string;
99
- };
100
- hover: {
101
- color: string;
102
- backgroundColor: string;
103
- };
104
- clicked: {
105
- color: string;
106
- backgroundColor: string;
107
- };
108
- };
109
- tablet: {
110
- static: {
111
- color: string;
112
- };
113
- clicked: {
114
- color: string;
115
- };
116
- };
117
- mobile: {
118
- static: {
119
- color: string;
120
- };
121
- };
122
- };
123
- suggestions: {
124
- links: {
125
- color: {
126
- static: string;
127
- hover: string;
128
- visited: string;
129
- };
130
- };
131
- };
132
- multisearchBtn: {
133
- static: {
134
- color: string;
135
- backgroundColor: string;
136
- };
137
- hover: {
138
- color: string;
139
- backgroundColor: string;
140
- };
141
- };
142
- };
143
- headerActionLinks: IHeaderActionLinksProps;
144
- headerLinks: IHeaderLinksProps;
145
- departments: IHeaderDepartments;
146
- badge: {
147
- cart: {
148
- color: string;
149
- bgColor: string;
150
- };
151
- };
152
- notifications: {
153
- counter: {
154
- backgroundColor: string;
155
- };
156
- text: {
157
- color: string;
158
- hoverColor: string;
159
- };
160
- seeAllNotifications: {
161
- color: string;
162
- };
163
- };
164
- };
165
- body: {
166
- fontSize: string;
167
- color: string;
168
- backgroundColor: string;
169
- };
170
- footer: {
171
- mainFooter: INavStyles;
172
- bottomFooter: INavStyles;
173
- bottomFooterNavHeaderLink: INavStyles;
174
- mediaIcons: {
175
- color: string;
176
- };
177
- };
178
- minimalHeader: {
179
- desktop: IMinimalHeaderProps;
180
- mobile: IMinimalHeaderProps;
181
- };
182
- subHeaderBoxes: {
183
- backgroundColor: string;
184
- color: string;
185
- contentBorder: string;
186
- };
187
- breadcrumb: {
188
- textTransform: ITextTransform;
189
- backgroundColor: string;
190
- color: string;
191
- activeColor: string;
192
- backIconColor: string;
193
- };
194
- breadcrumbTitle: {
195
- textTransform: ITextTransform;
196
- backgroundColor: string;
197
- color: string;
198
- activeColor: string;
199
- backIconColor: string;
200
- };
201
- payment: {
202
- selectedCardBackground: string;
203
- selectedCardColor: string;
204
- summary: {
205
- listItemBackground: string;
206
- };
207
- checkoutCards: ICheckoutCards;
208
- };
209
- productPage: {
210
- detailsBackgroundColor: string;
211
- badges: IProductBadges;
212
- priceReductionColor: string;
213
- previouslyPurchased: {
214
- color: string;
215
- bgColor: string;
216
- };
217
- };
218
- accountPage: {
219
- passwordRequirements: {
220
- backgroundColor: string;
221
- };
222
- };
223
- orderConfirmation: {
224
- iconColor: string;
225
- backgroundColor: string;
226
- };
227
- favorites: {
228
- headerIconStyle: IconNames;
229
- productColors: {
230
- static: ICommonColors;
231
- active: ICommonColors;
232
- };
233
- };
234
- loyaltyCard: {
235
- backgroundColor: string;
236
- borderColor: string;
237
- borderRadius: string;
238
- cardTextColor: string;
239
- dimensions: ILoyaltyCardDimensions;
240
- input: ILoyaltyCardInput;
241
- infoList: ILoyaltyCardInfoList;
242
- };
243
- promoBadges: {
244
- backgroundColor: {
245
- promotion: string;
246
- pointsBasedPromo: string;
247
- };
248
- fontWeight: IFontWeights;
249
- color: {
250
- promotion: string;
251
- pointsBasedPromo: string;
252
- };
253
- };
254
- typography: {
255
- webFonts: string[];
256
- embeddedFonts: IDefaultEmbeddedFont[];
257
- weights: {
258
- normal: IFontWeights;
259
- bold: IFontWeights;
260
- };
261
- text: {
262
- body: ITextType;
263
- fontXS: ITextType;
264
- fontSM: ITextType;
265
- fontMD: ITextType;
266
- fontLG: ITextType;
267
- fontXL: ITextType;
268
- };
269
- links: {
270
- static: ILinkType;
271
- hover: ILinkType;
272
- clicked: ILinkType;
273
- visited: ILinkType;
274
- };
275
- };
276
- buttonLinks: {
277
- color: string;
278
- };
279
- buttons: {
280
- globalThemeBorderRadius: string;
281
- globalThemeFontWeight: IFontWeights;
282
- globalThemeFontFamily: string;
283
- primary: IButtonType;
284
- primaryLight: IButtonType;
285
- secondary: IButtonType;
286
- secondaryLight: IButtonType;
287
- tertiary: IButtonType;
288
- iconPosition: IIconPosition;
289
- checkout: {
290
- borderRadius: string;
291
- fontWeight: IFontWeights;
292
- iconColor: string;
293
- textTransform: ITextTransform;
294
- static: ICheckoutButtonColorType;
295
- hover: ICheckoutButtonColorType;
296
- clicked: ICheckoutButtonColorType;
297
- disabled: ICheckoutButtonColorType;
298
- };
299
- filterSort: IFilterSort;
300
- quantityStepper: {
301
- borderColor: string;
302
- borderRadius: string;
303
- textTransform: ITextTransform;
304
- numericInput: {
305
- fontWeight: IFontWeights;
306
- fontSize: string;
307
- lineHeight: string;
308
- letterSpacing: string;
309
- static: {
310
- bgColor: string;
311
- color: string;
312
- };
313
- focused: {
314
- bgColor: string;
315
- color: string;
316
- };
317
- };
318
- plusMinusButtons: {
319
- plusMinusIconBgColor: string;
320
- plusMinusIconColor: string;
321
- };
322
- };
323
- coupon: {
324
- borderRadius: string;
325
- borderStyle: "dashed" | "solid";
326
- fontWeight: IFontWeights;
327
- static: IQSButtonColorType;
328
- hover: IQSButtonColorType;
329
- clicked: IQSButtonColorType;
330
- clipped: ICouponClippedBtnColorType;
331
- };
332
- miniCart: {
333
- minicartContentPadding: number;
334
- textTransform: ITextTransform;
335
- backgroundColor: string;
336
- borderRadius: string;
337
- activeBackgroundColor: string;
338
- hoverBackgroundColor: string;
339
- tabletSettings: IMiniCartTabletSettings;
340
- color: string;
341
- activeColor: string;
342
- mobileColor: string;
343
- iconColor: string;
344
- activeIconColor: string;
345
- mobileIconColor: string;
346
- tabletIconColor: string;
347
- desktopIconSize: string;
348
- mobileIconSize: string;
349
- };
350
- addToCart: {
351
- borderRadius: string;
352
- fontWeight: IFontWeights;
353
- textTransform: ITextTransform;
354
- static: IAddToCartButton;
355
- hover: IAddToCartButton;
356
- clicked: IAddToCartButton;
357
- disabled: IAddToCartButton;
358
- };
359
- pills: {
360
- borderRadius: string;
361
- textTransform: ITextTransform;
362
- active: IPillButtons;
363
- small: IPillButtons;
364
- regular: IPillButtons;
365
- };
366
- facets: {
367
- borderRadius: string;
368
- textTransform: ITextTransform;
369
- fontWeight: IFontWeights;
370
- active: IFacets;
371
- small: IFacets;
372
- regular: IFacets;
373
- };
374
- sliderArrows: {
375
- backgroundColor: string;
376
- sideBorderColor: string;
377
- iconColor: string;
378
- };
379
- activeAddress: {
380
- backgroundColor: string;
381
- borderColor: string;
382
- };
383
- timeSlotPaginationDay: {
384
- selected: {
385
- backgroundColor: string;
386
- };
387
- };
388
- paginationNumber: {
389
- static: {
390
- color: string;
391
- backgroundColor: string;
392
- };
393
- hover: {
394
- color: string;
395
- backgroundColor: string;
396
- };
397
- disabled: {
398
- color: string;
399
- backgroundColor: string;
400
- };
401
- visited: {
402
- color: string;
403
- backgroundColor: string;
404
- };
405
- };
406
- };
407
- carousel: {
408
- bannerBackgroundColor: string;
409
- carouselPagination: {
410
- dotBackground: string;
411
- activeDotBackground: string;
412
- wrapperBackground: string;
413
- wrapperHeight: string;
414
- };
415
- carouselArrows: {
416
- borderRadius: string;
417
- backgroundColor: string;
418
- activeBackgroundColor: string;
419
- iconColor: string;
420
- buttonDimension: number;
421
- };
422
- };
423
- modal: {
424
- header: {
425
- mobileBackgroundColor: string;
426
- };
427
- storeIcon: {
428
- bgColor: string;
429
- borderColor: string;
430
- color: string;
431
- hoverBGColor: string;
432
- hoverBorderColor: string;
433
- iconColor: string;
434
- };
435
- };
436
- selectedOption: {
437
- bgColor: string;
438
- };
439
- input: {
440
- borderRadius: string;
441
- static: IInputFields;
442
- hover: IInputFields;
443
- focus: IInputFields;
444
- disabled: IInputFields;
445
- };
446
- productGrid: {
447
- borderColor: string;
448
- };
449
- checkoutStepColors?: {
450
- active?: string;
451
- default?: string;
452
- disabled?: string;
453
- };
454
- logoHeight: IDefaultThemeLogoHeights;
455
- stsThemeStyles?: ISTSDefaultThemeInterface;
456
- stsLogoWidth?: string;
457
- globalAnimations: IDefaultThemeGlobalAnimations;
458
- metadata: IDefaultThemeMetadata;
459
- scripts: IDefaultThemeScripts;
460
- }
461
- export interface IDefaultThemeScripts {
462
- [key: string]: string;
463
- }
464
- interface IMiniCartTabletSettings {
465
- enabled: boolean;
466
- iconColor: string;
467
- textColor: string;
468
- backgroundColor: string;
469
- iconColorHover: string;
470
- textColorHover: string;
471
- backgroundColorHover: string;
472
- showText: boolean;
473
- }
474
- interface IInputFields {
475
- bgColor: string;
476
- borderColor: string;
477
- color: string;
478
- placeholderColor: string;
479
- }
480
- interface ICouponClippedBtnColorType extends IQSButtonColorType {
481
- clippedIconColor: string;
482
- }
483
- interface IButtonType {
484
- borderRadius: string;
485
- clicked: IButtonColorType;
486
- disabled: IButtonColorType;
487
- fontWeight: IFontWeights;
488
- hover: IButtonColorType;
489
- static: IButtonColorType;
490
- textTransform: ITextTransform;
491
- }
492
- declare type ITextTransform = "none" | "capitalize" | "uppercase" | "lowercase" | "initial" | "inherit";
493
- declare type ITextPosition = "left" | "center" | "right";
494
- interface IFilterSort extends ICommonColors {
495
- borderRadius: string;
496
- }
497
- interface ICommonColors {
498
- color: string;
499
- hoverColor: string;
500
- }
501
- interface IQSButtonColorType {
502
- bgColor: string;
503
- borderColor: string;
504
- color: string;
505
- couponIconColor: string;
506
- }
507
- interface ICheckoutButtonColorType {
508
- bgColor: string;
509
- borderColor: string;
510
- color: string;
511
- }
512
- interface IButtonColorType {
513
- bgColor: string;
514
- borderColor: string;
515
- color: string;
516
- iconColor: string;
517
- }
518
- interface ITextType {
519
- color?: string;
520
- fontFamily: string;
521
- fontSize: string;
522
- fontWeight: IFontWeights;
523
- capitalization: ITextTransform;
524
- lineHeight: string;
525
- letterSpacing: string;
526
- }
527
- interface ILinkType {
528
- color: string;
529
- textDecoration: "none" | "underline";
530
- }
531
- export interface IGlobalDefaultTheme {
532
- BorderRadius: string;
533
- FontFamily: string;
534
- FontWeight: IFontWeights;
535
- FontWeightBold: IFontWeights;
536
- HeadlineFontFamily: string;
537
- HeadlineFontWeight: IFontWeights;
538
- baseFontSize: string;
539
- bodyFontColor: string;
540
- bodyBackgroundColor: string;
541
- }
542
- export declare type IDefaultColors = IBrandColors & IUiColors;
543
- export interface IBrandColors {
544
- primary1: string;
545
- primary2: string;
546
- primary3: string;
547
- primary4: string;
548
- primary5: string;
549
- secondary1: string;
550
- secondary2: string;
551
- secondary3: string;
552
- secondary4: string;
553
- secondary5: string;
554
- tertiary1: string;
555
- tertiary2: string;
556
- tertiary3: string;
557
- tertiary4: string;
558
- tertiary5: string;
559
- }
560
- export interface IUiColors {
561
- success: string;
562
- successDark: string;
563
- successLight: string;
564
- warn: string;
565
- warnDark: string;
566
- warnLight: string;
567
- alert: string;
568
- alertDark: string;
569
- alertLight: string;
570
- promotion1: string;
571
- promotion2: string;
572
- greyscale1: string;
573
- greyscale2: string;
574
- greyscale3: string;
575
- greyscale4: string;
576
- greyscale5: string;
577
- greyscale6: string;
578
- greyscale7: string;
579
- }
580
- export interface IInitializedEmptyDefaultTheme {
581
- exports?: any;
582
- }
583
- declare type IFontWeights = "normal" | "bold" | "bolder" | "lighter" | number | "initial" | "inherit";
584
- interface INavBottom extends INavStyles {
585
- hoverColor: string;
586
- textTransform: ITextTransform;
587
- fontWeight: IFontWeights;
588
- }
589
- interface INavStyles {
590
- color: string;
591
- hoverColor: string;
592
- backgroundColor: string;
593
- links: {
594
- static: ILinkType;
595
- hover: ILinkType;
596
- clicked: ILinkType;
597
- visited: ILinkType;
598
- };
599
- }
600
- interface INavActiveColors {
601
- activeColor: string;
602
- activeBackgroundColor: string;
603
- }
604
- interface IHeaderLinksProps extends INavStyles, INavActiveColors {
605
- fontWeight: IFontWeights;
606
- borderRadius: string;
607
- }
608
- interface IHeaderActionLinksProps extends IHeaderLinksProps {
609
- fontFamily: string;
610
- }
611
- interface IHeaderDepartments {
612
- wrapCategoryTitle: boolean;
613
- backgroundColor: {
614
- active: string;
615
- static: string;
616
- };
617
- color: {
618
- static: string;
619
- hover: string;
620
- };
621
- iconColor: {
622
- static: string;
623
- hover: string;
624
- };
625
- }
626
- interface IMinimalHeaderProps extends INavStyles {
627
- iconColor: string;
628
- }
629
- interface IAddToCartButton {
630
- bgColor: string;
631
- borderColor: string;
632
- color: string;
633
- iconColor: string;
634
- }
635
- interface IFacets extends IPillButtons {
636
- iconColor: string;
637
- }
638
- interface IPillButtons {
639
- fontWeight: IFontWeights;
640
- fontWeightHover: IFontWeights;
641
- color: string;
642
- colorHover: string;
643
- colorVisited: string;
644
- backgroundColor: string;
645
- borderColor: string;
646
- borderColorSelected: string;
647
- textDecoration: "none" | "underline";
648
- textDecorationHover: "none" | "underline";
649
- padding: string;
650
- }
651
- interface IProductBadges {
652
- borderRadius: string;
653
- }
654
- interface ICheckoutCards {
655
- borderRadius: string;
656
- }
657
- interface ILoyaltyCardDimensions {
658
- width: number;
659
- height: number;
660
- }
661
- interface ILoyaltyCardIdFields {
662
- staticBorder: string;
663
- hoverBorder: string;
664
- activeBorder: string;
665
- errorBorder: string;
666
- }
667
- interface ILoyaltyCardInput {
668
- borderRadius: string;
669
- backgroundColor: string;
670
- borderColor: string;
671
- idFields: ILoyaltyCardIdFields;
672
- }
673
- interface ILoyaltyCardInfoList {
674
- color: string;
675
- borderColor: string;
676
- }
677
- export declare type IDefaultThemeAnimationsConfettiPlacesTypes = "successModals";
678
- export interface IDefaultThemeGlobalAnimations {
679
- confettiAnimation: IDefaultThemeAnimationConfettiPlaces;
680
- }
681
- export declare type IDefaultThemeAnimationConfettiPlaces = {
682
- [key in IDefaultThemeAnimationsConfettiPlacesTypes]: IDefaultThemeAnimationsConfettiProps;
683
- };
684
- export interface IDefaultThemeAnimationsConfettiProps {
685
- colors: string[];
686
- }
687
- export interface IDefaultEmbeddedFont {
688
- fontFamily: string;
689
- sourceSet: IDefaultEmbeddedFontSource[];
690
- }
691
- export interface IDefaultEmbeddedFontSource {
692
- url: string;
693
- format: string;
694
- }
695
- export {};
1
+ import { IconNames } from "./icons.interfaces";
2
+ export interface IDefaultTheme extends IInitializedEmptyDefaultTheme {
3
+ theme: IDefaultThemeInterface;
4
+ images: IDefaultThemeImages;
5
+ }
6
+ export declare type IDefaultThemeMetadata = IDefaultThemeMetadataItem[];
7
+ export declare type IDefaultThemeFavicons = IDefaultThemeFavicon[];
8
+ export declare type IDefaultThemeLogoPosition = "header" | "modal" | "content";
9
+ export declare type IIconPosition = "left" | "right";
10
+ export interface IDefaultThemeLogoHeightsProps {
11
+ desktop: string;
12
+ tablet: string;
13
+ mobile: string;
14
+ }
15
+ export declare type IDefaultThemeLogoHeights = {
16
+ [key in IDefaultThemeLogoPosition]: IDefaultThemeLogoHeightsProps;
17
+ };
18
+ export interface ISTSDefaultThemeInterface {
19
+ headerHeight: string;
20
+ }
21
+ export interface IDefaultThemeFavicon {
22
+ rel: string;
23
+ sizes: string;
24
+ href: string;
25
+ }
26
+ export interface IDefaultThemeMetadataItem {
27
+ name: string;
28
+ content: string;
29
+ }
30
+ export interface IDefaultThemeImages {
31
+ favicon: string;
32
+ stsFavicon: string;
33
+ icons: string;
34
+ logos: {
35
+ primary: string;
36
+ primaryMobile: string;
37
+ secondary?: string;
38
+ loyaltyCard?: string;
39
+ sts: string;
40
+ stsMobile: string;
41
+ };
42
+ stsCheckBox: {
43
+ empty: string;
44
+ primary: string;
45
+ success: string;
46
+ };
47
+ confirmationPageImage: string;
48
+ rewards?: string;
49
+ missingImg: {
50
+ recipes: string;
51
+ x2: string;
52
+ x3: string;
53
+ square: string;
54
+ };
55
+ verifySiteImage: string;
56
+ favicons: IDefaultThemeFavicons;
57
+ }
58
+ export interface IDefaultThemeInterface {
59
+ colors: {
60
+ brandColors: IBrandColors;
61
+ uiColors: IUiColors;
62
+ };
63
+ header: {
64
+ topMenu: INavStyles;
65
+ mainMenu: INavStyles;
66
+ bottomMenu: INavBottom;
67
+ mobileMenu: INavStyles;
68
+ accountPopover: {
69
+ backgroundColor: string;
70
+ borderColor: string;
71
+ borderRadius: string;
72
+ color: string;
73
+ links: {
74
+ color: {
75
+ static: string;
76
+ hover: string;
77
+ visited: string;
78
+ };
79
+ };
80
+ };
81
+ storePopover: {
82
+ backgroundColor: string;
83
+ activeBackgroundColor: string;
84
+ color: string;
85
+ activeColor: string;
86
+ borderColor: string;
87
+ borderRadius: string;
88
+ reserveTimeIconPosition: ITextPosition;
89
+ };
90
+ search: {
91
+ borderColor: string;
92
+ borderRadius: string;
93
+ clearBtnColor: string;
94
+ searchButton: {
95
+ desktop: {
96
+ static: {
97
+ color: string;
98
+ backgroundColor: string;
99
+ };
100
+ hover: {
101
+ color: string;
102
+ backgroundColor: string;
103
+ };
104
+ clicked: {
105
+ color: string;
106
+ backgroundColor: string;
107
+ };
108
+ };
109
+ tablet: {
110
+ static: {
111
+ color: string;
112
+ };
113
+ clicked: {
114
+ color: string;
115
+ };
116
+ };
117
+ mobile: {
118
+ static: {
119
+ color: string;
120
+ };
121
+ };
122
+ };
123
+ suggestions: {
124
+ links: {
125
+ color: {
126
+ static: string;
127
+ hover: string;
128
+ visited: string;
129
+ };
130
+ };
131
+ };
132
+ multisearchBtn: {
133
+ static: {
134
+ color: string;
135
+ backgroundColor: string;
136
+ };
137
+ hover: {
138
+ color: string;
139
+ backgroundColor: string;
140
+ };
141
+ };
142
+ };
143
+ headerActionLinks: IHeaderActionLinksProps;
144
+ headerLinks: IHeaderLinksProps;
145
+ departments: IHeaderDepartments;
146
+ badge: {
147
+ cart: {
148
+ color: string;
149
+ bgColor: string;
150
+ };
151
+ };
152
+ notifications: {
153
+ counter: {
154
+ backgroundColor: string;
155
+ };
156
+ text: {
157
+ color: string;
158
+ hoverColor: string;
159
+ };
160
+ seeAllNotifications: {
161
+ color: string;
162
+ };
163
+ };
164
+ };
165
+ body: {
166
+ fontSize: string;
167
+ color: string;
168
+ backgroundColor: string;
169
+ };
170
+ footer: {
171
+ mainFooter: INavStyles;
172
+ bottomFooter: INavStyles;
173
+ bottomFooterNavHeaderLink: INavStyles;
174
+ mediaIcons: {
175
+ color: string;
176
+ };
177
+ };
178
+ minimalHeader: {
179
+ desktop: IMinimalHeaderProps;
180
+ mobile: IMinimalHeaderProps;
181
+ };
182
+ subHeaderBoxes: {
183
+ backgroundColor: string;
184
+ color: string;
185
+ contentBorder: string;
186
+ };
187
+ breadcrumb: {
188
+ textTransform: ITextTransform;
189
+ backgroundColor: string;
190
+ color: string;
191
+ activeColor: string;
192
+ backIconColor: string;
193
+ };
194
+ breadcrumbTitle: {
195
+ textTransform: ITextTransform;
196
+ backgroundColor: string;
197
+ color: string;
198
+ activeColor: string;
199
+ backIconColor: string;
200
+ };
201
+ payment: {
202
+ selectedCardBackground: string;
203
+ selectedCardColor: string;
204
+ summary: {
205
+ listItemBackground: string;
206
+ };
207
+ checkoutCards: ICheckoutCards;
208
+ };
209
+ productPage: {
210
+ detailsBackgroundColor: string;
211
+ badges: IProductBadges;
212
+ priceReductionColor: string;
213
+ previouslyPurchased: {
214
+ color: string;
215
+ bgColor: string;
216
+ };
217
+ };
218
+ accountPage: {
219
+ passwordRequirements: {
220
+ backgroundColor: string;
221
+ };
222
+ };
223
+ orderConfirmation: {
224
+ iconColor: string;
225
+ backgroundColor: string;
226
+ };
227
+ favorites: {
228
+ headerIconStyle: IconNames;
229
+ productColors: {
230
+ static: ICommonColors;
231
+ active: ICommonColors;
232
+ };
233
+ };
234
+ loyaltyCard: {
235
+ backgroundColor: string;
236
+ borderColor: string;
237
+ borderRadius: string;
238
+ cardTextColor: string;
239
+ dimensions: ILoyaltyCardDimensions;
240
+ input: ILoyaltyCardInput;
241
+ infoList: ILoyaltyCardInfoList;
242
+ };
243
+ promoBadges: {
244
+ backgroundColor: {
245
+ promotion: string;
246
+ pointsBasedPromo: string;
247
+ };
248
+ fontWeight: IFontWeights;
249
+ color: {
250
+ promotion: string;
251
+ pointsBasedPromo: string;
252
+ };
253
+ };
254
+ typography: {
255
+ webFonts: string[];
256
+ embeddedFonts: IDefaultEmbeddedFont[];
257
+ weights: {
258
+ normal: IFontWeights;
259
+ bold: IFontWeights;
260
+ };
261
+ text: {
262
+ body: ITextType;
263
+ fontXS: ITextType;
264
+ fontSM: ITextType;
265
+ fontMD: ITextType;
266
+ fontLG: ITextType;
267
+ fontXL: ITextType;
268
+ };
269
+ links: {
270
+ static: ILinkType;
271
+ hover: ILinkType;
272
+ clicked: ILinkType;
273
+ visited: ILinkType;
274
+ };
275
+ };
276
+ buttonLinks: {
277
+ color: string;
278
+ };
279
+ buttons: {
280
+ globalThemeBorderRadius: string;
281
+ globalThemeFontWeight: IFontWeights;
282
+ globalThemeFontFamily: string;
283
+ primary: IButtonType;
284
+ primaryLight: IButtonType;
285
+ secondary: IButtonType;
286
+ secondaryLight: IButtonType;
287
+ tertiary: IButtonType;
288
+ iconPosition: IIconPosition;
289
+ checkout: {
290
+ borderRadius: string;
291
+ fontWeight: IFontWeights;
292
+ iconColor: string;
293
+ textTransform: ITextTransform;
294
+ static: ICheckoutButtonColorType;
295
+ hover: ICheckoutButtonColorType;
296
+ clicked: ICheckoutButtonColorType;
297
+ disabled: ICheckoutButtonColorType;
298
+ };
299
+ filterSort: IFilterSort;
300
+ quantityStepper: {
301
+ borderColor: string;
302
+ borderRadius: string;
303
+ textTransform: ITextTransform;
304
+ numericInput: {
305
+ fontWeight: IFontWeights;
306
+ fontSize: string;
307
+ lineHeight: string;
308
+ letterSpacing: string;
309
+ static: {
310
+ bgColor: string;
311
+ color: string;
312
+ };
313
+ focused: {
314
+ bgColor: string;
315
+ color: string;
316
+ };
317
+ };
318
+ plusMinusButtons: {
319
+ plusMinusIconBgColor: string;
320
+ plusMinusIconColor: string;
321
+ };
322
+ };
323
+ coupon: {
324
+ borderRadius: string;
325
+ borderStyle: "dashed" | "solid";
326
+ fontWeight: IFontWeights;
327
+ static: IQSButtonColorType;
328
+ hover: IQSButtonColorType;
329
+ clicked: IQSButtonColorType;
330
+ clipped: ICouponClippedBtnColorType;
331
+ };
332
+ miniCart: {
333
+ minicartContentPadding: number;
334
+ textTransform: ITextTransform;
335
+ backgroundColor: string;
336
+ borderRadius: string;
337
+ activeBackgroundColor: string;
338
+ hoverBackgroundColor: string;
339
+ tabletSettings: IMiniCartTabletSettings;
340
+ color: string;
341
+ activeColor: string;
342
+ mobileColor: string;
343
+ iconColor: string;
344
+ activeIconColor: string;
345
+ mobileIconColor: string;
346
+ tabletIconColor: string;
347
+ desktopIconSize: string;
348
+ mobileIconSize: string;
349
+ };
350
+ addToCart: {
351
+ borderRadius: string;
352
+ fontWeight: IFontWeights;
353
+ textTransform: ITextTransform;
354
+ static: IAddToCartButton;
355
+ hover: IAddToCartButton;
356
+ clicked: IAddToCartButton;
357
+ disabled: IAddToCartButton;
358
+ };
359
+ pills: {
360
+ borderRadius: string;
361
+ textTransform: ITextTransform;
362
+ active: IPillButtons;
363
+ small: IPillButtons;
364
+ regular: IPillButtons;
365
+ };
366
+ facets: {
367
+ borderRadius: string;
368
+ textTransform: ITextTransform;
369
+ fontWeight: IFontWeights;
370
+ active: IFacets;
371
+ small: IFacets;
372
+ regular: IFacets;
373
+ };
374
+ sliderArrows: {
375
+ backgroundColor: string;
376
+ sideBorderColor: string;
377
+ iconColor: string;
378
+ };
379
+ activeAddress: {
380
+ backgroundColor: string;
381
+ borderColor: string;
382
+ };
383
+ timeSlotPaginationDay: {
384
+ selected: {
385
+ backgroundColor: string;
386
+ };
387
+ };
388
+ paginationNumber: {
389
+ static: {
390
+ color: string;
391
+ backgroundColor: string;
392
+ };
393
+ hover: {
394
+ color: string;
395
+ backgroundColor: string;
396
+ };
397
+ disabled: {
398
+ color: string;
399
+ backgroundColor: string;
400
+ };
401
+ visited: {
402
+ color: string;
403
+ backgroundColor: string;
404
+ };
405
+ };
406
+ };
407
+ carousel: {
408
+ bannerBackgroundColor: string;
409
+ carouselPagination: {
410
+ dotBackground: string;
411
+ activeDotBackground: string;
412
+ wrapperBackground: string;
413
+ wrapperHeight: string;
414
+ };
415
+ carouselArrows: {
416
+ borderRadius: string;
417
+ backgroundColor: string;
418
+ activeBackgroundColor: string;
419
+ iconColor: string;
420
+ buttonDimension: number;
421
+ };
422
+ };
423
+ modal: {
424
+ header: {
425
+ mobileBackgroundColor: string;
426
+ };
427
+ storeIcon: {
428
+ bgColor: string;
429
+ borderColor: string;
430
+ color: string;
431
+ hoverBGColor: string;
432
+ hoverBorderColor: string;
433
+ iconColor: string;
434
+ };
435
+ };
436
+ selectedOption: {
437
+ bgColor: string;
438
+ };
439
+ input: {
440
+ borderRadius: string;
441
+ static: IInputFields;
442
+ hover: IInputFields;
443
+ focus: IInputFields;
444
+ disabled: IInputFields;
445
+ };
446
+ productGrid: {
447
+ borderColor: string;
448
+ };
449
+ checkoutStepColors?: {
450
+ active?: string;
451
+ default?: string;
452
+ disabled?: string;
453
+ };
454
+ logoHeight: IDefaultThemeLogoHeights;
455
+ stsThemeStyles?: ISTSDefaultThemeInterface;
456
+ stsLogoWidth?: string;
457
+ globalAnimations: IDefaultThemeGlobalAnimations;
458
+ metadata: IDefaultThemeMetadata;
459
+ scripts: IDefaultThemeScripts;
460
+ }
461
+ export interface IDefaultThemeScripts {
462
+ [key: string]: string;
463
+ }
464
+ interface IMiniCartTabletSettings {
465
+ enabled: boolean;
466
+ iconColor: string;
467
+ textColor: string;
468
+ backgroundColor: string;
469
+ iconColorHover: string;
470
+ textColorHover: string;
471
+ backgroundColorHover: string;
472
+ showText: boolean;
473
+ }
474
+ interface IInputFields {
475
+ bgColor: string;
476
+ borderColor: string;
477
+ color: string;
478
+ placeholderColor: string;
479
+ }
480
+ interface ICouponClippedBtnColorType extends IQSButtonColorType {
481
+ clippedIconColor: string;
482
+ }
483
+ interface IButtonType {
484
+ borderRadius: string;
485
+ clicked: IButtonColorType;
486
+ disabled: IButtonColorType;
487
+ fontWeight: IFontWeights;
488
+ hover: IButtonColorType;
489
+ static: IButtonColorType;
490
+ textTransform: ITextTransform;
491
+ }
492
+ declare type ITextTransform = "none" | "capitalize" | "uppercase" | "lowercase" | "initial" | "inherit";
493
+ declare type ITextPosition = "left" | "center" | "right";
494
+ interface IFilterSort extends ICommonColors {
495
+ borderRadius: string;
496
+ }
497
+ interface ICommonColors {
498
+ color: string;
499
+ hoverColor: string;
500
+ }
501
+ interface IQSButtonColorType {
502
+ bgColor: string;
503
+ borderColor: string;
504
+ color: string;
505
+ couponIconColor: string;
506
+ }
507
+ interface ICheckoutButtonColorType {
508
+ bgColor: string;
509
+ borderColor: string;
510
+ color: string;
511
+ }
512
+ interface IButtonColorType {
513
+ bgColor: string;
514
+ borderColor: string;
515
+ color: string;
516
+ iconColor: string;
517
+ }
518
+ interface ITextType {
519
+ color?: string;
520
+ fontFamily: string;
521
+ fontSize: string;
522
+ fontWeight: IFontWeights;
523
+ capitalization: ITextTransform;
524
+ lineHeight: string;
525
+ letterSpacing: string;
526
+ }
527
+ interface ILinkType {
528
+ color: string;
529
+ textDecoration: "none" | "underline";
530
+ }
531
+ export interface IGlobalDefaultTheme {
532
+ BorderRadius: string;
533
+ FontFamily: string;
534
+ FontWeight: IFontWeights;
535
+ FontWeightBold: IFontWeights;
536
+ HeadlineFontFamily: string;
537
+ HeadlineFontWeight: IFontWeights;
538
+ baseFontSize: string;
539
+ bodyFontColor: string;
540
+ bodyBackgroundColor: string;
541
+ }
542
+ export declare type IDefaultColors = IBrandColors & IUiColors;
543
+ export interface IBrandColors {
544
+ primary1: string;
545
+ primary2: string;
546
+ primary3: string;
547
+ primary4: string;
548
+ primary5: string;
549
+ secondary1: string;
550
+ secondary2: string;
551
+ secondary3: string;
552
+ secondary4: string;
553
+ secondary5: string;
554
+ tertiary1: string;
555
+ tertiary2: string;
556
+ tertiary3: string;
557
+ tertiary4: string;
558
+ tertiary5: string;
559
+ }
560
+ export interface IUiColors {
561
+ success: string;
562
+ successDark: string;
563
+ successLight: string;
564
+ warn: string;
565
+ warnDark: string;
566
+ warnLight: string;
567
+ alert: string;
568
+ alertDark: string;
569
+ alertLight: string;
570
+ promotion1: string;
571
+ promotion2: string;
572
+ greyscale1: string;
573
+ greyscale2: string;
574
+ greyscale3: string;
575
+ greyscale4: string;
576
+ greyscale5: string;
577
+ greyscale6: string;
578
+ greyscale7: string;
579
+ }
580
+ export interface IInitializedEmptyDefaultTheme {
581
+ exports?: any;
582
+ }
583
+ declare type IFontWeights = "normal" | "bold" | "bolder" | "lighter" | number | "initial" | "inherit";
584
+ interface INavBottom extends INavStyles {
585
+ hoverColor: string;
586
+ textTransform: ITextTransform;
587
+ fontWeight: IFontWeights;
588
+ }
589
+ interface INavStyles {
590
+ color: string;
591
+ hoverColor: string;
592
+ backgroundColor: string;
593
+ links: {
594
+ static: ILinkType;
595
+ hover: ILinkType;
596
+ clicked: ILinkType;
597
+ visited: ILinkType;
598
+ };
599
+ }
600
+ interface INavActiveColors {
601
+ activeColor: string;
602
+ activeBackgroundColor: string;
603
+ }
604
+ interface IHeaderLinksProps extends INavStyles, INavActiveColors {
605
+ fontWeight: IFontWeights;
606
+ borderRadius: string;
607
+ }
608
+ interface IHeaderActionLinksProps extends IHeaderLinksProps {
609
+ fontFamily: string;
610
+ }
611
+ interface IHeaderDepartments {
612
+ wrapCategoryTitle: boolean;
613
+ backgroundColor: {
614
+ active: string;
615
+ static: string;
616
+ };
617
+ color: {
618
+ static: string;
619
+ hover: string;
620
+ };
621
+ iconColor: {
622
+ static: string;
623
+ hover: string;
624
+ };
625
+ }
626
+ interface IMinimalHeaderProps extends INavStyles {
627
+ iconColor: string;
628
+ }
629
+ interface IAddToCartButton {
630
+ bgColor: string;
631
+ borderColor: string;
632
+ color: string;
633
+ iconColor: string;
634
+ }
635
+ interface IFacets extends IPillButtons {
636
+ iconColor: string;
637
+ }
638
+ interface IPillButtons {
639
+ fontWeight: IFontWeights;
640
+ fontWeightHover: IFontWeights;
641
+ color: string;
642
+ colorHover: string;
643
+ colorVisited: string;
644
+ backgroundColor: string;
645
+ borderColor: string;
646
+ borderColorSelected: string;
647
+ textDecoration: "none" | "underline";
648
+ textDecorationHover: "none" | "underline";
649
+ padding: string;
650
+ }
651
+ interface IProductBadges {
652
+ borderRadius: string;
653
+ }
654
+ interface ICheckoutCards {
655
+ borderRadius: string;
656
+ }
657
+ interface ILoyaltyCardDimensions {
658
+ width: number;
659
+ height: number;
660
+ }
661
+ interface ILoyaltyCardIdFields {
662
+ staticBorder: string;
663
+ hoverBorder: string;
664
+ activeBorder: string;
665
+ errorBorder: string;
666
+ }
667
+ interface ILoyaltyCardInput {
668
+ borderRadius: string;
669
+ backgroundColor: string;
670
+ borderColor: string;
671
+ idFields: ILoyaltyCardIdFields;
672
+ }
673
+ interface ILoyaltyCardInfoList {
674
+ color: string;
675
+ borderColor: string;
676
+ }
677
+ export declare type IDefaultThemeAnimationsConfettiPlacesTypes = "successModals";
678
+ export interface IDefaultThemeGlobalAnimations {
679
+ confettiAnimation: IDefaultThemeAnimationConfettiPlaces;
680
+ }
681
+ export declare type IDefaultThemeAnimationConfettiPlaces = {
682
+ [key in IDefaultThemeAnimationsConfettiPlacesTypes]: IDefaultThemeAnimationsConfettiProps;
683
+ };
684
+ export interface IDefaultThemeAnimationsConfettiProps {
685
+ colors: string[];
686
+ }
687
+ export interface IDefaultEmbeddedFont {
688
+ fontFamily: string;
689
+ sourceSet: IDefaultEmbeddedFontSource[];
690
+ }
691
+ export interface IDefaultEmbeddedFontSource {
692
+ url: string;
693
+ format: string;
694
+ }
695
+ export {};