@gfed-medusa/sf-lib-common 3.10.0 → 3.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/components/breadcrumbs/index.d.ts +2 -2
  2. package/dist/components/cart-mismatch-banner/index.d.ts +2 -2
  3. package/dist/components/delete-button/index.d.ts +2 -2
  4. package/dist/components/error-message/index.d.ts +2 -2
  5. package/dist/components/free-shipping-price-nudge/index.d.ts +2 -2
  6. package/dist/components/interactive-link/index.d.ts +2 -2
  7. package/dist/components/line-item-options/index.d.ts +2 -2
  8. package/dist/components/line-item-price/index.d.ts +2 -2
  9. package/dist/components/line-item-price/index.d.ts.map +1 -1
  10. package/dist/components/localized-client-link/index.d.ts +2 -2
  11. package/dist/components/modal/index.d.ts +2 -2
  12. package/dist/components/modal/index.d.ts.map +1 -1
  13. package/dist/components/personalized-content/components/featured-category-rail.d.ts +2 -2
  14. package/dist/components/personalized-content/components/hero-banner.d.ts +2 -2
  15. package/dist/components/personalized-content/components/hero-banner.d.ts.map +1 -1
  16. package/dist/components/preview-price/index.d.ts +2 -2
  17. package/dist/components/product-card/index.d.ts +2 -2
  18. package/dist/components/product-card/index.d.ts.map +1 -1
  19. package/dist/components/product-preview/index.d.ts +2 -2
  20. package/dist/components/product-preview/index.d.ts.map +1 -1
  21. package/dist/components/submit-button/index.d.ts +2 -2
  22. package/dist/components/submit-button/index.d.ts.map +1 -1
  23. package/dist/lib/context/apollo-context.d.ts +2 -2
  24. package/dist/lib/context/modal-context.d.ts +2 -2
  25. package/dist/lib/data/context.d.ts +2 -2
  26. package/dist/lib/data/personalization.d.ts +3 -4
  27. package/dist/lib/data/personalization.d.ts.map +1 -1
  28. package/dist/lib/data/personalization.js +5 -7
  29. package/dist/lib/data/personalization.js.map +1 -1
  30. package/dist/lib/gql/fragments/cart.d.ts +9 -9
  31. package/dist/lib/gql/fragments/customer.d.ts +3 -3
  32. package/dist/lib/gql/fragments/customer.d.ts.map +1 -1
  33. package/dist/lib/gql/queries/cart.d.ts +2 -2
  34. package/dist/lib/gql/queries/collections.d.ts +3 -3
  35. package/dist/lib/gql/queries/collections.d.ts.map +1 -1
  36. package/dist/lib/gql/queries/customer.d.ts +2 -2
  37. package/dist/lib/gql/queries/footer.d.ts +3 -3
  38. package/dist/lib/gql/queries/order.d.ts +4 -4
  39. package/dist/lib/gql/queries/product-personalization.d.ts +2 -2
  40. package/dist/lib/gql/queries/product.d.ts +2 -2
  41. package/dist/lib/gql/queries/regions.d.ts +3 -3
  42. package/dist/lib/gql/queries/shipping.d.ts +3 -3
  43. package/dist/lib/hooks/use-apollo.d.ts +2 -2
  44. package/dist/lib/hooks/use-apollo.d.ts.map +1 -1
  45. package/dist/lib/personalization/client-signal.d.ts +2 -10
  46. package/dist/lib/personalization/client-signal.d.ts.map +1 -1
  47. package/dist/lib/personalization/client-signal.js +2 -49
  48. package/dist/lib/personalization/client-signal.js.map +1 -1
  49. package/dist/lib/personalization/personalization-gql.d.ts +4 -4
  50. package/dist/lib/personalization/personalization-gql.js +2 -2
  51. package/dist/lib/personalization/personalization-gql.js.map +1 -1
  52. package/dist/types/graphql.d.ts +46 -62
  53. package/dist/types/graphql.d.ts.map +1 -1
  54. package/dist/types/graphql.js +38 -351
  55. package/dist/types/graphql.js.map +1 -1
  56. package/package.json +3 -3
@@ -9325,299 +9325,6 @@ const GetFooterDataDocument = {
9325
9325
  }
9326
9326
  }]
9327
9327
  };
