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