@nok-integration/storefront-react 0.17.0 → 0.17.2
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/index.d.ts +943 -56
- package/dist/index.mjs +901 -701
- package/dist/standalone/storefront.mjs +901 -701
- package/dist/standalone/styles.css +1078 -581
- package/dist/styles.css +1078 -581
- package/package.json +26 -9
package/dist/index.d.ts
CHANGED
|
@@ -444,18 +444,48 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
444
444
|
}>>;
|
|
445
445
|
size_guide: z.ZodOptional<z.ZodObject<{
|
|
446
446
|
title: z.ZodString;
|
|
447
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
447
448
|
columns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
448
449
|
rows: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
450
|
+
unit: z.ZodOptional<z.ZodEnum<["cm", "in"]>>;
|
|
451
|
+
note: z.ZodOptional<z.ZodString>;
|
|
452
|
+
measurements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
453
|
+
label: z.ZodString;
|
|
454
|
+
description: z.ZodString;
|
|
455
|
+
}, "strip", z.ZodTypeAny, {
|
|
456
|
+
label: string;
|
|
457
|
+
description: string;
|
|
458
|
+
}, {
|
|
459
|
+
label: string;
|
|
460
|
+
description: string;
|
|
461
|
+
}>, "many">>;
|
|
462
|
+
fabric: z.ZodOptional<z.ZodString>;
|
|
449
463
|
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
450
464
|
}, "strip", z.ZodTypeAny, {
|
|
451
465
|
title: string;
|
|
466
|
+
subtitle?: string | undefined;
|
|
452
467
|
columns?: string[] | undefined;
|
|
453
468
|
rows?: string[][] | undefined;
|
|
469
|
+
unit?: "cm" | "in" | undefined;
|
|
470
|
+
note?: string | undefined;
|
|
471
|
+
measurements?: {
|
|
472
|
+
label: string;
|
|
473
|
+
description: string;
|
|
474
|
+
}[] | undefined;
|
|
475
|
+
fabric?: string | undefined;
|
|
454
476
|
notes?: string[] | undefined;
|
|
455
477
|
}, {
|
|
456
478
|
title: string;
|
|
479
|
+
subtitle?: string | undefined;
|
|
457
480
|
columns?: string[] | undefined;
|
|
458
481
|
rows?: string[][] | undefined;
|
|
482
|
+
unit?: "cm" | "in" | undefined;
|
|
483
|
+
note?: string | undefined;
|
|
484
|
+
measurements?: {
|
|
485
|
+
label: string;
|
|
486
|
+
description: string;
|
|
487
|
+
}[] | undefined;
|
|
488
|
+
fabric?: string | undefined;
|
|
459
489
|
notes?: string[] | undefined;
|
|
460
490
|
}>>;
|
|
461
491
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -474,11 +504,11 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
474
504
|
image?: string | undefined;
|
|
475
505
|
available?: number | undefined;
|
|
476
506
|
}[];
|
|
507
|
+
description?: string | undefined;
|
|
477
508
|
compare_at?: {
|
|
478
509
|
amount: number;
|
|
479
510
|
currency: string;
|
|
480
511
|
} | undefined;
|
|
481
|
-
description?: string | undefined;
|
|
482
512
|
badges?: string[] | undefined;
|
|
483
513
|
promo?: {
|
|
484
514
|
message: string;
|
|
@@ -486,8 +516,16 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
486
516
|
} | undefined;
|
|
487
517
|
size_guide?: {
|
|
488
518
|
title: string;
|
|
519
|
+
subtitle?: string | undefined;
|
|
489
520
|
columns?: string[] | undefined;
|
|
490
521
|
rows?: string[][] | undefined;
|
|
522
|
+
unit?: "cm" | "in" | undefined;
|
|
523
|
+
note?: string | undefined;
|
|
524
|
+
measurements?: {
|
|
525
|
+
label: string;
|
|
526
|
+
description: string;
|
|
527
|
+
}[] | undefined;
|
|
528
|
+
fabric?: string | undefined;
|
|
491
529
|
notes?: string[] | undefined;
|
|
492
530
|
} | undefined;
|
|
493
531
|
}, {
|
|
@@ -506,11 +544,11 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
506
544
|
image?: string | undefined;
|
|
507
545
|
available?: number | undefined;
|
|
508
546
|
}[];
|
|
547
|
+
description?: string | undefined;
|
|
509
548
|
compare_at?: {
|
|
510
549
|
amount: number;
|
|
511
550
|
currency: string;
|
|
512
551
|
} | undefined;
|
|
513
|
-
description?: string | undefined;
|
|
514
552
|
badges?: string[] | undefined;
|
|
515
553
|
promo?: {
|
|
516
554
|
message: string;
|
|
@@ -518,8 +556,16 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
518
556
|
} | undefined;
|
|
519
557
|
size_guide?: {
|
|
520
558
|
title: string;
|
|
559
|
+
subtitle?: string | undefined;
|
|
521
560
|
columns?: string[] | undefined;
|
|
522
561
|
rows?: string[][] | undefined;
|
|
562
|
+
unit?: "cm" | "in" | undefined;
|
|
563
|
+
note?: string | undefined;
|
|
564
|
+
measurements?: {
|
|
565
|
+
label: string;
|
|
566
|
+
description: string;
|
|
567
|
+
}[] | undefined;
|
|
568
|
+
fabric?: string | undefined;
|
|
523
569
|
notes?: string[] | undefined;
|
|
524
570
|
} | undefined;
|
|
525
571
|
}>, "many">;
|
|
@@ -542,11 +588,11 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
542
588
|
image?: string | undefined;
|
|
543
589
|
available?: number | undefined;
|
|
544
590
|
}[];
|
|
591
|
+
description?: string | undefined;
|
|
545
592
|
compare_at?: {
|
|
546
593
|
amount: number;
|
|
547
594
|
currency: string;
|
|
548
595
|
} | undefined;
|
|
549
|
-
description?: string | undefined;
|
|
550
596
|
badges?: string[] | undefined;
|
|
551
597
|
promo?: {
|
|
552
598
|
message: string;
|
|
@@ -554,8 +600,16 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
554
600
|
} | undefined;
|
|
555
601
|
size_guide?: {
|
|
556
602
|
title: string;
|
|
603
|
+
subtitle?: string | undefined;
|
|
557
604
|
columns?: string[] | undefined;
|
|
558
605
|
rows?: string[][] | undefined;
|
|
606
|
+
unit?: "cm" | "in" | undefined;
|
|
607
|
+
note?: string | undefined;
|
|
608
|
+
measurements?: {
|
|
609
|
+
label: string;
|
|
610
|
+
description: string;
|
|
611
|
+
}[] | undefined;
|
|
612
|
+
fabric?: string | undefined;
|
|
559
613
|
notes?: string[] | undefined;
|
|
560
614
|
} | undefined;
|
|
561
615
|
}[];
|
|
@@ -578,11 +632,11 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
578
632
|
image?: string | undefined;
|
|
579
633
|
available?: number | undefined;
|
|
580
634
|
}[];
|
|
635
|
+
description?: string | undefined;
|
|
581
636
|
compare_at?: {
|
|
582
637
|
amount: number;
|
|
583
638
|
currency: string;
|
|
584
639
|
} | undefined;
|
|
585
|
-
description?: string | undefined;
|
|
586
640
|
badges?: string[] | undefined;
|
|
587
641
|
promo?: {
|
|
588
642
|
message: string;
|
|
@@ -590,8 +644,16 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
590
644
|
} | undefined;
|
|
591
645
|
size_guide?: {
|
|
592
646
|
title: string;
|
|
647
|
+
subtitle?: string | undefined;
|
|
593
648
|
columns?: string[] | undefined;
|
|
594
649
|
rows?: string[][] | undefined;
|
|
650
|
+
unit?: "cm" | "in" | undefined;
|
|
651
|
+
note?: string | undefined;
|
|
652
|
+
measurements?: {
|
|
653
|
+
label: string;
|
|
654
|
+
description: string;
|
|
655
|
+
}[] | undefined;
|
|
656
|
+
fabric?: string | undefined;
|
|
595
657
|
notes?: string[] | undefined;
|
|
596
658
|
} | undefined;
|
|
597
659
|
}[];
|
|
@@ -668,18 +730,48 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
668
730
|
}>>;
|
|
669
731
|
size_guide: z.ZodOptional<z.ZodObject<{
|
|
670
732
|
title: z.ZodString;
|
|
733
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
671
734
|
columns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
672
735
|
rows: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
736
|
+
unit: z.ZodOptional<z.ZodEnum<["cm", "in"]>>;
|
|
737
|
+
note: z.ZodOptional<z.ZodString>;
|
|
738
|
+
measurements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
739
|
+
label: z.ZodString;
|
|
740
|
+
description: z.ZodString;
|
|
741
|
+
}, "strip", z.ZodTypeAny, {
|
|
742
|
+
label: string;
|
|
743
|
+
description: string;
|
|
744
|
+
}, {
|
|
745
|
+
label: string;
|
|
746
|
+
description: string;
|
|
747
|
+
}>, "many">>;
|
|
748
|
+
fabric: z.ZodOptional<z.ZodString>;
|
|
673
749
|
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
674
750
|
}, "strip", z.ZodTypeAny, {
|
|
675
751
|
title: string;
|
|
752
|
+
subtitle?: string | undefined;
|
|
676
753
|
columns?: string[] | undefined;
|
|
677
754
|
rows?: string[][] | undefined;
|
|
755
|
+
unit?: "cm" | "in" | undefined;
|
|
756
|
+
note?: string | undefined;
|
|
757
|
+
measurements?: {
|
|
758
|
+
label: string;
|
|
759
|
+
description: string;
|
|
760
|
+
}[] | undefined;
|
|
761
|
+
fabric?: string | undefined;
|
|
678
762
|
notes?: string[] | undefined;
|
|
679
763
|
}, {
|
|
680
764
|
title: string;
|
|
765
|
+
subtitle?: string | undefined;
|
|
681
766
|
columns?: string[] | undefined;
|
|
682
767
|
rows?: string[][] | undefined;
|
|
768
|
+
unit?: "cm" | "in" | undefined;
|
|
769
|
+
note?: string | undefined;
|
|
770
|
+
measurements?: {
|
|
771
|
+
label: string;
|
|
772
|
+
description: string;
|
|
773
|
+
}[] | undefined;
|
|
774
|
+
fabric?: string | undefined;
|
|
683
775
|
notes?: string[] | undefined;
|
|
684
776
|
}>>;
|
|
685
777
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -698,11 +790,11 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
698
790
|
image?: string | undefined;
|
|
699
791
|
available?: number | undefined;
|
|
700
792
|
}[];
|
|
793
|
+
description?: string | undefined;
|
|
701
794
|
compare_at?: {
|
|
702
795
|
amount: number;
|
|
703
796
|
currency: string;
|
|
704
797
|
} | undefined;
|
|
705
|
-
description?: string | undefined;
|
|
706
798
|
badges?: string[] | undefined;
|
|
707
799
|
promo?: {
|
|
708
800
|
message: string;
|
|
@@ -710,8 +802,16 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
710
802
|
} | undefined;
|
|
711
803
|
size_guide?: {
|
|
712
804
|
title: string;
|
|
805
|
+
subtitle?: string | undefined;
|
|
713
806
|
columns?: string[] | undefined;
|
|
714
807
|
rows?: string[][] | undefined;
|
|
808
|
+
unit?: "cm" | "in" | undefined;
|
|
809
|
+
note?: string | undefined;
|
|
810
|
+
measurements?: {
|
|
811
|
+
label: string;
|
|
812
|
+
description: string;
|
|
813
|
+
}[] | undefined;
|
|
814
|
+
fabric?: string | undefined;
|
|
715
815
|
notes?: string[] | undefined;
|
|
716
816
|
} | undefined;
|
|
717
817
|
}, {
|
|
@@ -730,11 +830,11 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
730
830
|
image?: string | undefined;
|
|
731
831
|
available?: number | undefined;
|
|
732
832
|
}[];
|
|
833
|
+
description?: string | undefined;
|
|
733
834
|
compare_at?: {
|
|
734
835
|
amount: number;
|
|
735
836
|
currency: string;
|
|
736
837
|
} | undefined;
|
|
737
|
-
description?: string | undefined;
|
|
738
838
|
badges?: string[] | undefined;
|
|
739
839
|
promo?: {
|
|
740
840
|
message: string;
|
|
@@ -742,8 +842,16 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
742
842
|
} | undefined;
|
|
743
843
|
size_guide?: {
|
|
744
844
|
title: string;
|
|
845
|
+
subtitle?: string | undefined;
|
|
745
846
|
columns?: string[] | undefined;
|
|
746
847
|
rows?: string[][] | undefined;
|
|
848
|
+
unit?: "cm" | "in" | undefined;
|
|
849
|
+
note?: string | undefined;
|
|
850
|
+
measurements?: {
|
|
851
|
+
label: string;
|
|
852
|
+
description: string;
|
|
853
|
+
}[] | undefined;
|
|
854
|
+
fabric?: string | undefined;
|
|
747
855
|
notes?: string[] | undefined;
|
|
748
856
|
} | undefined;
|
|
749
857
|
}>;
|
|
@@ -765,11 +873,11 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
765
873
|
image?: string | undefined;
|
|
766
874
|
available?: number | undefined;
|
|
767
875
|
}[];
|
|
876
|
+
description?: string | undefined;
|
|
768
877
|
compare_at?: {
|
|
769
878
|
amount: number;
|
|
770
879
|
currency: string;
|
|
771
880
|
} | undefined;
|
|
772
|
-
description?: string | undefined;
|
|
773
881
|
badges?: string[] | undefined;
|
|
774
882
|
promo?: {
|
|
775
883
|
message: string;
|
|
@@ -777,8 +885,16 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
777
885
|
} | undefined;
|
|
778
886
|
size_guide?: {
|
|
779
887
|
title: string;
|
|
888
|
+
subtitle?: string | undefined;
|
|
780
889
|
columns?: string[] | undefined;
|
|
781
890
|
rows?: string[][] | undefined;
|
|
891
|
+
unit?: "cm" | "in" | undefined;
|
|
892
|
+
note?: string | undefined;
|
|
893
|
+
measurements?: {
|
|
894
|
+
label: string;
|
|
895
|
+
description: string;
|
|
896
|
+
}[] | undefined;
|
|
897
|
+
fabric?: string | undefined;
|
|
782
898
|
notes?: string[] | undefined;
|
|
783
899
|
} | undefined;
|
|
784
900
|
};
|
|
@@ -801,11 +917,286 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
801
917
|
image?: string | undefined;
|
|
802
918
|
available?: number | undefined;
|
|
803
919
|
}[];
|
|
920
|
+
description?: string | undefined;
|
|
921
|
+
compare_at?: {
|
|
922
|
+
amount: number;
|
|
923
|
+
currency: string;
|
|
924
|
+
} | undefined;
|
|
925
|
+
badges?: string[] | undefined;
|
|
926
|
+
promo?: {
|
|
927
|
+
message: string;
|
|
928
|
+
ends_at?: string | undefined;
|
|
929
|
+
} | undefined;
|
|
930
|
+
size_guide?: {
|
|
931
|
+
title: string;
|
|
932
|
+
subtitle?: string | undefined;
|
|
933
|
+
columns?: string[] | undefined;
|
|
934
|
+
rows?: string[][] | undefined;
|
|
935
|
+
unit?: "cm" | "in" | undefined;
|
|
936
|
+
note?: string | undefined;
|
|
937
|
+
measurements?: {
|
|
938
|
+
label: string;
|
|
939
|
+
description: string;
|
|
940
|
+
}[] | undefined;
|
|
941
|
+
fabric?: string | undefined;
|
|
942
|
+
notes?: string[] | undefined;
|
|
943
|
+
} | undefined;
|
|
944
|
+
};
|
|
945
|
+
title?: string | undefined;
|
|
946
|
+
}>, z.ZodObject<{
|
|
947
|
+
kind: z.ZodLiteral<"product_gallery">;
|
|
948
|
+
title: z.ZodString;
|
|
949
|
+
product: z.ZodObject<{
|
|
950
|
+
sku: z.ZodString;
|
|
951
|
+
title: z.ZodString;
|
|
952
|
+
category: z.ZodString;
|
|
953
|
+
price: z.ZodObject<{
|
|
954
|
+
amount: z.ZodNumber;
|
|
955
|
+
currency: z.ZodString;
|
|
956
|
+
}, "strict", z.ZodTypeAny, {
|
|
957
|
+
amount: number;
|
|
958
|
+
currency: string;
|
|
959
|
+
}, {
|
|
960
|
+
amount: number;
|
|
961
|
+
currency: string;
|
|
962
|
+
}>;
|
|
963
|
+
compare_at: z.ZodOptional<z.ZodObject<{
|
|
964
|
+
amount: z.ZodNumber;
|
|
965
|
+
currency: z.ZodString;
|
|
966
|
+
}, "strict", z.ZodTypeAny, {
|
|
967
|
+
amount: number;
|
|
968
|
+
currency: string;
|
|
969
|
+
}, {
|
|
970
|
+
amount: number;
|
|
971
|
+
currency: string;
|
|
972
|
+
}>>;
|
|
973
|
+
media: z.ZodArray<z.ZodString, "many">;
|
|
974
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
975
|
+
sku: z.ZodString;
|
|
976
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
977
|
+
in_stock: z.ZodBoolean;
|
|
978
|
+
image: z.ZodOptional<z.ZodString>;
|
|
979
|
+
available: z.ZodOptional<z.ZodNumber>;
|
|
980
|
+
}, "strip", z.ZodTypeAny, {
|
|
981
|
+
sku: string;
|
|
982
|
+
attributes: Record<string, string>;
|
|
983
|
+
in_stock: boolean;
|
|
984
|
+
image?: string | undefined;
|
|
985
|
+
available?: number | undefined;
|
|
986
|
+
}, {
|
|
987
|
+
sku: string;
|
|
988
|
+
attributes: Record<string, string>;
|
|
989
|
+
in_stock: boolean;
|
|
990
|
+
image?: string | undefined;
|
|
991
|
+
available?: number | undefined;
|
|
992
|
+
}>, "many">;
|
|
993
|
+
description: z.ZodOptional<z.ZodString>;
|
|
994
|
+
badges: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
995
|
+
promo: z.ZodOptional<z.ZodObject<{
|
|
996
|
+
message: z.ZodString;
|
|
997
|
+
ends_at: z.ZodOptional<z.ZodString>;
|
|
998
|
+
}, "strip", z.ZodTypeAny, {
|
|
999
|
+
message: string;
|
|
1000
|
+
ends_at?: string | undefined;
|
|
1001
|
+
}, {
|
|
1002
|
+
message: string;
|
|
1003
|
+
ends_at?: string | undefined;
|
|
1004
|
+
}>>;
|
|
1005
|
+
size_guide: z.ZodOptional<z.ZodObject<{
|
|
1006
|
+
title: z.ZodString;
|
|
1007
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
1008
|
+
columns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1009
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
1010
|
+
unit: z.ZodOptional<z.ZodEnum<["cm", "in"]>>;
|
|
1011
|
+
note: z.ZodOptional<z.ZodString>;
|
|
1012
|
+
measurements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1013
|
+
label: z.ZodString;
|
|
1014
|
+
description: z.ZodString;
|
|
1015
|
+
}, "strip", z.ZodTypeAny, {
|
|
1016
|
+
label: string;
|
|
1017
|
+
description: string;
|
|
1018
|
+
}, {
|
|
1019
|
+
label: string;
|
|
1020
|
+
description: string;
|
|
1021
|
+
}>, "many">>;
|
|
1022
|
+
fabric: z.ZodOptional<z.ZodString>;
|
|
1023
|
+
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1024
|
+
}, "strip", z.ZodTypeAny, {
|
|
1025
|
+
title: string;
|
|
1026
|
+
subtitle?: string | undefined;
|
|
1027
|
+
columns?: string[] | undefined;
|
|
1028
|
+
rows?: string[][] | undefined;
|
|
1029
|
+
unit?: "cm" | "in" | undefined;
|
|
1030
|
+
note?: string | undefined;
|
|
1031
|
+
measurements?: {
|
|
1032
|
+
label: string;
|
|
1033
|
+
description: string;
|
|
1034
|
+
}[] | undefined;
|
|
1035
|
+
fabric?: string | undefined;
|
|
1036
|
+
notes?: string[] | undefined;
|
|
1037
|
+
}, {
|
|
1038
|
+
title: string;
|
|
1039
|
+
subtitle?: string | undefined;
|
|
1040
|
+
columns?: string[] | undefined;
|
|
1041
|
+
rows?: string[][] | undefined;
|
|
1042
|
+
unit?: "cm" | "in" | undefined;
|
|
1043
|
+
note?: string | undefined;
|
|
1044
|
+
measurements?: {
|
|
1045
|
+
label: string;
|
|
1046
|
+
description: string;
|
|
1047
|
+
}[] | undefined;
|
|
1048
|
+
fabric?: string | undefined;
|
|
1049
|
+
notes?: string[] | undefined;
|
|
1050
|
+
}>>;
|
|
1051
|
+
}, "strip", z.ZodTypeAny, {
|
|
1052
|
+
sku: string;
|
|
1053
|
+
title: string;
|
|
1054
|
+
price: {
|
|
1055
|
+
amount: number;
|
|
1056
|
+
currency: string;
|
|
1057
|
+
};
|
|
1058
|
+
category: string;
|
|
1059
|
+
media: string[];
|
|
1060
|
+
variants: {
|
|
1061
|
+
sku: string;
|
|
1062
|
+
attributes: Record<string, string>;
|
|
1063
|
+
in_stock: boolean;
|
|
1064
|
+
image?: string | undefined;
|
|
1065
|
+
available?: number | undefined;
|
|
1066
|
+
}[];
|
|
1067
|
+
description?: string | undefined;
|
|
1068
|
+
compare_at?: {
|
|
1069
|
+
amount: number;
|
|
1070
|
+
currency: string;
|
|
1071
|
+
} | undefined;
|
|
1072
|
+
badges?: string[] | undefined;
|
|
1073
|
+
promo?: {
|
|
1074
|
+
message: string;
|
|
1075
|
+
ends_at?: string | undefined;
|
|
1076
|
+
} | undefined;
|
|
1077
|
+
size_guide?: {
|
|
1078
|
+
title: string;
|
|
1079
|
+
subtitle?: string | undefined;
|
|
1080
|
+
columns?: string[] | undefined;
|
|
1081
|
+
rows?: string[][] | undefined;
|
|
1082
|
+
unit?: "cm" | "in" | undefined;
|
|
1083
|
+
note?: string | undefined;
|
|
1084
|
+
measurements?: {
|
|
1085
|
+
label: string;
|
|
1086
|
+
description: string;
|
|
1087
|
+
}[] | undefined;
|
|
1088
|
+
fabric?: string | undefined;
|
|
1089
|
+
notes?: string[] | undefined;
|
|
1090
|
+
} | undefined;
|
|
1091
|
+
}, {
|
|
1092
|
+
sku: string;
|
|
1093
|
+
title: string;
|
|
1094
|
+
price: {
|
|
1095
|
+
amount: number;
|
|
1096
|
+
currency: string;
|
|
1097
|
+
};
|
|
1098
|
+
category: string;
|
|
1099
|
+
media: string[];
|
|
1100
|
+
variants: {
|
|
1101
|
+
sku: string;
|
|
1102
|
+
attributes: Record<string, string>;
|
|
1103
|
+
in_stock: boolean;
|
|
1104
|
+
image?: string | undefined;
|
|
1105
|
+
available?: number | undefined;
|
|
1106
|
+
}[];
|
|
1107
|
+
description?: string | undefined;
|
|
1108
|
+
compare_at?: {
|
|
1109
|
+
amount: number;
|
|
1110
|
+
currency: string;
|
|
1111
|
+
} | undefined;
|
|
1112
|
+
badges?: string[] | undefined;
|
|
1113
|
+
promo?: {
|
|
1114
|
+
message: string;
|
|
1115
|
+
ends_at?: string | undefined;
|
|
1116
|
+
} | undefined;
|
|
1117
|
+
size_guide?: {
|
|
1118
|
+
title: string;
|
|
1119
|
+
subtitle?: string | undefined;
|
|
1120
|
+
columns?: string[] | undefined;
|
|
1121
|
+
rows?: string[][] | undefined;
|
|
1122
|
+
unit?: "cm" | "in" | undefined;
|
|
1123
|
+
note?: string | undefined;
|
|
1124
|
+
measurements?: {
|
|
1125
|
+
label: string;
|
|
1126
|
+
description: string;
|
|
1127
|
+
}[] | undefined;
|
|
1128
|
+
fabric?: string | undefined;
|
|
1129
|
+
notes?: string[] | undefined;
|
|
1130
|
+
} | undefined;
|
|
1131
|
+
}>;
|
|
1132
|
+
}, "strip", z.ZodTypeAny, {
|
|
1133
|
+
title: string;
|
|
1134
|
+
kind: "product_gallery";
|
|
1135
|
+
product: {
|
|
1136
|
+
sku: string;
|
|
1137
|
+
title: string;
|
|
1138
|
+
price: {
|
|
1139
|
+
amount: number;
|
|
1140
|
+
currency: string;
|
|
1141
|
+
};
|
|
1142
|
+
category: string;
|
|
1143
|
+
media: string[];
|
|
1144
|
+
variants: {
|
|
1145
|
+
sku: string;
|
|
1146
|
+
attributes: Record<string, string>;
|
|
1147
|
+
in_stock: boolean;
|
|
1148
|
+
image?: string | undefined;
|
|
1149
|
+
available?: number | undefined;
|
|
1150
|
+
}[];
|
|
1151
|
+
description?: string | undefined;
|
|
1152
|
+
compare_at?: {
|
|
1153
|
+
amount: number;
|
|
1154
|
+
currency: string;
|
|
1155
|
+
} | undefined;
|
|
1156
|
+
badges?: string[] | undefined;
|
|
1157
|
+
promo?: {
|
|
1158
|
+
message: string;
|
|
1159
|
+
ends_at?: string | undefined;
|
|
1160
|
+
} | undefined;
|
|
1161
|
+
size_guide?: {
|
|
1162
|
+
title: string;
|
|
1163
|
+
subtitle?: string | undefined;
|
|
1164
|
+
columns?: string[] | undefined;
|
|
1165
|
+
rows?: string[][] | undefined;
|
|
1166
|
+
unit?: "cm" | "in" | undefined;
|
|
1167
|
+
note?: string | undefined;
|
|
1168
|
+
measurements?: {
|
|
1169
|
+
label: string;
|
|
1170
|
+
description: string;
|
|
1171
|
+
}[] | undefined;
|
|
1172
|
+
fabric?: string | undefined;
|
|
1173
|
+
notes?: string[] | undefined;
|
|
1174
|
+
} | undefined;
|
|
1175
|
+
};
|
|
1176
|
+
}, {
|
|
1177
|
+
title: string;
|
|
1178
|
+
kind: "product_gallery";
|
|
1179
|
+
product: {
|
|
1180
|
+
sku: string;
|
|
1181
|
+
title: string;
|
|
1182
|
+
price: {
|
|
1183
|
+
amount: number;
|
|
1184
|
+
currency: string;
|
|
1185
|
+
};
|
|
1186
|
+
category: string;
|
|
1187
|
+
media: string[];
|
|
1188
|
+
variants: {
|
|
1189
|
+
sku: string;
|
|
1190
|
+
attributes: Record<string, string>;
|
|
1191
|
+
in_stock: boolean;
|
|
1192
|
+
image?: string | undefined;
|
|
1193
|
+
available?: number | undefined;
|
|
1194
|
+
}[];
|
|
1195
|
+
description?: string | undefined;
|
|
804
1196
|
compare_at?: {
|
|
805
1197
|
amount: number;
|
|
806
1198
|
currency: string;
|
|
807
1199
|
} | undefined;
|
|
808
|
-
description?: string | undefined;
|
|
809
1200
|
badges?: string[] | undefined;
|
|
810
1201
|
promo?: {
|
|
811
1202
|
message: string;
|
|
@@ -813,12 +1204,19 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
813
1204
|
} | undefined;
|
|
814
1205
|
size_guide?: {
|
|
815
1206
|
title: string;
|
|
1207
|
+
subtitle?: string | undefined;
|
|
816
1208
|
columns?: string[] | undefined;
|
|
817
1209
|
rows?: string[][] | undefined;
|
|
1210
|
+
unit?: "cm" | "in" | undefined;
|
|
1211
|
+
note?: string | undefined;
|
|
1212
|
+
measurements?: {
|
|
1213
|
+
label: string;
|
|
1214
|
+
description: string;
|
|
1215
|
+
}[] | undefined;
|
|
1216
|
+
fabric?: string | undefined;
|
|
818
1217
|
notes?: string[] | undefined;
|
|
819
1218
|
} | undefined;
|
|
820
1219
|
};
|
|
821
|
-
title?: string | undefined;
|
|
822
1220
|
}>, z.ZodObject<{
|
|
823
1221
|
kind: z.ZodLiteral<"lifestyle_image">;
|
|
824
1222
|
images: z.ZodArray<z.ZodString, "many">;
|
|
@@ -830,7 +1228,7 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
830
1228
|
images: string[];
|
|
831
1229
|
}>, z.ZodObject<{
|
|
832
1230
|
kind: z.ZodLiteral<"grid">;
|
|
833
|
-
title: z.ZodString
|
|
1231
|
+
title: z.ZodOptional<z.ZodString>;
|
|
834
1232
|
products: z.ZodArray<z.ZodObject<{
|
|
835
1233
|
sku: z.ZodString;
|
|
836
1234
|
title: z.ZodString;
|
|
@@ -889,18 +1287,48 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
889
1287
|
}>>;
|
|
890
1288
|
size_guide: z.ZodOptional<z.ZodObject<{
|
|
891
1289
|
title: z.ZodString;
|
|
1290
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
892
1291
|
columns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
893
1292
|
rows: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
1293
|
+
unit: z.ZodOptional<z.ZodEnum<["cm", "in"]>>;
|
|
1294
|
+
note: z.ZodOptional<z.ZodString>;
|
|
1295
|
+
measurements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1296
|
+
label: z.ZodString;
|
|
1297
|
+
description: z.ZodString;
|
|
1298
|
+
}, "strip", z.ZodTypeAny, {
|
|
1299
|
+
label: string;
|
|
1300
|
+
description: string;
|
|
1301
|
+
}, {
|
|
1302
|
+
label: string;
|
|
1303
|
+
description: string;
|
|
1304
|
+
}>, "many">>;
|
|
1305
|
+
fabric: z.ZodOptional<z.ZodString>;
|
|
894
1306
|
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
895
1307
|
}, "strip", z.ZodTypeAny, {
|
|
896
1308
|
title: string;
|
|
1309
|
+
subtitle?: string | undefined;
|
|
897
1310
|
columns?: string[] | undefined;
|
|
898
1311
|
rows?: string[][] | undefined;
|
|
1312
|
+
unit?: "cm" | "in" | undefined;
|
|
1313
|
+
note?: string | undefined;
|
|
1314
|
+
measurements?: {
|
|
1315
|
+
label: string;
|
|
1316
|
+
description: string;
|
|
1317
|
+
}[] | undefined;
|
|
1318
|
+
fabric?: string | undefined;
|
|
899
1319
|
notes?: string[] | undefined;
|
|
900
1320
|
}, {
|
|
901
1321
|
title: string;
|
|
1322
|
+
subtitle?: string | undefined;
|
|
902
1323
|
columns?: string[] | undefined;
|
|
903
1324
|
rows?: string[][] | undefined;
|
|
1325
|
+
unit?: "cm" | "in" | undefined;
|
|
1326
|
+
note?: string | undefined;
|
|
1327
|
+
measurements?: {
|
|
1328
|
+
label: string;
|
|
1329
|
+
description: string;
|
|
1330
|
+
}[] | undefined;
|
|
1331
|
+
fabric?: string | undefined;
|
|
904
1332
|
notes?: string[] | undefined;
|
|
905
1333
|
}>>;
|
|
906
1334
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -919,11 +1347,11 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
919
1347
|
image?: string | undefined;
|
|
920
1348
|
available?: number | undefined;
|
|
921
1349
|
}[];
|
|
1350
|
+
description?: string | undefined;
|
|
922
1351
|
compare_at?: {
|
|
923
1352
|
amount: number;
|
|
924
1353
|
currency: string;
|
|
925
1354
|
} | undefined;
|
|
926
|
-
description?: string | undefined;
|
|
927
1355
|
badges?: string[] | undefined;
|
|
928
1356
|
promo?: {
|
|
929
1357
|
message: string;
|
|
@@ -931,8 +1359,16 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
931
1359
|
} | undefined;
|
|
932
1360
|
size_guide?: {
|
|
933
1361
|
title: string;
|
|
1362
|
+
subtitle?: string | undefined;
|
|
934
1363
|
columns?: string[] | undefined;
|
|
935
1364
|
rows?: string[][] | undefined;
|
|
1365
|
+
unit?: "cm" | "in" | undefined;
|
|
1366
|
+
note?: string | undefined;
|
|
1367
|
+
measurements?: {
|
|
1368
|
+
label: string;
|
|
1369
|
+
description: string;
|
|
1370
|
+
}[] | undefined;
|
|
1371
|
+
fabric?: string | undefined;
|
|
936
1372
|
notes?: string[] | undefined;
|
|
937
1373
|
} | undefined;
|
|
938
1374
|
}, {
|
|
@@ -951,11 +1387,11 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
951
1387
|
image?: string | undefined;
|
|
952
1388
|
available?: number | undefined;
|
|
953
1389
|
}[];
|
|
1390
|
+
description?: string | undefined;
|
|
954
1391
|
compare_at?: {
|
|
955
1392
|
amount: number;
|
|
956
1393
|
currency: string;
|
|
957
1394
|
} | undefined;
|
|
958
|
-
description?: string | undefined;
|
|
959
1395
|
badges?: string[] | undefined;
|
|
960
1396
|
promo?: {
|
|
961
1397
|
message: string;
|
|
@@ -963,13 +1399,20 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
963
1399
|
} | undefined;
|
|
964
1400
|
size_guide?: {
|
|
965
1401
|
title: string;
|
|
1402
|
+
subtitle?: string | undefined;
|
|
966
1403
|
columns?: string[] | undefined;
|
|
967
1404
|
rows?: string[][] | undefined;
|
|
1405
|
+
unit?: "cm" | "in" | undefined;
|
|
1406
|
+
note?: string | undefined;
|
|
1407
|
+
measurements?: {
|
|
1408
|
+
label: string;
|
|
1409
|
+
description: string;
|
|
1410
|
+
}[] | undefined;
|
|
1411
|
+
fabric?: string | undefined;
|
|
968
1412
|
notes?: string[] | undefined;
|
|
969
1413
|
} | undefined;
|
|
970
1414
|
}>, "many">;
|
|
971
1415
|
}, "strip", z.ZodTypeAny, {
|
|
972
|
-
title: string;
|
|
973
1416
|
kind: "grid";
|
|
974
1417
|
products: {
|
|
975
1418
|
sku: string;
|
|
@@ -987,11 +1430,11 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
987
1430
|
image?: string | undefined;
|
|
988
1431
|
available?: number | undefined;
|
|
989
1432
|
}[];
|
|
1433
|
+
description?: string | undefined;
|
|
990
1434
|
compare_at?: {
|
|
991
1435
|
amount: number;
|
|
992
1436
|
currency: string;
|
|
993
1437
|
} | undefined;
|
|
994
|
-
description?: string | undefined;
|
|
995
1438
|
badges?: string[] | undefined;
|
|
996
1439
|
promo?: {
|
|
997
1440
|
message: string;
|
|
@@ -999,13 +1442,21 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
999
1442
|
} | undefined;
|
|
1000
1443
|
size_guide?: {
|
|
1001
1444
|
title: string;
|
|
1445
|
+
subtitle?: string | undefined;
|
|
1002
1446
|
columns?: string[] | undefined;
|
|
1003
1447
|
rows?: string[][] | undefined;
|
|
1448
|
+
unit?: "cm" | "in" | undefined;
|
|
1449
|
+
note?: string | undefined;
|
|
1450
|
+
measurements?: {
|
|
1451
|
+
label: string;
|
|
1452
|
+
description: string;
|
|
1453
|
+
}[] | undefined;
|
|
1454
|
+
fabric?: string | undefined;
|
|
1004
1455
|
notes?: string[] | undefined;
|
|
1005
1456
|
} | undefined;
|
|
1006
1457
|
}[];
|
|
1458
|
+
title?: string | undefined;
|
|
1007
1459
|
}, {
|
|
1008
|
-
title: string;
|
|
1009
1460
|
kind: "grid";
|
|
1010
1461
|
products: {
|
|
1011
1462
|
sku: string;
|
|
@@ -1023,11 +1474,11 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
1023
1474
|
image?: string | undefined;
|
|
1024
1475
|
available?: number | undefined;
|
|
1025
1476
|
}[];
|
|
1477
|
+
description?: string | undefined;
|
|
1026
1478
|
compare_at?: {
|
|
1027
1479
|
amount: number;
|
|
1028
1480
|
currency: string;
|
|
1029
1481
|
} | undefined;
|
|
1030
|
-
description?: string | undefined;
|
|
1031
1482
|
badges?: string[] | undefined;
|
|
1032
1483
|
promo?: {
|
|
1033
1484
|
message: string;
|
|
@@ -1035,11 +1486,20 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
1035
1486
|
} | undefined;
|
|
1036
1487
|
size_guide?: {
|
|
1037
1488
|
title: string;
|
|
1489
|
+
subtitle?: string | undefined;
|
|
1038
1490
|
columns?: string[] | undefined;
|
|
1039
1491
|
rows?: string[][] | undefined;
|
|
1492
|
+
unit?: "cm" | "in" | undefined;
|
|
1493
|
+
note?: string | undefined;
|
|
1494
|
+
measurements?: {
|
|
1495
|
+
label: string;
|
|
1496
|
+
description: string;
|
|
1497
|
+
}[] | undefined;
|
|
1498
|
+
fabric?: string | undefined;
|
|
1040
1499
|
notes?: string[] | undefined;
|
|
1041
1500
|
} | undefined;
|
|
1042
1501
|
}[];
|
|
1502
|
+
title?: string | undefined;
|
|
1043
1503
|
}>, z.ZodObject<{
|
|
1044
1504
|
kind: z.ZodLiteral<"review">;
|
|
1045
1505
|
quotes: z.ZodArray<z.ZodObject<{
|
|
@@ -1150,11 +1610,11 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
1150
1610
|
image?: string | undefined;
|
|
1151
1611
|
available?: number | undefined;
|
|
1152
1612
|
}[];
|
|
1613
|
+
description?: string | undefined;
|
|
1153
1614
|
compare_at?: {
|
|
1154
1615
|
amount: number;
|
|
1155
1616
|
currency: string;
|
|
1156
1617
|
} | undefined;
|
|
1157
|
-
description?: string | undefined;
|
|
1158
1618
|
badges?: string[] | undefined;
|
|
1159
1619
|
promo?: {
|
|
1160
1620
|
message: string;
|
|
@@ -1162,8 +1622,16 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
1162
1622
|
} | undefined;
|
|
1163
1623
|
size_guide?: {
|
|
1164
1624
|
title: string;
|
|
1625
|
+
subtitle?: string | undefined;
|
|
1165
1626
|
columns?: string[] | undefined;
|
|
1166
1627
|
rows?: string[][] | undefined;
|
|
1628
|
+
unit?: "cm" | "in" | undefined;
|
|
1629
|
+
note?: string | undefined;
|
|
1630
|
+
measurements?: {
|
|
1631
|
+
label: string;
|
|
1632
|
+
description: string;
|
|
1633
|
+
}[] | undefined;
|
|
1634
|
+
fabric?: string | undefined;
|
|
1167
1635
|
notes?: string[] | undefined;
|
|
1168
1636
|
} | undefined;
|
|
1169
1637
|
}[];
|
|
@@ -1189,11 +1657,11 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
1189
1657
|
image?: string | undefined;
|
|
1190
1658
|
available?: number | undefined;
|
|
1191
1659
|
}[];
|
|
1660
|
+
description?: string | undefined;
|
|
1192
1661
|
compare_at?: {
|
|
1193
1662
|
amount: number;
|
|
1194
1663
|
currency: string;
|
|
1195
1664
|
} | undefined;
|
|
1196
|
-
description?: string | undefined;
|
|
1197
1665
|
badges?: string[] | undefined;
|
|
1198
1666
|
promo?: {
|
|
1199
1667
|
message: string;
|
|
@@ -1201,8 +1669,16 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
1201
1669
|
} | undefined;
|
|
1202
1670
|
size_guide?: {
|
|
1203
1671
|
title: string;
|
|
1672
|
+
subtitle?: string | undefined;
|
|
1204
1673
|
columns?: string[] | undefined;
|
|
1205
1674
|
rows?: string[][] | undefined;
|
|
1675
|
+
unit?: "cm" | "in" | undefined;
|
|
1676
|
+
note?: string | undefined;
|
|
1677
|
+
measurements?: {
|
|
1678
|
+
label: string;
|
|
1679
|
+
description: string;
|
|
1680
|
+
}[] | undefined;
|
|
1681
|
+
fabric?: string | undefined;
|
|
1206
1682
|
notes?: string[] | undefined;
|
|
1207
1683
|
} | undefined;
|
|
1208
1684
|
};
|
|
@@ -1211,7 +1687,6 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
1211
1687
|
kind: "lifestyle_image";
|
|
1212
1688
|
images: string[];
|
|
1213
1689
|
} | {
|
|
1214
|
-
title: string;
|
|
1215
1690
|
kind: "grid";
|
|
1216
1691
|
products: {
|
|
1217
1692
|
sku: string;
|
|
@@ -1229,11 +1704,11 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
1229
1704
|
image?: string | undefined;
|
|
1230
1705
|
available?: number | undefined;
|
|
1231
1706
|
}[];
|
|
1707
|
+
description?: string | undefined;
|
|
1232
1708
|
compare_at?: {
|
|
1233
1709
|
amount: number;
|
|
1234
1710
|
currency: string;
|
|
1235
1711
|
} | undefined;
|
|
1236
|
-
description?: string | undefined;
|
|
1237
1712
|
badges?: string[] | undefined;
|
|
1238
1713
|
promo?: {
|
|
1239
1714
|
message: string;
|
|
@@ -1241,11 +1716,20 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
1241
1716
|
} | undefined;
|
|
1242
1717
|
size_guide?: {
|
|
1243
1718
|
title: string;
|
|
1719
|
+
subtitle?: string | undefined;
|
|
1244
1720
|
columns?: string[] | undefined;
|
|
1245
1721
|
rows?: string[][] | undefined;
|
|
1722
|
+
unit?: "cm" | "in" | undefined;
|
|
1723
|
+
note?: string | undefined;
|
|
1724
|
+
measurements?: {
|
|
1725
|
+
label: string;
|
|
1726
|
+
description: string;
|
|
1727
|
+
}[] | undefined;
|
|
1728
|
+
fabric?: string | undefined;
|
|
1246
1729
|
notes?: string[] | undefined;
|
|
1247
1730
|
} | undefined;
|
|
1248
1731
|
}[];
|
|
1732
|
+
title?: string | undefined;
|
|
1249
1733
|
} | {
|
|
1250
1734
|
kind: "review";
|
|
1251
1735
|
quotes: {
|
|
@@ -1267,6 +1751,50 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
1267
1751
|
code: string;
|
|
1268
1752
|
label: string;
|
|
1269
1753
|
}[];
|
|
1754
|
+
} | {
|
|
1755
|
+
title: string;
|
|
1756
|
+
kind: "product_gallery";
|
|
1757
|
+
product: {
|
|
1758
|
+
sku: string;
|
|
1759
|
+
title: string;
|
|
1760
|
+
price: {
|
|
1761
|
+
amount: number;
|
|
1762
|
+
currency: string;
|
|
1763
|
+
};
|
|
1764
|
+
category: string;
|
|
1765
|
+
media: string[];
|
|
1766
|
+
variants: {
|
|
1767
|
+
sku: string;
|
|
1768
|
+
attributes: Record<string, string>;
|
|
1769
|
+
in_stock: boolean;
|
|
1770
|
+
image?: string | undefined;
|
|
1771
|
+
available?: number | undefined;
|
|
1772
|
+
}[];
|
|
1773
|
+
description?: string | undefined;
|
|
1774
|
+
compare_at?: {
|
|
1775
|
+
amount: number;
|
|
1776
|
+
currency: string;
|
|
1777
|
+
} | undefined;
|
|
1778
|
+
badges?: string[] | undefined;
|
|
1779
|
+
promo?: {
|
|
1780
|
+
message: string;
|
|
1781
|
+
ends_at?: string | undefined;
|
|
1782
|
+
} | undefined;
|
|
1783
|
+
size_guide?: {
|
|
1784
|
+
title: string;
|
|
1785
|
+
subtitle?: string | undefined;
|
|
1786
|
+
columns?: string[] | undefined;
|
|
1787
|
+
rows?: string[][] | undefined;
|
|
1788
|
+
unit?: "cm" | "in" | undefined;
|
|
1789
|
+
note?: string | undefined;
|
|
1790
|
+
measurements?: {
|
|
1791
|
+
label: string;
|
|
1792
|
+
description: string;
|
|
1793
|
+
}[] | undefined;
|
|
1794
|
+
fabric?: string | undefined;
|
|
1795
|
+
notes?: string[] | undefined;
|
|
1796
|
+
} | undefined;
|
|
1797
|
+
};
|
|
1270
1798
|
})[];
|
|
1271
1799
|
}, {
|
|
1272
1800
|
code: string;
|
|
@@ -1294,11 +1822,11 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
1294
1822
|
image?: string | undefined;
|
|
1295
1823
|
available?: number | undefined;
|
|
1296
1824
|
}[];
|
|
1825
|
+
description?: string | undefined;
|
|
1297
1826
|
compare_at?: {
|
|
1298
1827
|
amount: number;
|
|
1299
1828
|
currency: string;
|
|
1300
1829
|
} | undefined;
|
|
1301
|
-
description?: string | undefined;
|
|
1302
1830
|
badges?: string[] | undefined;
|
|
1303
1831
|
promo?: {
|
|
1304
1832
|
message: string;
|
|
@@ -1306,8 +1834,16 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
1306
1834
|
} | undefined;
|
|
1307
1835
|
size_guide?: {
|
|
1308
1836
|
title: string;
|
|
1837
|
+
subtitle?: string | undefined;
|
|
1309
1838
|
columns?: string[] | undefined;
|
|
1310
1839
|
rows?: string[][] | undefined;
|
|
1840
|
+
unit?: "cm" | "in" | undefined;
|
|
1841
|
+
note?: string | undefined;
|
|
1842
|
+
measurements?: {
|
|
1843
|
+
label: string;
|
|
1844
|
+
description: string;
|
|
1845
|
+
}[] | undefined;
|
|
1846
|
+
fabric?: string | undefined;
|
|
1311
1847
|
notes?: string[] | undefined;
|
|
1312
1848
|
} | undefined;
|
|
1313
1849
|
}[];
|
|
@@ -1333,11 +1869,11 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
1333
1869
|
image?: string | undefined;
|
|
1334
1870
|
available?: number | undefined;
|
|
1335
1871
|
}[];
|
|
1872
|
+
description?: string | undefined;
|
|
1336
1873
|
compare_at?: {
|
|
1337
1874
|
amount: number;
|
|
1338
1875
|
currency: string;
|
|
1339
1876
|
} | undefined;
|
|
1340
|
-
description?: string | undefined;
|
|
1341
1877
|
badges?: string[] | undefined;
|
|
1342
1878
|
promo?: {
|
|
1343
1879
|
message: string;
|
|
@@ -1345,8 +1881,16 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
1345
1881
|
} | undefined;
|
|
1346
1882
|
size_guide?: {
|
|
1347
1883
|
title: string;
|
|
1884
|
+
subtitle?: string | undefined;
|
|
1348
1885
|
columns?: string[] | undefined;
|
|
1349
1886
|
rows?: string[][] | undefined;
|
|
1887
|
+
unit?: "cm" | "in" | undefined;
|
|
1888
|
+
note?: string | undefined;
|
|
1889
|
+
measurements?: {
|
|
1890
|
+
label: string;
|
|
1891
|
+
description: string;
|
|
1892
|
+
}[] | undefined;
|
|
1893
|
+
fabric?: string | undefined;
|
|
1350
1894
|
notes?: string[] | undefined;
|
|
1351
1895
|
} | undefined;
|
|
1352
1896
|
};
|
|
@@ -1355,7 +1899,6 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
1355
1899
|
kind: "lifestyle_image";
|
|
1356
1900
|
images: string[];
|
|
1357
1901
|
} | {
|
|
1358
|
-
title: string;
|
|
1359
1902
|
kind: "grid";
|
|
1360
1903
|
products: {
|
|
1361
1904
|
sku: string;
|
|
@@ -1373,11 +1916,11 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
1373
1916
|
image?: string | undefined;
|
|
1374
1917
|
available?: number | undefined;
|
|
1375
1918
|
}[];
|
|
1919
|
+
description?: string | undefined;
|
|
1376
1920
|
compare_at?: {
|
|
1377
1921
|
amount: number;
|
|
1378
1922
|
currency: string;
|
|
1379
1923
|
} | undefined;
|
|
1380
|
-
description?: string | undefined;
|
|
1381
1924
|
badges?: string[] | undefined;
|
|
1382
1925
|
promo?: {
|
|
1383
1926
|
message: string;
|
|
@@ -1385,11 +1928,20 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
1385
1928
|
} | undefined;
|
|
1386
1929
|
size_guide?: {
|
|
1387
1930
|
title: string;
|
|
1931
|
+
subtitle?: string | undefined;
|
|
1388
1932
|
columns?: string[] | undefined;
|
|
1389
1933
|
rows?: string[][] | undefined;
|
|
1934
|
+
unit?: "cm" | "in" | undefined;
|
|
1935
|
+
note?: string | undefined;
|
|
1936
|
+
measurements?: {
|
|
1937
|
+
label: string;
|
|
1938
|
+
description: string;
|
|
1939
|
+
}[] | undefined;
|
|
1940
|
+
fabric?: string | undefined;
|
|
1390
1941
|
notes?: string[] | undefined;
|
|
1391
1942
|
} | undefined;
|
|
1392
1943
|
}[];
|
|
1944
|
+
title?: string | undefined;
|
|
1393
1945
|
} | {
|
|
1394
1946
|
kind: "review";
|
|
1395
1947
|
quotes: {
|
|
@@ -1411,6 +1963,50 @@ declare const CategoryPage: z.ZodObject<{
|
|
|
1411
1963
|
code: string;
|
|
1412
1964
|
label: string;
|
|
1413
1965
|
}[];
|
|
1966
|
+
} | {
|
|
1967
|
+
title: string;
|
|
1968
|
+
kind: "product_gallery";
|
|
1969
|
+
product: {
|
|
1970
|
+
sku: string;
|
|
1971
|
+
title: string;
|
|
1972
|
+
price: {
|
|
1973
|
+
amount: number;
|
|
1974
|
+
currency: string;
|
|
1975
|
+
};
|
|
1976
|
+
category: string;
|
|
1977
|
+
media: string[];
|
|
1978
|
+
variants: {
|
|
1979
|
+
sku: string;
|
|
1980
|
+
attributes: Record<string, string>;
|
|
1981
|
+
in_stock: boolean;
|
|
1982
|
+
image?: string | undefined;
|
|
1983
|
+
available?: number | undefined;
|
|
1984
|
+
}[];
|
|
1985
|
+
description?: string | undefined;
|
|
1986
|
+
compare_at?: {
|
|
1987
|
+
amount: number;
|
|
1988
|
+
currency: string;
|
|
1989
|
+
} | undefined;
|
|
1990
|
+
badges?: string[] | undefined;
|
|
1991
|
+
promo?: {
|
|
1992
|
+
message: string;
|
|
1993
|
+
ends_at?: string | undefined;
|
|
1994
|
+
} | undefined;
|
|
1995
|
+
size_guide?: {
|
|
1996
|
+
title: string;
|
|
1997
|
+
subtitle?: string | undefined;
|
|
1998
|
+
columns?: string[] | undefined;
|
|
1999
|
+
rows?: string[][] | undefined;
|
|
2000
|
+
unit?: "cm" | "in" | undefined;
|
|
2001
|
+
note?: string | undefined;
|
|
2002
|
+
measurements?: {
|
|
2003
|
+
label: string;
|
|
2004
|
+
description: string;
|
|
2005
|
+
}[] | undefined;
|
|
2006
|
+
fabric?: string | undefined;
|
|
2007
|
+
notes?: string[] | undefined;
|
|
2008
|
+
} | undefined;
|
|
2009
|
+
};
|
|
1414
2010
|
})[];
|
|
1415
2011
|
}>;
|
|
1416
2012
|
|
|
@@ -1524,11 +2120,11 @@ declare function createClient(options: ClientOptions): {
|
|
|
1524
2120
|
image?: string | undefined;
|
|
1525
2121
|
available?: number | undefined;
|
|
1526
2122
|
}[];
|
|
2123
|
+
description?: string | undefined;
|
|
1527
2124
|
compare_at?: {
|
|
1528
2125
|
amount: number;
|
|
1529
2126
|
currency: string;
|
|
1530
2127
|
} | undefined;
|
|
1531
|
-
description?: string | undefined;
|
|
1532
2128
|
badges?: string[] | undefined;
|
|
1533
2129
|
promo?: {
|
|
1534
2130
|
message: string;
|
|
@@ -1536,8 +2132,16 @@ declare function createClient(options: ClientOptions): {
|
|
|
1536
2132
|
} | undefined;
|
|
1537
2133
|
size_guide?: {
|
|
1538
2134
|
title: string;
|
|
2135
|
+
subtitle?: string | undefined;
|
|
1539
2136
|
columns?: string[] | undefined;
|
|
1540
2137
|
rows?: string[][] | undefined;
|
|
2138
|
+
unit?: "cm" | "in" | undefined;
|
|
2139
|
+
note?: string | undefined;
|
|
2140
|
+
measurements?: {
|
|
2141
|
+
label: string;
|
|
2142
|
+
description: string;
|
|
2143
|
+
}[] | undefined;
|
|
2144
|
+
fabric?: string | undefined;
|
|
1541
2145
|
notes?: string[] | undefined;
|
|
1542
2146
|
} | undefined;
|
|
1543
2147
|
}[];
|
|
@@ -1562,11 +2166,11 @@ declare function createClient(options: ClientOptions): {
|
|
|
1562
2166
|
image?: string | undefined;
|
|
1563
2167
|
available?: number | undefined;
|
|
1564
2168
|
}[];
|
|
2169
|
+
description?: string | undefined;
|
|
1565
2170
|
compare_at?: {
|
|
1566
2171
|
amount: number;
|
|
1567
2172
|
currency: string;
|
|
1568
2173
|
} | undefined;
|
|
1569
|
-
description?: string | undefined;
|
|
1570
2174
|
badges?: string[] | undefined;
|
|
1571
2175
|
promo?: {
|
|
1572
2176
|
message: string;
|
|
@@ -1574,8 +2178,16 @@ declare function createClient(options: ClientOptions): {
|
|
|
1574
2178
|
} | undefined;
|
|
1575
2179
|
size_guide?: {
|
|
1576
2180
|
title: string;
|
|
2181
|
+
subtitle?: string | undefined;
|
|
1577
2182
|
columns?: string[] | undefined;
|
|
1578
2183
|
rows?: string[][] | undefined;
|
|
2184
|
+
unit?: "cm" | "in" | undefined;
|
|
2185
|
+
note?: string | undefined;
|
|
2186
|
+
measurements?: {
|
|
2187
|
+
label: string;
|
|
2188
|
+
description: string;
|
|
2189
|
+
}[] | undefined;
|
|
2190
|
+
fabric?: string | undefined;
|
|
1579
2191
|
notes?: string[] | undefined;
|
|
1580
2192
|
} | undefined;
|
|
1581
2193
|
}>;
|
|
@@ -1596,11 +2208,11 @@ declare function createClient(options: ClientOptions): {
|
|
|
1596
2208
|
image?: string | undefined;
|
|
1597
2209
|
available?: number | undefined;
|
|
1598
2210
|
}[];
|
|
2211
|
+
description?: string | undefined;
|
|
1599
2212
|
compare_at?: {
|
|
1600
2213
|
amount: number;
|
|
1601
2214
|
currency: string;
|
|
1602
2215
|
} | undefined;
|
|
1603
|
-
description?: string | undefined;
|
|
1604
2216
|
badges?: string[] | undefined;
|
|
1605
2217
|
promo?: {
|
|
1606
2218
|
message: string;
|
|
@@ -1608,8 +2220,16 @@ declare function createClient(options: ClientOptions): {
|
|
|
1608
2220
|
} | undefined;
|
|
1609
2221
|
size_guide?: {
|
|
1610
2222
|
title: string;
|
|
2223
|
+
subtitle?: string | undefined;
|
|
1611
2224
|
columns?: string[] | undefined;
|
|
1612
2225
|
rows?: string[][] | undefined;
|
|
2226
|
+
unit?: "cm" | "in" | undefined;
|
|
2227
|
+
note?: string | undefined;
|
|
2228
|
+
measurements?: {
|
|
2229
|
+
label: string;
|
|
2230
|
+
description: string;
|
|
2231
|
+
}[] | undefined;
|
|
2232
|
+
fabric?: string | undefined;
|
|
1613
2233
|
notes?: string[] | undefined;
|
|
1614
2234
|
} | undefined;
|
|
1615
2235
|
}[];
|
|
@@ -1652,11 +2272,11 @@ declare function createClient(options: ClientOptions): {
|
|
|
1652
2272
|
image?: string | undefined;
|
|
1653
2273
|
available?: number | undefined;
|
|
1654
2274
|
}[];
|
|
2275
|
+
description?: string | undefined;
|
|
1655
2276
|
compare_at?: {
|
|
1656
2277
|
amount: number;
|
|
1657
2278
|
currency: string;
|
|
1658
2279
|
} | undefined;
|
|
1659
|
-
description?: string | undefined;
|
|
1660
2280
|
badges?: string[] | undefined;
|
|
1661
2281
|
promo?: {
|
|
1662
2282
|
message: string;
|
|
@@ -1664,8 +2284,16 @@ declare function createClient(options: ClientOptions): {
|
|
|
1664
2284
|
} | undefined;
|
|
1665
2285
|
size_guide?: {
|
|
1666
2286
|
title: string;
|
|
2287
|
+
subtitle?: string | undefined;
|
|
1667
2288
|
columns?: string[] | undefined;
|
|
1668
2289
|
rows?: string[][] | undefined;
|
|
2290
|
+
unit?: "cm" | "in" | undefined;
|
|
2291
|
+
note?: string | undefined;
|
|
2292
|
+
measurements?: {
|
|
2293
|
+
label: string;
|
|
2294
|
+
description: string;
|
|
2295
|
+
}[] | undefined;
|
|
2296
|
+
fabric?: string | undefined;
|
|
1669
2297
|
notes?: string[] | undefined;
|
|
1670
2298
|
} | undefined;
|
|
1671
2299
|
}[];
|
|
@@ -1691,11 +2319,11 @@ declare function createClient(options: ClientOptions): {
|
|
|
1691
2319
|
image?: string | undefined;
|
|
1692
2320
|
available?: number | undefined;
|
|
1693
2321
|
}[];
|
|
2322
|
+
description?: string | undefined;
|
|
1694
2323
|
compare_at?: {
|
|
1695
2324
|
amount: number;
|
|
1696
2325
|
currency: string;
|
|
1697
2326
|
} | undefined;
|
|
1698
|
-
description?: string | undefined;
|
|
1699
2327
|
badges?: string[] | undefined;
|
|
1700
2328
|
promo?: {
|
|
1701
2329
|
message: string;
|
|
@@ -1703,8 +2331,16 @@ declare function createClient(options: ClientOptions): {
|
|
|
1703
2331
|
} | undefined;
|
|
1704
2332
|
size_guide?: {
|
|
1705
2333
|
title: string;
|
|
2334
|
+
subtitle?: string | undefined;
|
|
1706
2335
|
columns?: string[] | undefined;
|
|
1707
2336
|
rows?: string[][] | undefined;
|
|
2337
|
+
unit?: "cm" | "in" | undefined;
|
|
2338
|
+
note?: string | undefined;
|
|
2339
|
+
measurements?: {
|
|
2340
|
+
label: string;
|
|
2341
|
+
description: string;
|
|
2342
|
+
}[] | undefined;
|
|
2343
|
+
fabric?: string | undefined;
|
|
1708
2344
|
notes?: string[] | undefined;
|
|
1709
2345
|
} | undefined;
|
|
1710
2346
|
};
|
|
@@ -1713,7 +2349,6 @@ declare function createClient(options: ClientOptions): {
|
|
|
1713
2349
|
kind: "lifestyle_image";
|
|
1714
2350
|
images: string[];
|
|
1715
2351
|
} | {
|
|
1716
|
-
title: string;
|
|
1717
2352
|
kind: "grid";
|
|
1718
2353
|
products: {
|
|
1719
2354
|
sku: string;
|
|
@@ -1731,11 +2366,11 @@ declare function createClient(options: ClientOptions): {
|
|
|
1731
2366
|
image?: string | undefined;
|
|
1732
2367
|
available?: number | undefined;
|
|
1733
2368
|
}[];
|
|
2369
|
+
description?: string | undefined;
|
|
1734
2370
|
compare_at?: {
|
|
1735
2371
|
amount: number;
|
|
1736
2372
|
currency: string;
|
|
1737
2373
|
} | undefined;
|
|
1738
|
-
description?: string | undefined;
|
|
1739
2374
|
badges?: string[] | undefined;
|
|
1740
2375
|
promo?: {
|
|
1741
2376
|
message: string;
|
|
@@ -1743,11 +2378,20 @@ declare function createClient(options: ClientOptions): {
|
|
|
1743
2378
|
} | undefined;
|
|
1744
2379
|
size_guide?: {
|
|
1745
2380
|
title: string;
|
|
2381
|
+
subtitle?: string | undefined;
|
|
1746
2382
|
columns?: string[] | undefined;
|
|
1747
2383
|
rows?: string[][] | undefined;
|
|
2384
|
+
unit?: "cm" | "in" | undefined;
|
|
2385
|
+
note?: string | undefined;
|
|
2386
|
+
measurements?: {
|
|
2387
|
+
label: string;
|
|
2388
|
+
description: string;
|
|
2389
|
+
}[] | undefined;
|
|
2390
|
+
fabric?: string | undefined;
|
|
1748
2391
|
notes?: string[] | undefined;
|
|
1749
2392
|
} | undefined;
|
|
1750
2393
|
}[];
|
|
2394
|
+
title?: string | undefined;
|
|
1751
2395
|
} | {
|
|
1752
2396
|
kind: "review";
|
|
1753
2397
|
quotes: {
|
|
@@ -1769,6 +2413,50 @@ declare function createClient(options: ClientOptions): {
|
|
|
1769
2413
|
code: string;
|
|
1770
2414
|
label: string;
|
|
1771
2415
|
}[];
|
|
2416
|
+
} | {
|
|
2417
|
+
title: string;
|
|
2418
|
+
kind: "product_gallery";
|
|
2419
|
+
product: {
|
|
2420
|
+
sku: string;
|
|
2421
|
+
title: string;
|
|
2422
|
+
category: string;
|
|
2423
|
+
price: {
|
|
2424
|
+
amount: number;
|
|
2425
|
+
currency: string;
|
|
2426
|
+
};
|
|
2427
|
+
media: string[];
|
|
2428
|
+
variants: {
|
|
2429
|
+
sku: string;
|
|
2430
|
+
attributes: Record<string, string>;
|
|
2431
|
+
in_stock: boolean;
|
|
2432
|
+
image?: string | undefined;
|
|
2433
|
+
available?: number | undefined;
|
|
2434
|
+
}[];
|
|
2435
|
+
description?: string | undefined;
|
|
2436
|
+
compare_at?: {
|
|
2437
|
+
amount: number;
|
|
2438
|
+
currency: string;
|
|
2439
|
+
} | undefined;
|
|
2440
|
+
badges?: string[] | undefined;
|
|
2441
|
+
promo?: {
|
|
2442
|
+
message: string;
|
|
2443
|
+
ends_at?: string | undefined;
|
|
2444
|
+
} | undefined;
|
|
2445
|
+
size_guide?: {
|
|
2446
|
+
title: string;
|
|
2447
|
+
subtitle?: string | undefined;
|
|
2448
|
+
columns?: string[] | undefined;
|
|
2449
|
+
rows?: string[][] | undefined;
|
|
2450
|
+
unit?: "cm" | "in" | undefined;
|
|
2451
|
+
note?: string | undefined;
|
|
2452
|
+
measurements?: {
|
|
2453
|
+
label: string;
|
|
2454
|
+
description: string;
|
|
2455
|
+
}[] | undefined;
|
|
2456
|
+
fabric?: string | undefined;
|
|
2457
|
+
notes?: string[] | undefined;
|
|
2458
|
+
} | undefined;
|
|
2459
|
+
};
|
|
1772
2460
|
})[];
|
|
1773
2461
|
}>;
|
|
1774
2462
|
};
|
|
@@ -2579,6 +3267,9 @@ export declare type OnEvent = (event: ShopEvent) => void;
|
|
|
2579
3267
|
* anyone who opens the email an hour later. So the two screens are two routes, and the one
|
|
2580
3268
|
* that navigates here is the one that knows — the checkout that has just finished.
|
|
2581
3269
|
*
|
|
3270
|
+
* Below the widget the two are the same three blocks, and they are the same components:
|
|
3271
|
+
* see `OrderReceipt`.
|
|
3272
|
+
*
|
|
2582
3273
|
* Read-only, like tracking. The frame's footer is "Done" rather than "Cancel order"
|
|
2583
3274
|
* precisely because cancellation is DAZN's under ADR-0008 and ADR-0017.
|
|
2584
3275
|
*/
|
|
@@ -2614,7 +3305,7 @@ export declare function OrderListView(props: OrderListViewProps): JSX.Element;
|
|
|
2614
3305
|
export declare interface OrderListViewProps {
|
|
2615
3306
|
/** Opens one order. Without it the rows render as static cards rather than dead links. */
|
|
2616
3307
|
onOpenOrder?: (orderRef: string) => void;
|
|
2617
|
-
/** The empty state's call to action — the design's "
|
|
3308
|
+
/** The empty state's call to action — the design's "Continue shopping" button. */
|
|
2618
3309
|
onStartShopping?: () => void;
|
|
2619
3310
|
/** Overrides the provider's locale for dates. */
|
|
2620
3311
|
locale?: string;
|
|
@@ -2742,21 +3433,44 @@ export declare interface OrderSummaryProps {
|
|
|
2742
3433
|
* An ordered list, because it is one: the rows have a sequence and a screen reader should
|
|
2743
3434
|
* announce it as such.
|
|
2744
3435
|
*/
|
|
2745
|
-
export declare function OrderTimeline({ progress, locale: localeProp }: OrderTimelineProps): JSX.Element;
|
|
3436
|
+
export declare function OrderTimeline({ progress, estimatedDelivery, locale: localeProp, }: OrderTimelineProps): JSX.Element;
|
|
2746
3437
|
|
|
2747
3438
|
export declare interface OrderTimelineProps {
|
|
2748
3439
|
progress: OrderProgressEntry[];
|
|
3440
|
+
/**
|
|
3441
|
+
* The delivery window, drawn under the last step while that step is still to come.
|
|
3442
|
+
*
|
|
3443
|
+
* Both frames put it there — "Sunday 27-30 Aug" under `Estimated delivery` — and it is
|
|
3444
|
+
* the only place either screen states it now that neither draws `order.headline`. A
|
|
3445
|
+
* window rather than a date, and advisory: it comes from the warehouse, and the design
|
|
3446
|
+
* writes it as a range precisely so it does not read as a promise of one day.
|
|
3447
|
+
*/
|
|
3448
|
+
estimatedDelivery?: {
|
|
3449
|
+
from: string;
|
|
3450
|
+
to: string;
|
|
3451
|
+
};
|
|
2749
3452
|
/** Overrides the provider's locale for the step dates. */
|
|
2750
3453
|
locale?: string;
|
|
2751
3454
|
}
|
|
2752
3455
|
|
|
2753
3456
|
/**
|
|
2754
|
-
* Order tracking (Figma `
|
|
3457
|
+
* Order tracking (Figma `order stats`, 5479:132209).
|
|
3458
|
+
*
|
|
3459
|
+
* One screen with three states, and the engine's `progress` is what draws them: the widget
|
|
3460
|
+
* says where the parcel is, and everything under it is the same for all three.
|
|
2755
3461
|
*
|
|
2756
|
-
* Read-only by design.
|
|
2757
|
-
*
|
|
2758
|
-
*
|
|
2759
|
-
*
|
|
3462
|
+
* Read-only by design. The frame's first state carries a "Cancel order" button and its
|
|
3463
|
+
* last offers "Start a return"; **cancellation and returns remain DAZN's** under ADR-0008
|
|
3464
|
+
* and ADR-0017, and nothing in the tracking contract can express either. A control that
|
|
3465
|
+
* cannot complete is worse than an absent one, so neither is drawn here — the return row
|
|
3466
|
+
* is a prop for the host that owns the flow.
|
|
3467
|
+
*
|
|
3468
|
+
* "Contact support" is different, and is always drawn: the form behind it is DAZN's too,
|
|
3469
|
+
* but the row has somewhere to go without them wiring anything, because pressing it raises
|
|
3470
|
+
* `support_requested`.
|
|
3471
|
+
*
|
|
3472
|
+
* Below the widget this is the confirmation screen: the same rows, the same two cards, the
|
|
3473
|
+
* same components (`OrderReceipt`).
|
|
2760
3474
|
*/
|
|
2761
3475
|
export declare function OrderTrackingView(props: OrderTrackingViewProps): JSX.Element;
|
|
2762
3476
|
|
|
@@ -2765,6 +3479,24 @@ export declare interface OrderTrackingViewProps {
|
|
|
2765
3479
|
orderRef: string;
|
|
2766
3480
|
/** Overrides the provider's locale for dates. */
|
|
2767
3481
|
locale?: string;
|
|
3482
|
+
/**
|
|
3483
|
+
* The "Need help?" block's first row, under a delivered order.
|
|
3484
|
+
*
|
|
3485
|
+
* **Not ours to wire.** Returns are DAZN's under ADR-0008 and nothing in the tracking
|
|
3486
|
+
* contract can start one, so the row is drawn only for a host that owns that flow and
|
|
3487
|
+
* says so by passing a handler. There is no event: we cannot report a return as
|
|
3488
|
+
* requested when nothing can act on it.
|
|
3489
|
+
*/
|
|
3490
|
+
onStartReturn?: () => void;
|
|
3491
|
+
/**
|
|
3492
|
+
* The block's second row, which is always drawn under a delivered order.
|
|
3493
|
+
*
|
|
3494
|
+
* **The Contact Support form is DAZN's**, so the row hands off rather than opening
|
|
3495
|
+
* anything of ours: it raises `support_requested` with the reference, and calls this
|
|
3496
|
+
* handler as well when there is one. Same terms as the checkout CTA, which is likewise
|
|
3497
|
+
* always drawn and likewise ends in an event.
|
|
3498
|
+
*/
|
|
3499
|
+
onContactSupport?: () => void;
|
|
2768
3500
|
}
|
|
2769
3501
|
|
|
2770
3502
|
/** PCP hero — category title and tagline read over a full-screen lifestyle image. */
|
|
@@ -2976,21 +3708,69 @@ declare const Product: z.ZodObject<{
|
|
|
2976
3708
|
*/
|
|
2977
3709
|
size_guide: z.ZodOptional<z.ZodObject<{
|
|
2978
3710
|
title: z.ZodString;
|
|
2979
|
-
/**
|
|
3711
|
+
/** The fit this chart is for, e.g. "Oversized hoodies and zip-ups · Unisex". */
|
|
3712
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
3713
|
+
/**
|
|
3714
|
+
* Column headings for `rows`, e.g. `['Size', 'Chest', 'Length']`.
|
|
3715
|
+
*
|
|
3716
|
+
* Bare nouns, with no unit in the heading: the unit belongs to the whole chart and is
|
|
3717
|
+
* named by `unit`, so that a consumer converting to the other unit does not leave
|
|
3718
|
+
* "Chest (cm)" written above a column of inches.
|
|
3719
|
+
*/
|
|
2980
3720
|
columns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2981
3721
|
/** One row per size; each row's length matches `columns`. */
|
|
2982
3722
|
rows: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
3723
|
+
/**
|
|
3724
|
+
* The unit `rows` are written in.
|
|
3725
|
+
*
|
|
3726
|
+
* Absent means the numbers carry no declared unit — a consumer must then show them as
|
|
3727
|
+
* they are and offer no conversion, because it has nothing to convert from.
|
|
3728
|
+
*/
|
|
3729
|
+
unit: z.ZodOptional<z.ZodEnum<["cm", "in"]>>;
|
|
3730
|
+
/** The line under the table, e.g. "All measurements are taken from the garment laid flat, not from the body." */
|
|
3731
|
+
note: z.ZodOptional<z.ZodString>;
|
|
3732
|
+
/** The "How to measure" list. Absent/empty = the section is not drawn. */
|
|
3733
|
+
measurements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3734
|
+
/** e.g. "Chest width". */
|
|
3735
|
+
label: z.ZodString;
|
|
3736
|
+
/** e.g. "Measured 2.5 cm below the armhole, garment flat." */
|
|
3737
|
+
description: z.ZodString;
|
|
3738
|
+
}, "strip", z.ZodTypeAny, {
|
|
3739
|
+
label: string;
|
|
3740
|
+
description: string;
|
|
3741
|
+
}, {
|
|
3742
|
+
label: string;
|
|
3743
|
+
description: string;
|
|
3744
|
+
}>, "many">>;
|
|
3745
|
+
/** The fabric line, e.g. "100% cotton · 220–240 GSM · Oversized fit · Sizes XS–XL". */
|
|
3746
|
+
fabric: z.ZodOptional<z.ZodString>;
|
|
2983
3747
|
/** Free-text fit guidance, e.g. "Relaxed, slightly oversized fit". */
|
|
2984
3748
|
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2985
3749
|
}, "strip", z.ZodTypeAny, {
|
|
2986
3750
|
title: string;
|
|
3751
|
+
subtitle?: string | undefined;
|
|
2987
3752
|
columns?: string[] | undefined;
|
|
2988
3753
|
rows?: string[][] | undefined;
|
|
3754
|
+
unit?: "cm" | "in" | undefined;
|
|
3755
|
+
note?: string | undefined;
|
|
3756
|
+
measurements?: {
|
|
3757
|
+
label: string;
|
|
3758
|
+
description: string;
|
|
3759
|
+
}[] | undefined;
|
|
3760
|
+
fabric?: string | undefined;
|
|
2989
3761
|
notes?: string[] | undefined;
|
|
2990
3762
|
}, {
|
|
2991
3763
|
title: string;
|
|
3764
|
+
subtitle?: string | undefined;
|
|
2992
3765
|
columns?: string[] | undefined;
|
|
2993
3766
|
rows?: string[][] | undefined;
|
|
3767
|
+
unit?: "cm" | "in" | undefined;
|
|
3768
|
+
note?: string | undefined;
|
|
3769
|
+
measurements?: {
|
|
3770
|
+
label: string;
|
|
3771
|
+
description: string;
|
|
3772
|
+
}[] | undefined;
|
|
3773
|
+
fabric?: string | undefined;
|
|
2994
3774
|
notes?: string[] | undefined;
|
|
2995
3775
|
}>>;
|
|
2996
3776
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3009,11 +3789,11 @@ declare const Product: z.ZodObject<{
|
|
|
3009
3789
|
image?: string | undefined;
|
|
3010
3790
|
available?: number | undefined;
|
|
3011
3791
|
}[];
|
|
3792
|
+
description?: string | undefined;
|
|
3012
3793
|
compare_at?: {
|
|
3013
3794
|
amount: number;
|
|
3014
3795
|
currency: string;
|
|
3015
3796
|
} | undefined;
|
|
3016
|
-
description?: string | undefined;
|
|
3017
3797
|
badges?: string[] | undefined;
|
|
3018
3798
|
promo?: {
|
|
3019
3799
|
message: string;
|
|
@@ -3021,8 +3801,16 @@ declare const Product: z.ZodObject<{
|
|
|
3021
3801
|
} | undefined;
|
|
3022
3802
|
size_guide?: {
|
|
3023
3803
|
title: string;
|
|
3804
|
+
subtitle?: string | undefined;
|
|
3024
3805
|
columns?: string[] | undefined;
|
|
3025
3806
|
rows?: string[][] | undefined;
|
|
3807
|
+
unit?: "cm" | "in" | undefined;
|
|
3808
|
+
note?: string | undefined;
|
|
3809
|
+
measurements?: {
|
|
3810
|
+
label: string;
|
|
3811
|
+
description: string;
|
|
3812
|
+
}[] | undefined;
|
|
3813
|
+
fabric?: string | undefined;
|
|
3026
3814
|
notes?: string[] | undefined;
|
|
3027
3815
|
} | undefined;
|
|
3028
3816
|
}, {
|
|
@@ -3041,11 +3829,11 @@ declare const Product: z.ZodObject<{
|
|
|
3041
3829
|
image?: string | undefined;
|
|
3042
3830
|
available?: number | undefined;
|
|
3043
3831
|
}[];
|
|
3832
|
+
description?: string | undefined;
|
|
3044
3833
|
compare_at?: {
|
|
3045
3834
|
amount: number;
|
|
3046
3835
|
currency: string;
|
|
3047
3836
|
} | undefined;
|
|
3048
|
-
description?: string | undefined;
|
|
3049
3837
|
badges?: string[] | undefined;
|
|
3050
3838
|
promo?: {
|
|
3051
3839
|
message: string;
|
|
@@ -3053,8 +3841,16 @@ declare const Product: z.ZodObject<{
|
|
|
3053
3841
|
} | undefined;
|
|
3054
3842
|
size_guide?: {
|
|
3055
3843
|
title: string;
|
|
3844
|
+
subtitle?: string | undefined;
|
|
3056
3845
|
columns?: string[] | undefined;
|
|
3057
3846
|
rows?: string[][] | undefined;
|
|
3847
|
+
unit?: "cm" | "in" | undefined;
|
|
3848
|
+
note?: string | undefined;
|
|
3849
|
+
measurements?: {
|
|
3850
|
+
label: string;
|
|
3851
|
+
description: string;
|
|
3852
|
+
}[] | undefined;
|
|
3853
|
+
fabric?: string | undefined;
|
|
3058
3854
|
notes?: string[] | undefined;
|
|
3059
3855
|
} | undefined;
|
|
3060
3856
|
}>;
|
|
@@ -3091,6 +3887,29 @@ export declare interface ProductDetailsProps {
|
|
|
3091
3887
|
description: string;
|
|
3092
3888
|
}
|
|
3093
3889
|
|
|
3890
|
+
/**
|
|
3891
|
+
* One product as its own gallery (Figma `mobile/limited edition`, 5304:77067).
|
|
3892
|
+
*
|
|
3893
|
+
* **The third shape a product takes on a category page**, and the reason it is its own
|
|
3894
|
+
* component rather than a variant of the other two: `featured` is one product as one large
|
|
3895
|
+
* card, a rail is many products each with their own name and price, and this is one
|
|
3896
|
+
* product whose *pictures* fill the row — so there is a single name and price under it,
|
|
3897
|
+
* not one per card.
|
|
3898
|
+
*
|
|
3899
|
+
* The images are the product's own `media`. There is no second list to keep in step with
|
|
3900
|
+
* the PDP, and a garment reshot in one place is reshot everywhere.
|
|
3901
|
+
*
|
|
3902
|
+
* Figma instances it under two different headings — "Limited edition" on Jackets, "Summer
|
|
3903
|
+
* sets" on Seasonal — so the heading is content and never a constant here.
|
|
3904
|
+
*/
|
|
3905
|
+
export declare function ProductGallery({ title, product }: ProductGalleryProps): JSX.Element;
|
|
3906
|
+
|
|
3907
|
+
export declare interface ProductGalleryProps {
|
|
3908
|
+
/** The heading above the row — "Limited edition", "Summer sets". */
|
|
3909
|
+
title: string;
|
|
3910
|
+
product: Product;
|
|
3911
|
+
}
|
|
3912
|
+
|
|
3094
3913
|
/**
|
|
3095
3914
|
* PLP grid with cursor-based infinite scroll and a chip FilterBar.
|
|
3096
3915
|
*
|
|
@@ -3435,6 +4254,18 @@ export declare type ShopEvent = {
|
|
|
3435
4254
|
| {
|
|
3436
4255
|
type: 'stock_alert_requested';
|
|
3437
4256
|
sku: string;
|
|
4257
|
+
}
|
|
4258
|
+
/**
|
|
4259
|
+
* A fan asked for help with a delivered order (0.17.2).
|
|
4260
|
+
*
|
|
4261
|
+
* **The Contact Support form is DAZN's**, so this is a hand-off rather than a step in a
|
|
4262
|
+
* flow we own: the fan pressed the row on the order screen, and where they go next is
|
|
4263
|
+
* the host's to decide. Same shape as `checkout_handoff` — we know the moment and the
|
|
4264
|
+
* order, and nothing after it.
|
|
4265
|
+
*/
|
|
4266
|
+
| {
|
|
4267
|
+
type: 'support_requested';
|
|
4268
|
+
orderRef: string;
|
|
3438
4269
|
} | {
|
|
3439
4270
|
type: 'checkout_handoff';
|
|
3440
4271
|
cartId: string;
|
|
@@ -3736,13 +4567,18 @@ export declare interface ShopSurfaceProps extends Omit<ComponentPropsWithoutRef<
|
|
|
3736
4567
|
export declare type ShopTone = 'dark' | 'light';
|
|
3737
4568
|
|
|
3738
4569
|
/**
|
|
3739
|
-
*
|
|
4570
|
+
* Sizing help, shown in the PDP "Size guide" overlay (Figma `size-guide`, 4882:58365).
|
|
4571
|
+
*
|
|
4572
|
+
* **A guide belongs to a fit, not to a category.** The design's three variants are
|
|
4573
|
+
* "Oversized hoodies and zip-ups", "Oversized t-shirts" and "Slim fit t-shirts" — two of
|
|
4574
|
+
* which are the same category cut two ways, so a chart keyed by category cannot express
|
|
4575
|
+
* them. `subtitle` is the fit's own name and is what a fan reads to check they are
|
|
4576
|
+
* looking at the right chart.
|
|
3740
4577
|
*
|
|
3741
4578
|
* `rows` is a measurement table (one row per size). It is **optional and may be empty**:
|
|
3742
|
-
*
|
|
3743
|
-
*
|
|
3744
|
-
*
|
|
3745
|
-
* alone; a consumer must not synthesise the missing numbers.
|
|
4579
|
+
* garment measurements are the kind of value that must never be guessed — a fabricated
|
|
4580
|
+
* chest measurement sends a fan the wrong size. A guide with notes but no `rows` is valid
|
|
4581
|
+
* and renders as fit guidance alone; a consumer must not synthesise the missing numbers.
|
|
3746
4582
|
*
|
|
3747
4583
|
* The array fields are `.optional()` rather than `.default([])` deliberately. A zod
|
|
3748
4584
|
* default makes the schema's input and output types diverge, and this package ships two
|
|
@@ -3752,35 +4588,86 @@ export declare type ShopTone = 'dark' | 'light';
|
|
|
3752
4588
|
*/
|
|
3753
4589
|
declare const SizeGuide: z.ZodObject<{
|
|
3754
4590
|
title: z.ZodString;
|
|
3755
|
-
/**
|
|
4591
|
+
/** The fit this chart is for, e.g. "Oversized hoodies and zip-ups · Unisex". */
|
|
4592
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
4593
|
+
/**
|
|
4594
|
+
* Column headings for `rows`, e.g. `['Size', 'Chest', 'Length']`.
|
|
4595
|
+
*
|
|
4596
|
+
* Bare nouns, with no unit in the heading: the unit belongs to the whole chart and is
|
|
4597
|
+
* named by `unit`, so that a consumer converting to the other unit does not leave
|
|
4598
|
+
* "Chest (cm)" written above a column of inches.
|
|
4599
|
+
*/
|
|
3756
4600
|
columns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3757
4601
|
/** One row per size; each row's length matches `columns`. */
|
|
3758
4602
|
rows: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
4603
|
+
/**
|
|
4604
|
+
* The unit `rows` are written in.
|
|
4605
|
+
*
|
|
4606
|
+
* Absent means the numbers carry no declared unit — a consumer must then show them as
|
|
4607
|
+
* they are and offer no conversion, because it has nothing to convert from.
|
|
4608
|
+
*/
|
|
4609
|
+
unit: z.ZodOptional<z.ZodEnum<["cm", "in"]>>;
|
|
4610
|
+
/** The line under the table, e.g. "All measurements are taken from the garment laid flat, not from the body." */
|
|
4611
|
+
note: z.ZodOptional<z.ZodString>;
|
|
4612
|
+
/** The "How to measure" list. Absent/empty = the section is not drawn. */
|
|
4613
|
+
measurements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4614
|
+
/** e.g. "Chest width". */
|
|
4615
|
+
label: z.ZodString;
|
|
4616
|
+
/** e.g. "Measured 2.5 cm below the armhole, garment flat." */
|
|
4617
|
+
description: z.ZodString;
|
|
4618
|
+
}, "strip", z.ZodTypeAny, {
|
|
4619
|
+
label: string;
|
|
4620
|
+
description: string;
|
|
4621
|
+
}, {
|
|
4622
|
+
label: string;
|
|
4623
|
+
description: string;
|
|
4624
|
+
}>, "many">>;
|
|
4625
|
+
/** The fabric line, e.g. "100% cotton · 220–240 GSM · Oversized fit · Sizes XS–XL". */
|
|
4626
|
+
fabric: z.ZodOptional<z.ZodString>;
|
|
3759
4627
|
/** Free-text fit guidance, e.g. "Relaxed, slightly oversized fit". */
|
|
3760
4628
|
notes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3761
4629
|
}, "strip", z.ZodTypeAny, {
|
|
3762
4630
|
title: string;
|
|
4631
|
+
subtitle?: string | undefined;
|
|
3763
4632
|
columns?: string[] | undefined;
|
|
3764
4633
|
rows?: string[][] | undefined;
|
|
4634
|
+
unit?: "cm" | "in" | undefined;
|
|
4635
|
+
note?: string | undefined;
|
|
4636
|
+
measurements?: {
|
|
4637
|
+
label: string;
|
|
4638
|
+
description: string;
|
|
4639
|
+
}[] | undefined;
|
|
4640
|
+
fabric?: string | undefined;
|
|
3765
4641
|
notes?: string[] | undefined;
|
|
3766
4642
|
}, {
|
|
3767
4643
|
title: string;
|
|
4644
|
+
subtitle?: string | undefined;
|
|
3768
4645
|
columns?: string[] | undefined;
|
|
3769
4646
|
rows?: string[][] | undefined;
|
|
4647
|
+
unit?: "cm" | "in" | undefined;
|
|
4648
|
+
note?: string | undefined;
|
|
4649
|
+
measurements?: {
|
|
4650
|
+
label: string;
|
|
4651
|
+
description: string;
|
|
4652
|
+
}[] | undefined;
|
|
4653
|
+
fabric?: string | undefined;
|
|
3770
4654
|
notes?: string[] | undefined;
|
|
3771
4655
|
}>;
|
|
3772
4656
|
|
|
3773
4657
|
declare type SizeGuide = z.infer<typeof SizeGuide>;
|
|
3774
4658
|
|
|
3775
4659
|
/**
|
|
3776
|
-
* The
|
|
3777
|
-
*
|
|
4660
|
+
* The PDP size guide (Figma `size-guide`, 4882:58365) — a bottom sheet over the product,
|
|
4661
|
+
* opened from the "Size guide" row under the size chips.
|
|
4662
|
+
*
|
|
4663
|
+
* **It renders whatever the guide actually carries, and draws nothing it has not been
|
|
4664
|
+
* given.** No chart, no table; no `measurements`, no "How to measure"; no `fabric`, no
|
|
4665
|
+
* fabric line. A size guide is one of the few screens where filling a gap with something
|
|
4666
|
+
* plausible has a cost measured in returns, so every block here is conditional and none
|
|
4667
|
+
* of them has a fallback.
|
|
3778
4668
|
*
|
|
3779
|
-
*
|
|
3780
|
-
*
|
|
3781
|
-
* appear — the component must never fabricate measurements to fill it, because a wrong
|
|
3782
|
-
* chest figure sends a fan the wrong size. When the real chart arrives the table renders
|
|
3783
|
-
* with no code change.
|
|
4669
|
+
* The cm/inches control is the one place the sheet computes rather than renders, and it
|
|
4670
|
+
* only appears when the guide declares the unit its numbers are in — see `convert`.
|
|
3784
4671
|
*/
|
|
3785
4672
|
export declare function SizeGuideSheet({ guide, onClose }: {
|
|
3786
4673
|
guide: SizeGuide;
|
|
@@ -3912,13 +4799,13 @@ declare const SupportTicketRequest: z.ZodObject<{
|
|
|
3912
4799
|
image_url: z.ZodOptional<z.ZodString>;
|
|
3913
4800
|
}, "strict", z.ZodTypeAny, {
|
|
3914
4801
|
email: string;
|
|
3915
|
-
category: string;
|
|
3916
4802
|
description: string;
|
|
4803
|
+
category: string;
|
|
3917
4804
|
image_url?: string | undefined;
|
|
3918
4805
|
}, {
|
|
3919
4806
|
email: string;
|
|
3920
|
-
category: string;
|
|
3921
4807
|
description: string;
|
|
4808
|
+
category: string;
|
|
3922
4809
|
image_url?: string | undefined;
|
|
3923
4810
|
}>;
|
|
3924
4811
|
|