9328
- const GetHomeBannerDocument = {
9329
- kind: "Document",
9330
- definitions: [{
9331
- kind: "OperationDefinition",
9332
- operation: "query",
9333
- name: {
9334
- kind: "Name",
9335
- value: "GetHomeBanner"
9336
- },
9337
- variableDefinitions: [{
9338
- kind: "VariableDefinition",
9339
- variable: {
9340
- kind: "Variable",
9341
- name: {
9342
- kind: "Name",
9343
- value: "audience"
9344
- }
9345
- },
9346
- type: {
9347
- kind: "NamedType",
9348
- name: {
9349
- kind: "Name",
9350
- value: "String"
9351
- }
9352
- }
9353
- }, {
9354
- kind: "VariableDefinition",
9355
- variable: {
9356
- kind: "Variable",
9357
- name: {
9358
- kind: "Name",
9359
- value: "segment"
9360
- }
9361
- },
9362
- type: {
9363
- kind: "NamedType",
9364
- name: {
9365
- kind: "Name",
9366
- value: "String"
9367
- }
9368
- }
9369
- }],
9370
- selectionSet: {
9371
- kind: "SelectionSet",
9372
- selections: [{
9373
- kind: "Field",
9374
- name: {
9375
- kind: "Name",
9376
- value: "homeBanner"
9377
- },
9378
- arguments: [{
9379
- kind: "Argument",
9380
- name: {
9381
- kind: "Name",
9382
- value: "audience"
9383
- },
9384
- value: {
9385
- kind: "Variable",
9386
- name: {
9387
- kind: "Name",
9388
- value: "audience"
9389
- }
9390
- }
9391
- }, {
9392
- kind: "Argument",
9393
- name: {
9394
- kind: "Name",
9395
- value: "segment"
9396
- },
9397
- value: {
9398
- kind: "Variable",
9399
- name: {
9400
- kind: "Name",
9401
- value: "segment"
9402
- }
9403
- }
9404
- }],
9405
- selectionSet: {
9406
- kind: "SelectionSet",
9407
- selections: [
9408
- {
9409
- kind: "Field",
9410
- name: {
9411
- kind: "Name",
9412
- value: "_id"
9413
- }
9414
- },
9415
- {
9416
- kind: "Field",
9417
- name: {
9418
- kind: "Name",
9419
- value: "_type"
9420
- }
9421
- },
9422
- {
9423
- kind: "Field",
9424
- name: {
9425
- kind: "Name",
9426
- value: "eyebrow"
9427
- }
9428
- },
9429
- {
9430
- kind: "Field",
9431
- name: {
9432
- kind: "Name",
9433
- value: "title"
9434
- }
9435
- },
9436
- {
9437
- kind: "Field",
9438
- name: {
9439
- kind: "Name",
9440
- value: "description"
9441
- }
9442
- },
9443
- {
9444
- kind: "Field",
9445
- name: {
9446
- kind: "Name",
9447
- value: "showPoweredBy"
9448
- }
9449
- },
9450
- {
9451
- kind: "Field",
9452
- name: {
9453
- kind: "Name",
9454
- value: "buttons"
9455
- },
9456
- selectionSet: {
9457
- kind: "SelectionSet",
9458
- selections: [
9459
- {
9460
- kind: "Field",
9461
- name: {
9462
- kind: "Name",
9463
- value: "label"
9464
- }
9465
- },
9466
- {
9467
- kind: "Field",
9468
- name: {
9469
- kind: "Name",
9470
- value: "href"
9471
- }
9472
- },
9473
- {
9474
- kind: "Field",
9475
- name: {
9476
- kind: "Name",
9477
- value: "openInNewTab"
9478
- }
9479
- }
9480
- ]
9481
- }
9482
- },
9483
- {
9484
- kind: "Field",
9485
- name: {
9486
- kind: "Name",
9487
- value: "secondaryBanners"
9488
- },
9489
- selectionSet: {
9490
- kind: "SelectionSet",
9491
- selections: [
9492
- {
9493
- kind: "Field",
9494
- name: {
9495
- kind: "Name",
9496
- value: "title"
9497
- }
9498
- },
9499
- {
9500
- kind: "Field",
9501
- name: {
9502
- kind: "Name",
9503
- value: "description"
9504
- }
9505
- },
9506
- {
9507
- kind: "Field",
9508
- name: {
9509
- kind: "Name",
9510
- value: "showPoweredBy"
9511
- }
9512
- },
9513
- {
9514
- kind: "Field",
9515
- name: {
9516
- kind: "Name",
9517
- value: "image"
9518
- },
9519
- selectionSet: {
9520
- kind: "SelectionSet",
9521
- selections: [{
9522
- kind: "Field",
9523
- name: {
9524
- kind: "Name",
9525
- value: "alt"
9526
- }
9527
- }, {
9528
- kind: "Field",
9529
- name: {
9530
- kind: "Name",
9531
- value: "asset"
9532
- },
9533
- selectionSet: {
9534
- kind: "SelectionSet",
9535
- selections: [{
9536
- kind: "Field",
9537
- name: {
9538
- kind: "Name",
9539
- value: "url"
9540
- }
9541
- }]
9542
- }
9543
- }]
9544
- }
9545
- },
9546
- {
9547
- kind: "Field",
9548
- name: {
9549
- kind: "Name",
9550
- value: "button"
9551
- },
9552
- selectionSet: {
9553
- kind: "SelectionSet",
9554
- selections: [
9555
- {
9556
- kind: "Field",
9557
- name: {
9558
- kind: "Name",
9559
- value: "label"
9560
- }
9561
- },
9562
- {
9563
- kind: "Field",
9564
- name: {
9565
- kind: "Name",
9566
- value: "href"
9567
- }
9568
- },
9569
- {
9570
- kind: "Field",
9571
- name: {
9572
- kind: "Name",
9573
- value: "openInNewTab"
9574
- }
9575
- }
9576
- ]
9577
- }
9578
- }
9579
- ]
9580
- }
9581
- },
9582
- {
9583
- kind: "Field",
9584
- name: {
9585
- kind: "Name",
9586
- value: "image"
9587
- },
9588
- selectionSet: {
9589
- kind: "SelectionSet",
9590
- selections: [{
9591
- kind: "Field",
9592
- name: {
9593
- kind: "Name",
9594
- value: "alt"
9595
- }
9596
- }, {
9597
- kind: "Field",
9598
- name: {
9599
- kind: "Name",
9600
- value: "asset"
9601
- },
9602
- selectionSet: {
9603
- kind: "SelectionSet",
9604
- selections: [{
9605
- kind: "Field",
9606
- name: {
9607
- kind: "Name",
9608
- value: "url"
9609
- }
9610
- }]
9611
- }
9612
- }]
9613
- }
9614
- }
9615
- ]
9616
- }
9617
- }]
9618
- }
9619
- }]
9620
- };
9621
9328
  const GetOrderDocument = {
9622
9329
  kind: "Document",
9623
9330
  definitions: [{
@@ -10952,65 +10659,45 @@ const GetProductByHandleForPersonalizationDocument = {
10952
10659
  },
10953
10660
  selectionSet: {
10954
10661
  kind: "SelectionSet",
10955
- selections: [
10956
- {
10957
- kind: "Field",
10958
- name: {
10959
- kind: "Name",
10960
- value: "id"
10961
- }
10962
- },
10963
- {
10964
- kind: "Field",
10965
- name: {
10966
- kind: "Name",
10967
- value: "categories"
10968
- },
10969
- selectionSet: {
10970
- kind: "SelectionSet",
10971
- selections: [{
10972
- kind: "Field",
10973
- name: {
10974
- kind: "Name",
10975
- value: "handle"
10976
- }
10977
- }]
10978
- }
10662
+ selections: [{
10663
+ kind: "Field",
10664
+ name: {
10665
+ kind: "Name",
10666
+ value: "id"
10667
+ }
10668
+ }, {
10669
+ kind: "Field",
10670
+ name: {
10671
+ kind: "Name",
10672
+ value: "variants"
10979
10673
  },
10980
- {
10981
- kind: "Field",
10982
- name: {
10983
- kind: "Name",
10984
- value: "variants"
10985
- },
10986
- selectionSet: {
10987
- kind: "SelectionSet",
10988
- selections: [{
10989
- kind: "Field",
10990
- name: {
10991
- kind: "Name",
10992
- value: "id"
10993
- }
10994
- }, {
10995
- kind: "Field",
10996
- name: {
10997
- kind: "Name",
10998
- value: "calculatedPrice"
10999
- },
11000
- selectionSet: {
11001
- kind: "SelectionSet",
11002
- selections: [{
11003
- kind: "Field",
11004
- name: {
11005
- kind: "Name",
11006
- value: "amount"
11007
- }
11008
- }]
11009
- }
11010
- }]
11011
- }
10674
+ selectionSet: {
10675
+ kind: "SelectionSet",
10676
+ selections: [{
10677
+ kind: "Field",
10678
+ name: {
10679
+ kind: "Name",
10680
+ value: "id"
10681
+ }
10682
+ }, {
10683
+ kind: "Field",
10684
+ name: {
10685
+ kind: "Name",
10686
+ value: "calculatedPrice"
10687
+ },
10688
+ selectionSet: {
10689
+ kind: "SelectionSet",
10690
+ selections: [{
10691
+ kind: "Field",
10692
+ name: {
10693
+ kind: "Name",
10694
+ value: "amount"
10695
+ }
10696
+ }]
10697
+ }
10698
+ }]
11012
10699
  }
11013
- ]
10700
+ }]
11014
10701
  }
11015
10702
  }]
11016
10703
  }
@@ -11715,5 +11402,5 @@ const GetShippingOptionsDocument = {
11715
11402
  };
11716
11403
 
11717
11404
  //#endregion
11718
- export { AddressFieldsFragmentDoc, ApplicationType, BrowseProductsSort, CacheControlScope, CartFieldsFragmentDoc, CartItemFieldsFragmentDoc, CollectionProductsFragmentDoc, CollectionProductsHomeFragmentDoc, CountryFieldsFragmentDoc, CreateCartDocument, CreateLineItemDocument, CustomerAddressFragmentDoc, CustomerFragmentDoc, DeleteLineItemDocument, EngagementLevel, GetCartDocument, GetCartItemCountDocument, GetCartTotalDocument, GetCollectionsDocument, GetCollectionsHomeDocument, GetCustomerDocument, GetFooterDataDocument, GetFooterDocument, GetHomeBannerDocument, GetOrderDocument, GetOrdersDocument, GetProductByHandleForPersonalizationDocument, GetProductCategoriesDocument, GetRegionDocument, GetShippingOptionsDocument, LifecycleStage, ListRegionsDocument, OrderFieldsFragmentDoc, PaymentCollectionFieldsFragmentDoc, PaymentSessionStatus, PaymentStatus, PriceFragmentDoc, ProductCategoryFragmentDoc, ProductCollectionFragmentDoc, ProductImageFragmentDoc, ProductVariantFragmentDoc, PromotionFieldsFragmentDoc, RegionFieldsFragmentDoc, ShippingMethodFieldsFragmentDoc, ShippingOptionFieldsFragmentDoc, SignalType, TransferCartDocument, UpdateCartDocument };
11405
+ export { AddressFieldsFragmentDoc, ApplicationType, BrowseProductsSort, CacheControlScope, CartFieldsFragmentDoc, CartItemFieldsFragmentDoc, CollectionProductsFragmentDoc, CollectionProductsHomeFragmentDoc, CountryFieldsFragmentDoc, CreateCartDocument, CreateLineItemDocument, CustomerAddressFragmentDoc, CustomerFragmentDoc, DeleteLineItemDocument, EngagementLevel, GetCartDocument, GetCartItemCountDocument, GetCartTotalDocument, GetCollectionsDocument, GetCollectionsHomeDocument, GetCustomerDocument, GetFooterDataDocument, GetFooterDocument, GetOrderDocument, GetOrdersDocument, GetProductByHandleForPersonalizationDocument, GetProductCategoriesDocument, GetRegionDocument, GetShippingOptionsDocument, LifecycleStage, ListRegionsDocument, OrderFieldsFragmentDoc, PaymentCollectionFieldsFragmentDoc, PaymentSessionStatus, PaymentStatus, PriceFragmentDoc, ProductCategoryFragmentDoc, ProductCollectionFragmentDoc, ProductImageFragmentDoc, ProductVariantFragmentDoc, PromotionFieldsFragmentDoc, RegionFieldsFragmentDoc, ShippingMethodFieldsFragmentDoc, ShippingOptionFieldsFragmentDoc, SignalType, TransferCartDocument, UpdateCartDocument };
11719
11406
  //# sourceMappingURL=graphql.js.map