src/pages/Order/index.js

/**
 * @namespace Pages.Pages/Order
 */

/*
 * Ordering Module
 * Author: Isaiah Sanchez <isanchez@lunchbox.io>
 *
 * The order process involves many different pages and moving components.
 * There are 2 primary pages: cart and checkout found in pages/.
 * Other pages and components are considered secondary and found in this folder.
 * Such as Upsells, PackingInstructions, and GenerateLink (for employees).
 *
 * Order by default renders the OrderHeader component + OrderRoutes (starting with Cart @ ROOT).
 * Read pages/Order/components/CartButton.jsx:39-59 to understand the flow.
 *
 * To keep the primary page directories clean, components for those primary pages live here.
 *
 * We are combining most of the theme.json for these secondary pages and components under the
 * same styles object, "order" to consolidate and simplify.
 */

import ClearDiscount from "./ClearDiscount";
import ClearGiftCard from "./ClearGiftCard";
import Complete from "./Complete";
import {
  DeliveryNotes,
  DiscountField,
  OrderHeader,
  OrderSummary,
  PriceField,
  ScheduleField,
} from "./components";
import Discount from "./Discount";
import GiftCard from "./GiftCard";
import Field from "./Field";
import Guests from "./Guests";
import GenerateLink from "./GenerateLink";
import Locations from "./Locations";
import PackingInstructions from "./PackingInstructions";
import Prompt from "./Prompt";
import ScheduleDate from "./ScheduleDate";
import TableNumber from "./TableNumber";
import Upsells from "./Upsells";
import Order from "./Order";
import OrderPage from "./OrderPage";
import InterceptCheckoutComplete from "./InterceptCheckoutComplete";
import BeamPersonalCommunityImpactTabs from "./BeamPersonalCommunityImpactTabs";

export {
  ClearDiscount,
  ClearGiftCard,
  Complete,
  DeliveryNotes,
  DiscountField,
  OrderHeader,
  OrderSummary,
  PriceField,
  ScheduleField,
  Discount,
  GiftCard,
  Field,
  Guests,
  GenerateLink,
  Locations,
  PackingInstructions,
  Prompt,
  ScheduleDate,
  TableNumber,
  Upsells,
  Order,
  OrderPage,
  InterceptCheckoutComplete,
  BeamPersonalCommunityImpactTabs,
};