123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613
{
  "surface_id": "shopping-list-selection-lists",
  "surface_version": 1,
  "payload": {
    "objects": [
      {
        "beginRendering": {
          "surfaceId": "shopping-list-selection-lists",
          "root": "shopping-list-card"
        }
      },
      {
        "surfaceUpdate": {
          "surfaceId": "shopping-list-selection-lists",
          "components": [
            {
              "id": "shopping-list-card",
              "component": {
                "Card": {
                  "child": "shopping-list-column"
                }
              }
            },
            {
              "id": "shopping-list-column",
              "component": {
                "Column": {
                  "alignment": "stretch",
                  "children": {
                    "explicitList": [
                      "shopping-list-title",
                      "shopping-list-divider",
                      "produce-selection",
                      "condiments-header",
                      "condiments-divider",
                      "condiments-selection",
                      "protein-header",
                      "protein-divider",
                      "protein-selection",
                      "add-to-cart-button"
                    ]
                  }
                }
              }
            },
            {
              "id": "shopping-list-title",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Shopping list"
                  },
                  "variant": "title"
                }
              }
            },
            {
              "id": "shopping-list-divider",
              "component": {
                "Divider": {}
              }
            },
            {
              "id": "produce-selection",
              "component": {
                "SelectionList": {
                  "selection": {
                    "path": "/produceSelection",
                    "literalArray": [
                      "baby_spinach",
                      "yellow_onions"
                    ]
                  },
                  "maxSelection": 3,
                  "items": [
                    {
                      "value": "baby_spinach",
                      "child": "produce-item-spinach"
                    },
                    {
                      "value": "yellow_onions",
                      "child": "produce-item-onions"
                    },
                    {
                      "value": "celery_hearts",
                      "child": "produce-item-celery"
                    }
                  ]
                }
              }
            },
            {
              "id": "produce-item-spinach",
              "component": {
                "Row": {
                  "alignment": "center",
                  "distribution": "spaceBetween",
                  "children": {
                    "explicitList": [
                      "produce-item-spinach-name",
                      "produce-item-spinach-qty"
                    ]
                  }
                }
              }
            },
            {
              "id": "produce-item-spinach-name",
              "weight": 1,
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Baby spinach"
                  },
                  "variant": "bodySans"
                }
              }
            },
            {
              "id": "produce-item-spinach-qty",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "1 bunch (6-8 oz)"
                  },
                  "variant": "bodySans",
                  "color": "secondary"
                }
              }
            },
            {
              "id": "produce-item-onions",
              "component": {
                "Row": {
                  "alignment": "center",
                  "distribution": "spaceBetween",
                  "children": {
                    "explicitList": [
                      "produce-item-onions-name",
                      "produce-item-onions-qty"
                    ]
                  }
                }
              }
            },
            {
              "id": "produce-item-onions-name",
              "weight": 1,
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Yellow onions"
                  },
                  "variant": "bodySans"
                }
              }
            },
            {
              "id": "produce-item-onions-qty",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "1 lb"
                  },
                  "variant": "bodySans",
                  "color": "secondary"
                }
              }
            },
            {
              "id": "produce-item-celery",
              "component": {
                "Row": {
                  "alignment": "center",
                  "distribution": "spaceBetween",
                  "children": {
                    "explicitList": [
                      "produce-item-celery-name",
                      "produce-item-celery-qty"
                    ]
                  }
                }
              }
            },
            {
              "id": "produce-item-celery-name",
              "weight": 1,
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Celery hearts"
                  },
                  "variant": "bodySans"
                }
              }
            },
            {
              "id": "produce-item-celery-qty",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "1 bunch (6-8 oz)"
                  },
                  "variant": "bodySans",
                  "color": "secondary"
                }
              }
            },
            {
              "id": "condiments-header",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Condiments & Dairy"
                  },
                  "variant": "bodySansSemibold"
                }
              }
            },
            {
              "id": "condiments-divider",
              "component": {
                "Divider": {}
              }
            },
            {
              "id": "condiments-selection",
              "component": {
                "SelectionList": {
                  "selection": {
                    "path": "/condimentsSelection",
                    "literalArray": [
                      "greek_yogurt"
                    ]
                  },
                  "maxSelection": 3,
                  "items": [
                    {
                      "value": "greek_yogurt",
                      "child": "condiments-item-yogurt"
                    },
                    {
                      "value": "dijon_mustard",
                      "child": "condiments-item-mustard"
                    },
                    {
                      "value": "parmesan",
                      "child": "condiments-item-parmesan"
                    }
                  ]
                }
              }
            },
            {
              "id": "condiments-item-yogurt",
              "component": {
                "Row": {
                  "alignment": "center",
                  "distribution": "spaceBetween",
                  "children": {
                    "explicitList": [
                      "condiments-item-yogurt-name",
                      "condiments-item-yogurt-qty"
                    ]
                  }
                }
              }
            },
            {
              "id": "condiments-item-yogurt-name",
              "weight": 1,
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Greek yogurt"
                  },
                  "variant": "bodySans"
                }
              }
            },
            {
              "id": "condiments-item-yogurt-qty",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "1 tub"
                  },
                  "variant": "bodySans",
                  "color": "secondary"
                }
              }
            },
            {
              "id": "condiments-item-mustard",
              "component": {
                "Row": {
                  "alignment": "center",
                  "distribution": "spaceBetween",
                  "children": {
                    "explicitList": [
                      "condiments-item-mustard-name",
                      "condiments-item-mustard-qty"
                    ]
                  }
                }
              }
            },
            {
              "id": "condiments-item-mustard-name",
              "weight": 1,
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Dijon mustard"
                  },
                  "variant": "bodySans"
                }
              }
            },
            {
              "id": "condiments-item-mustard-qty",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "1 jar"
                  },
                  "variant": "bodySans",
                  "color": "secondary"
                }
              }
            },
            {
              "id": "condiments-item-parmesan",
              "component": {
                "Row": {
                  "alignment": "center",
                  "distribution": "spaceBetween",
                  "children": {
                    "explicitList": [
                      "condiments-item-parmesan-name",
                      "condiments-item-parmesan-qty"
                    ]
                  }
                }
              }
            },
            {
              "id": "condiments-item-parmesan-name",
              "weight": 1,
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Parmesan"
                  },
                  "variant": "bodySans"
                }
              }
            },
            {
              "id": "condiments-item-parmesan-qty",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "4 oz wedge"
                  },
                  "variant": "bodySans",
                  "color": "secondary"
                }
              }
            },
            {
              "id": "protein-header",
              "component": {
                "Row": {
                  "alignment": "center",
                  "children": {
                    "explicitList": [
                      "protein-header-emoji",
                      "protein-header-title"
                    ]
                  }
                }
              }
            },
            {
              "id": "protein-header-emoji",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "🥩"
                  },
                  "variant": "bodySansSemibold"
                }
              }
            },
            {
              "id": "protein-header-title",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Meat & Protein"
                  },
                  "variant": "bodySansSemibold"
                }
              }
            },
            {
              "id": "protein-divider",
              "component": {
                "Divider": {}
              }
            },
            {
              "id": "protein-selection",
              "component": {
                "SelectionList": {
                  "selection": {
                    "path": "/proteinSelection",
                    "literalArray": [
                      "chicken_thighs"
                    ]
                  },
                  "maxSelection": 3,
                  "items": [
                    {
                      "value": "chicken_thighs",
                      "child": "protein-item-chicken"
                    },
                    {
                      "value": "ground_turkey",
                      "child": "protein-item-turkey"
                    },
                    {
                      "value": "firm_tofu",
                      "child": "protein-item-tofu"
                    }
                  ]
                }
              }
            },
            {
              "id": "protein-item-chicken",
              "component": {
                "Row": {
                  "alignment": "center",
                  "distribution": "spaceBetween",
                  "children": {
                    "explicitList": [
                      "protein-item-chicken-name",
                      "protein-item-chicken-qty"
                    ]
                  }
                }
              }
            },
            {
              "id": "protein-item-chicken-name",
              "weight": 1,
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Chicken thighs"
                  },
                  "variant": "bodySans"
                }
              }
            },
            {
              "id": "protein-item-chicken-qty",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "2 lb"
                  },
                  "variant": "bodySans",
                  "color": "secondary"
                }
              }
            },
            {
              "id": "protein-item-turkey",
              "component": {
                "Row": {
                  "alignment": "center",
                  "distribution": "spaceBetween",
                  "children": {
                    "explicitList": [
                      "protein-item-turkey-name",
                      "protein-item-turkey-qty"
                    ]
                  }
                }
              }
            },
            {
              "id": "protein-item-turkey-name",
              "weight": 1,
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Ground turkey"
                  },
                  "variant": "bodySans"
                }
              }
            },
            {
              "id": "protein-item-turkey-qty",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "1 lb"
                  },
                  "variant": "bodySans",
                  "color": "secondary"
                }
              }
            },
            {
              "id": "protein-item-tofu",
              "component": {
                "Row": {
                  "alignment": "center",
                  "distribution": "spaceBetween",
                  "children": {
                    "explicitList": [
                      "protein-item-tofu-name",
                      "protein-item-tofu-qty"
                    ]
                  }
                }
              }
            },
            {
              "id": "protein-item-tofu-name",
              "weight": 1,
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Firm tofu"
                  },
                  "variant": "bodySans"
                }
              }
            },
            {
              "id": "protein-item-tofu-qty",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "14 oz"
                  },
                  "variant": "bodySans",
                  "color": "secondary"
                }
              }
            },
            {
              "id": "add-to-cart-button",
              "component": {
                "Button": {
                  "child": "add-to-cart-button-label",
                  "style": "primary",
                  "action": {
                    "name": "addShoppingListToCart",
                    "context": [
                      {
                        "key": "produceSelection",
                        "value": {
                          "path": "/produceSelection"
                        }
                      },
                      {
                        "key": "condimentsSelection",
                        "value": {
                          "path": "/condimentsSelection"
                        }
                      },
                      {
                        "key": "proteinSelection",
                        "value": {
                          "path": "/proteinSelection"
                        }
                      }
                    ]
                  }
                }
              }
            },
            {
              "id": "add-to-cart-button-label",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Add to my cart"
                  },
                  "variant": "bodySansSemibold"
                }
              }
            }
          ]
        }
      },
      {
        "dataModelUpdate": {
          "surfaceId": "shopping-list-selection-lists",
          "path": "/",
          "contents": []
        }
      }
    ]
  }
}
0 tokens
Shopping list
Condiments & Dairy
🥩
Meat & Protein