├── .eslintrc.js ├── .github └── workflows │ └── main.yml ├── .gitignore ├── .nvmrc ├── .prettierignore ├── .prettierrc ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── config ├── __mocks__ │ ├── browser-mocks.js │ ├── file-mocks.js │ ├── gatsby.js │ └── shopify-buy.js ├── jest-preprocess.js ├── loadershim.js └── setup-test-env.js ├── docs ├── .nvmrc ├── Developer Information.md ├── gatsby-config.js ├── package.json ├── src │ ├── @horacioh │ │ └── gatsby-theme-mdx │ │ │ └── components │ │ │ └── Layout.js │ ├── assets │ │ ├── images │ │ │ ├── hipster-with-mac.svg │ │ │ ├── icon.png │ │ │ ├── only-down-example.png │ │ │ └── social-card.png │ │ └── styles │ │ │ └── highlighting.css │ ├── components │ │ ├── ControlStrip │ │ │ ├── ControlStrip.js │ │ │ └── index.js │ │ ├── ExampleWithCode.js │ │ ├── Helmet.js │ │ ├── Hero.js │ │ ├── Layout.js │ │ ├── Link.js │ │ ├── Product.js │ │ ├── examples │ │ │ ├── ExampleUseAddItemToCart.js │ │ │ ├── ExampleUseAddItemsToCart.js │ │ │ ├── ExampleUseCart.js │ │ │ ├── ExampleUseCartCount.js │ │ │ ├── ExampleUseCartItems.js │ │ │ ├── ExampleUseCheckoutUrl.js │ │ │ ├── ExampleUseRemoveItemFromCart.js │ │ │ ├── ExampleUseRemoveItemsFromCart.js │ │ │ ├── ExampleUseUpdateItemQuantity.js │ │ │ └── index.js │ │ └── index.js │ ├── content │ │ ├── Hooks.js │ │ ├── hooks │ │ │ ├── useAddItemToCart.mdx │ │ │ ├── useAddItemsToCart.mdx │ │ │ ├── useCart.mdx │ │ │ ├── useCartCount.mdx │ │ │ ├── useCartItems.mdx │ │ │ ├── useCheckoutUrl.mdx │ │ │ ├── useRemoveItemFromCart.mdx │ │ │ ├── useRemoveItemsFromCart.mdx │ │ │ └── useUpdateItemQuantity.mdx │ │ └── index.js │ ├── gatsby-plugin-theme-ui │ │ └── index.js │ ├── pages │ │ ├── 404.jsx │ │ └── index.mdx │ └── utils │ │ ├── index.js │ │ └── useProducts.js ├── static │ └── social-header.png └── yarn.lock ├── gatsby-theme-shopify-manager ├── README.md ├── defaults.js ├── gatsby-browser.js ├── gatsby-config.js ├── gatsby-node.js ├── index.js ├── package.json ├── src │ ├── Context.tsx │ ├── ContextProvider.tsx │ ├── __tests__ │ │ ├── .eslintrc │ │ ├── Context.test.tsx │ │ └── ContextProvider.test.tsx │ ├── hooks │ │ ├── __tests__ │ │ │ ├── .eslintrc │ │ │ ├── useAddItemToCart.test.ts │ │ │ ├── useAddItemsToCart.test.ts │ │ │ ├── useCart.test.ts │ │ │ ├── useCartCount.test.ts │ │ │ ├── useCartItems.test.ts │ │ │ ├── useCheckoutUrl.test.ts │ │ │ ├── useClientUnsafe.test.ts │ │ │ ├── useGetLineItem.test.ts │ │ │ ├── useRemoveItemFromCart.test.ts │ │ │ ├── useRemoveItemsFromCart.test.ts │ │ │ ├── useSetCartUnsafe.test.ts │ │ │ └── useUpdateItemQuantity.test.ts │ │ ├── index.ts │ │ ├── useAddItemToCart.ts │ │ ├── useAddItemsToCart.ts │ │ ├── useCart.ts │ │ ├── useCartCount.ts │ │ ├── useCartItems.ts │ │ ├── useCheckoutUrl.ts │ │ ├── useClientUnsafe.ts │ │ ├── useGetLineItem.ts │ │ ├── useRemoveItemFromCart.ts │ │ ├── useRemoveItemsFromCart.ts │ │ ├── useSetCartUnsafe.ts │ │ └── useUpdateItemQuantity.ts │ ├── index.ts │ ├── mocks │ │ ├── cart.ts │ │ ├── client.ts │ │ ├── constants.ts │ │ ├── contextWrappers │ │ │ ├── index.ts │ │ │ ├── renderHookWithContext.tsx │ │ │ ├── renderHookWithContextSynchronously.tsx │ │ │ ├── renderWithContext.tsx │ │ │ ├── types.ts │ │ │ └── wrapWithContext.tsx │ │ ├── emptyCart.ts │ │ ├── getCurrentCart.ts │ │ ├── index.ts │ │ └── purchasedCart.ts │ ├── types.ts │ └── utils │ │ ├── LocalStorage │ │ ├── LocalStorage.ts │ │ ├── __tests__ │ │ │ └── LocalStorage.test.ts │ │ ├── index.ts │ │ └── keys.ts │ │ ├── index.ts │ │ ├── types │ │ ├── __tests__ │ │ │ └── isCart.test.ts │ │ ├── index.ts │ │ └── isCart.ts │ │ └── useCoreOptions │ │ ├── __tests__ │ │ └── useCoreOptions.test.tsx │ │ ├── index.ts │ │ ├── types.ts │ │ └── useCoreOptions.ts └── tsconfig.json ├── jest.config.js ├── package.json └── yarn.lock /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/.gitignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 13.7.0 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | .cache 2 | public 3 | node_modules 4 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | gatsby-theme-shopify-manager/README.md -------------------------------------------------------------------------------- /config/__mocks__/browser-mocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/config/__mocks__/browser-mocks.js -------------------------------------------------------------------------------- /config/__mocks__/file-mocks.js: -------------------------------------------------------------------------------- 1 | module.exports = 'test-file-stub'; 2 | -------------------------------------------------------------------------------- /config/__mocks__/gatsby.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/config/__mocks__/gatsby.js -------------------------------------------------------------------------------- /config/__mocks__/shopify-buy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/config/__mocks__/shopify-buy.js -------------------------------------------------------------------------------- /config/jest-preprocess.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/config/jest-preprocess.js -------------------------------------------------------------------------------- /config/loadershim.js: -------------------------------------------------------------------------------- 1 | global.___loader = { 2 | enqueue: jest.fn(), 3 | }; 4 | -------------------------------------------------------------------------------- /config/setup-test-env.js: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom/extend-expect'; 2 | -------------------------------------------------------------------------------- /docs/.nvmrc: -------------------------------------------------------------------------------- 1 | 13.7.0 2 | -------------------------------------------------------------------------------- /docs/Developer Information.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/Developer Information.md -------------------------------------------------------------------------------- /docs/gatsby-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/gatsby-config.js -------------------------------------------------------------------------------- /docs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/package.json -------------------------------------------------------------------------------- /docs/src/@horacioh/gatsby-theme-mdx/components/Layout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/@horacioh/gatsby-theme-mdx/components/Layout.js -------------------------------------------------------------------------------- /docs/src/assets/images/hipster-with-mac.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/assets/images/hipster-with-mac.svg -------------------------------------------------------------------------------- /docs/src/assets/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/assets/images/icon.png -------------------------------------------------------------------------------- /docs/src/assets/images/only-down-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/assets/images/only-down-example.png -------------------------------------------------------------------------------- /docs/src/assets/images/social-card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/assets/images/social-card.png -------------------------------------------------------------------------------- /docs/src/assets/styles/highlighting.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/assets/styles/highlighting.css -------------------------------------------------------------------------------- /docs/src/components/ControlStrip/ControlStrip.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/components/ControlStrip/ControlStrip.js -------------------------------------------------------------------------------- /docs/src/components/ControlStrip/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/components/ControlStrip/index.js -------------------------------------------------------------------------------- /docs/src/components/ExampleWithCode.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/components/ExampleWithCode.js -------------------------------------------------------------------------------- /docs/src/components/Helmet.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/src/components/Hero.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/components/Hero.js -------------------------------------------------------------------------------- /docs/src/components/Layout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/components/Layout.js -------------------------------------------------------------------------------- /docs/src/components/Link.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/components/Link.js -------------------------------------------------------------------------------- /docs/src/components/Product.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/components/Product.js -------------------------------------------------------------------------------- /docs/src/components/examples/ExampleUseAddItemToCart.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/components/examples/ExampleUseAddItemToCart.js -------------------------------------------------------------------------------- /docs/src/components/examples/ExampleUseAddItemsToCart.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/components/examples/ExampleUseAddItemsToCart.js -------------------------------------------------------------------------------- /docs/src/components/examples/ExampleUseCart.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/components/examples/ExampleUseCart.js -------------------------------------------------------------------------------- /docs/src/components/examples/ExampleUseCartCount.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/components/examples/ExampleUseCartCount.js -------------------------------------------------------------------------------- /docs/src/components/examples/ExampleUseCartItems.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/components/examples/ExampleUseCartItems.js -------------------------------------------------------------------------------- /docs/src/components/examples/ExampleUseCheckoutUrl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/components/examples/ExampleUseCheckoutUrl.js -------------------------------------------------------------------------------- /docs/src/components/examples/ExampleUseRemoveItemFromCart.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/components/examples/ExampleUseRemoveItemFromCart.js -------------------------------------------------------------------------------- /docs/src/components/examples/ExampleUseRemoveItemsFromCart.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/components/examples/ExampleUseRemoveItemsFromCart.js -------------------------------------------------------------------------------- /docs/src/components/examples/ExampleUseUpdateItemQuantity.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/components/examples/ExampleUseUpdateItemQuantity.js -------------------------------------------------------------------------------- /docs/src/components/examples/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/components/examples/index.js -------------------------------------------------------------------------------- /docs/src/components/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/components/index.js -------------------------------------------------------------------------------- /docs/src/content/Hooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/content/Hooks.js -------------------------------------------------------------------------------- /docs/src/content/hooks/useAddItemToCart.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/content/hooks/useAddItemToCart.mdx -------------------------------------------------------------------------------- /docs/src/content/hooks/useAddItemsToCart.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/content/hooks/useAddItemsToCart.mdx -------------------------------------------------------------------------------- /docs/src/content/hooks/useCart.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/content/hooks/useCart.mdx -------------------------------------------------------------------------------- /docs/src/content/hooks/useCartCount.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/content/hooks/useCartCount.mdx -------------------------------------------------------------------------------- /docs/src/content/hooks/useCartItems.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/content/hooks/useCartItems.mdx -------------------------------------------------------------------------------- /docs/src/content/hooks/useCheckoutUrl.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/content/hooks/useCheckoutUrl.mdx -------------------------------------------------------------------------------- /docs/src/content/hooks/useRemoveItemFromCart.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/content/hooks/useRemoveItemFromCart.mdx -------------------------------------------------------------------------------- /docs/src/content/hooks/useRemoveItemsFromCart.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/content/hooks/useRemoveItemsFromCart.mdx -------------------------------------------------------------------------------- /docs/src/content/hooks/useUpdateItemQuantity.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/content/hooks/useUpdateItemQuantity.mdx -------------------------------------------------------------------------------- /docs/src/content/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/content/index.js -------------------------------------------------------------------------------- /docs/src/gatsby-plugin-theme-ui/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/gatsby-plugin-theme-ui/index.js -------------------------------------------------------------------------------- /docs/src/pages/404.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/pages/404.jsx -------------------------------------------------------------------------------- /docs/src/pages/index.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/pages/index.mdx -------------------------------------------------------------------------------- /docs/src/utils/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/utils/index.js -------------------------------------------------------------------------------- /docs/src/utils/useProducts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/src/utils/useProducts.js -------------------------------------------------------------------------------- /docs/static/social-header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/docs/static/social-header.png -------------------------------------------------------------------------------- /docs/yarn.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/README.md -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/defaults.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/defaults.js -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/gatsby-browser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/gatsby-browser.js -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/gatsby-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/gatsby-config.js -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/gatsby-node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/gatsby-node.js -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/index.js: -------------------------------------------------------------------------------- 1 | export * from './src'; 2 | -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/package.json -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/Context.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/Context.tsx -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/ContextProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/ContextProvider.tsx -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/__tests__/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/__tests__/.eslintrc -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/__tests__/Context.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/__tests__/Context.test.tsx -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/__tests__/ContextProvider.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/__tests__/ContextProvider.test.tsx -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/__tests__/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/__tests__/.eslintrc -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/__tests__/useAddItemToCart.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/__tests__/useAddItemToCart.test.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/__tests__/useAddItemsToCart.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/__tests__/useAddItemsToCart.test.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/__tests__/useCart.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/__tests__/useCart.test.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/__tests__/useCartCount.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/__tests__/useCartCount.test.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/__tests__/useCartItems.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/__tests__/useCartItems.test.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/__tests__/useCheckoutUrl.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/__tests__/useCheckoutUrl.test.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/__tests__/useClientUnsafe.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/__tests__/useClientUnsafe.test.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/__tests__/useGetLineItem.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/__tests__/useGetLineItem.test.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/__tests__/useRemoveItemFromCart.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/__tests__/useRemoveItemFromCart.test.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/__tests__/useRemoveItemsFromCart.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/__tests__/useRemoveItemsFromCart.test.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/__tests__/useSetCartUnsafe.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/__tests__/useSetCartUnsafe.test.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/__tests__/useUpdateItemQuantity.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/__tests__/useUpdateItemQuantity.test.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/index.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/useAddItemToCart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/useAddItemToCart.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/useAddItemsToCart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/useAddItemsToCart.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/useCart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/useCart.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/useCartCount.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/useCartCount.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/useCartItems.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/useCartItems.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/useCheckoutUrl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/useCheckoutUrl.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/useClientUnsafe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/useClientUnsafe.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/useGetLineItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/useGetLineItem.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/useRemoveItemFromCart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/useRemoveItemFromCart.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/useRemoveItemsFromCart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/useRemoveItemsFromCart.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/useSetCartUnsafe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/useSetCartUnsafe.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/hooks/useUpdateItemQuantity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/hooks/useUpdateItemQuantity.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/index.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/mocks/cart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/mocks/cart.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/mocks/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/mocks/client.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/mocks/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/mocks/constants.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/mocks/contextWrappers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/mocks/contextWrappers/index.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/mocks/contextWrappers/renderHookWithContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/mocks/contextWrappers/renderHookWithContext.tsx -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/mocks/contextWrappers/renderHookWithContextSynchronously.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/mocks/contextWrappers/renderHookWithContextSynchronously.tsx -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/mocks/contextWrappers/renderWithContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/mocks/contextWrappers/renderWithContext.tsx -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/mocks/contextWrappers/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/mocks/contextWrappers/types.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/mocks/contextWrappers/wrapWithContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/mocks/contextWrappers/wrapWithContext.tsx -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/mocks/emptyCart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/mocks/emptyCart.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/mocks/getCurrentCart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/mocks/getCurrentCart.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/mocks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/mocks/index.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/mocks/purchasedCart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/mocks/purchasedCart.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/types.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/utils/LocalStorage/LocalStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/utils/LocalStorage/LocalStorage.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/utils/LocalStorage/__tests__/LocalStorage.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/utils/LocalStorage/__tests__/LocalStorage.test.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/utils/LocalStorage/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/utils/LocalStorage/index.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/utils/LocalStorage/keys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/utils/LocalStorage/keys.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/utils/index.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/utils/types/__tests__/isCart.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/utils/types/__tests__/isCart.test.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/utils/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/utils/types/index.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/utils/types/isCart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/utils/types/isCart.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/utils/useCoreOptions/__tests__/useCoreOptions.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/utils/useCoreOptions/__tests__/useCoreOptions.test.tsx -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/utils/useCoreOptions/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/utils/useCoreOptions/index.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/utils/useCoreOptions/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/utils/useCoreOptions/types.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/src/utils/useCoreOptions/useCoreOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/src/utils/useCoreOptions/useCoreOptions.ts -------------------------------------------------------------------------------- /gatsby-theme-shopify-manager/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/gatsby-theme-shopify-manager/tsconfig.json -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/package.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thetrevorharmon/gatsby-theme-shopify-manager/HEAD/yarn.lock --------------------------------------------------------------------------------