id
stringlengths
12
53
messages
listlengths
3
3
code_wishlist_537653b1
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of wishlist/react/components/Dialog/index.tsx from the wishlist VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React from 'react'\nimport { createPortal } from 'react-dom'\nimport OutsideClickHandler from 'react-outside-click-handler'\n\ninterface DialogProps {\n onClose: () => void\n children: JSX.Element\n}\n\nconst Dialog = ({ onClose, children }: DialogProps): JSX.Element =>\n createPortal(\n <div className=\"vh-100 vw-100 fixed top-0 left-0 z-max\">\n <div className=\"h-100 w-100 bg-base--inverted o-40\" />\n <div className=\"vh-100 vw-100 fixed top-0 left-0 flex items-center justify-center z-4\">\n <OutsideClickHandler onOutsideClick={() => onClose()}>\n <div className=\"bg-base flex flex-column shadow-3 mh7\">\n {children}\n </div>\n </OutsideClickHandler>\n </div>\n </div>,\n document.body\n )\n\nexport default Dialog\n\n```" } ]
code_wishlist_d1a48dd2
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of wishlist/react/components/Dialog/DialogMessage.tsx from the wishlist VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { Component, ReactNode } from 'react'\nimport {\n FormattedMessage,\n InjectedIntlProps,\n injectIntl,\n defineMessages,\n} from 'react-intl'\nimport { Button } from 'vtex.styleguide'\nimport Dialog from './index'\n\ninterface DialogMessageProps extends InjectedIntlProps {\n message: string\n onClose: () => void\n onSuccess: () => void\n}\n\ninterface DialogMessageState {\n isLoading?: boolean\n}\n\nconst messages = defineMessages({\n cancelDialog: {\n defaultMessage: '',\n id: 'store/wishlist-dialog-cancel',\n },\n confirmDialog: {\n defaultMessage: '',\n id: 'store/wishlist-dialog-confirm',\n },\n})\n\nclass DialogMessage extends Component<DialogMessageProps, DialogMessageState> {\n public state: DialogMessageState = {\n isLoading: false,\n }\n\n public render(): ReactNode {\n const { message, onClose, onSuccess } = this.props\n const { isLoading } = this.state\n return (\n <Dialog onClose={() => !isLoading && onClose()}>\n <div className=\"mv6 mh7\">\n <span className=\"tc c-muted-1 t-small\">{message}</span>\n <div className=\"flex flex-row mt4 justify-center\">\n <Button\n variation=\"secondary\"\n size=\"small\"\n onClick={onClose}\n disabled={isLoading}\n >\n <FormattedMessage {...messages.cancelDialog} />\n </Button>\n <div className=\"ml3\">\n <Button\n variation=\"primary\"\n size=\"small\"\n onClick={() => {\n this.setState({ isLoading: true })\n onSuccess()\n }}\n isLoading={isLoading}\n >\n <FormattedMessage {...messages.confirmDialog} />\n </Button>\n </div>\n </div>\n </div>\n </Dialog>\n )\n }\n}\n\nexport default injectIntl(DialogMessage)\n\n```" } ]
code_wishlist_3743301f
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of wishlist/react/components/ListDetails/index.tsx from the wishlist VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { Component, Fragment, ReactNode } from 'react'\nimport { ActionMenu, IconOptionsDots } from 'vtex.styleguide'\nimport {\n compose,\n graphql,\n WithApolloClient,\n withApollo,\n ChildDataProps,\n} from 'react-apollo'\nimport { append, filter, map } from 'ramda'\nimport { InjectedIntlProps, injectIntl, defineMessages } from 'react-intl'\nimport { withRuntimeContext } from 'vtex.render-runtime'\n\nimport { deleteList, updateList } from '../../GraphqlClient'\nimport DialogMessage from '../Dialog/DialogMessage'\nimport UpdateList from '../Form/UpdateList'\nimport Header from '../Header'\nimport renderLoading from '../Loading'\nimport Content from './Content'\nimport Footer from './Footer'\n\nimport LIST_DETAILS_QUERY from '../../graphql/queries/getListDetails.gql'\nimport Loading from '../Loading'\nimport withSettings from '../../withSettings'\n\ninterface ListDetailState {\n isAddingToCart?: boolean\n selectedItems: ListItemWithProduct[]\n showDeleteConfirmation?: boolean\n showUpdateList?: boolean\n}\n\ninterface ListDetailProps\n extends InjectedIntlProps,\n WithApolloClient<{}>,\n ChildDataProps<{}, { list: List }, {}>,\n SettingsProps {\n listId: string\n onClose: (lists?: List[]) => void\n onDeleted?: (id: string) => void\n runtime: Runtime\n}\n\nconst messages = defineMessages({\n optionConfiguration: {\n defaultMessage: '',\n id: 'store/wishlist-option-configuration',\n },\n optionDelete: {\n defaultMessage: '',\n id: 'store/wishlist-option-delete',\n },\n messageDeleteConfirmation: {\n defaultMessage: '',\n id: 'store/wishlist-delete-confirmation-message',\n },\n defaultListName: {\n id: 'store/wishlist-default-list-name',\n defaultMessage: '',\n },\n})\n\nclass ListDetail extends Component<ListDetailProps, ListDetailState> {\n public state: ListDetailState = {\n selectedItems: [],\n }\n\n public render(): ReactNode {\n const { showDeleteConfirmation, showUpdateList } = this.state\n const {\n intl,\n listId,\n data: { loading, list },\n } = this.props\n\n return list ? (\n <div className=\"fixed top-0 left-0 vw-100 vh-100 flex flex-column z-4 bg-base\">\n {loading ? renderLoading() : this.renderContent()}\n {showDeleteConfirmation && (\n <DialogMessage\n message={intl.formatMessage(messages.messageDeleteConfirmation, {\n listName: list.name,\n })}\n onClose={() => this.setState({ showDeleteConfirmation: false })}\n onSuccess={this.handleDeleteList}\n />\n )}\n {showUpdateList && (\n <div className=\"fixed top-0 left-0 w-100 bg-base\">\n <UpdateList\n onClose={() => this.setState({ showUpdateList: false })}\n list={{ ...list, id: listId }}\n onFinishUpdate={this.handleFinishUpdate}\n />\n </div>\n )}\n </div>\n ) : null\n }\n\n private renderContent = (): ReactNode => {\n const { selectedItems } = this.state\n const {\n data: { loading, list },\n onClose,\n intl: { formatMessage },\n settings: { appSettings },\n } = this.props\n const options = [\n {\n onClick: () => this.setState({ showUpdateList: true }),\n label: this.props.intl.formatMessage(messages.optionConfiguration),\n },\n {\n onClick: () => this.setState({ showDeleteConfirmation: true }),\n label: this.props.intl.formatMessage(messages.optionDelete),\n },\n ]\n\n if (loading || !list) {\n return <Loading />\n }\n const { isEditable, name } = list\n\n const title = !isEditable\n ? (appSettings && appSettings.defaultListName) ||\n formatMessage(messages.defaultListName)\n : name\n\n return (\n <Fragment>\n <Header\n title={title}\n onClose={this.handleOnClose}\n showIconBack={!!onClose}\n >\n {!loading && list.isEditable && (\n <ActionMenu\n options={options}\n hideCaretIcon\n buttonProps={{\n variation: 'tertiary',\n size: 'small',\n icon: <IconOptionsDots size={20} />,\n }}\n />\n )}\n </Header>\n <Content\n items={list.items}\n onItemSelect={this.handleItemSelectedChange}\n onItemRemove={this.handleItemRemove}\n />\n {selectedItems.length > 0 && <Footer items={selectedItems} />}\n </Fragment>\n )\n }\n\n private handleItemSelectedChange = (\n itemId: string,\n product: {},\n isSelected: boolean\n ) => {\n const { selectedItems } = this.state\n if (isSelected) {\n this.setState({\n selectedItems: append({ itemId, product }, selectedItems),\n })\n } else {\n this.setState({\n selectedItems: filter(({ itemId: id }) => id !== itemId, selectedItems),\n })\n }\n }\n\n private itemWithoutProduct = ({\n id,\n productId,\n skuId,\n quantity,\n }: ListItem): ListItem => ({ id, productId, skuId, quantity })\n\n private handleItemRemove = async (itemId: string): Promise<void> => {\n const {\n client,\n listId,\n data: { list, refetch },\n } = this.props\n const { selectedItems } = this.state\n if (list) {\n const listUpdated = {\n ...list,\n items: filter(({ id }: ListItem) => id !== itemId, list.items || []),\n }\n const itemsUpdated = map(\n item => this.itemWithoutProduct(item),\n listUpdated.items\n )\n\n await updateList(client, listId, { ...list, items: itemsUpdated })\n refetch({ id: listId })\n this.setState({\n selectedItems: filter(({ itemId: id }) => id !== itemId, selectedItems),\n })\n }\n }\n\n private handleFinishUpdate = (): void => {\n this.setState({ showUpdateList: false })\n }\n\n private handleOnClose = (): void => {\n const {\n onClose,\n data: { list },\n runtime: { goBack },\n } = this.props\n if (!onClose) {\n goBack()\n } else if (list) {\n const currentList: List = {\n ...list,\n items: map(item => this.itemWithoutProduct(item), list.items || []),\n }\n onClose([currentList])\n }\n }\n\n private handleDeleteList = (): void => {\n const { client, listId, onDeleted, onClose } = this.props\n deleteList(client, listId)\n .then(() => {\n if (onDeleted) {\n onDeleted(listId)\n }\n onClose()\n })\n .catch(error => console.error(error))\n }\n}\n\nconst withQuery = graphql(LIST_DETAILS_QUERY, {\n options: (props: ListDetailProps) => ({\n fetchPolicy: 'network-only',\n variables: {\n id: props.listId,\n },\n }),\n})\n\nexport default compose(\n withApollo,\n withQuery,\n withSettings,\n injectIntl,\n withRuntimeContext\n)(ListDetail)\n\n```" } ]
code_wishlist_f4b17021
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of wishlist/react/components/ListDetails/Content.tsx from the wishlist VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { Component, Fragment, ReactNode } from 'react'\n\nimport { map } from 'ramda'\nimport { compose } from 'react-apollo'\nimport {\n FormattedMessage,\n InjectedIntlProps,\n injectIntl,\n defineMessages,\n} from 'react-intl'\nimport { withRuntimeContext } from 'vtex.render-runtime'\nimport { Button } from 'vtex.styleguide'\nimport ItemDetails from './ItemDetails'\n\nimport styles from '../../wishList.css'\n\ninterface ContentProps extends InjectedIntlProps {\n items: ListItem[]\n lists?: List[]\n hideItemsQuantityLabel?: boolean\n onItemSelect: (itemId: string, product: ListItem, isSelected: boolean) => void\n onItemRemove: (id: string) => Promise<void>\n runtime: Runtime\n}\n\nconst messages = defineMessages({\n itemsQuantity: {\n defaultMessage: '',\n id: 'store/wishlist-quantity-of-items',\n },\n emptyList: {\n defaultMessage: '',\n id: 'store/wishlist-list-empty',\n },\n addItems: {\n defaultMessage: '',\n id: 'store/wishlist-add-items',\n },\n})\n\nclass Content extends Component<ContentProps, {}> {\n public render(): ReactNode {\n const { items, hideItemsQuantityLabel } = this.props\n return (\n <div\n className={`${\n styles.listDetailsContent\n } h-100 overflow-y-auto flex flex-column`}\n >\n {items.length > 0 ? (\n <div>\n {!hideItemsQuantityLabel && (\n <div className=\"h3 flex items-center justify-center c-muted-1\">\n <FormattedMessage\n {...messages.itemsQuantity}\n values={{ itemsQuantity: items.length }}\n />\n </div>\n )}\n {this.renderItems()}\n </div>\n ) : (\n this.renderListEmpty()\n )}\n </div>\n )\n }\n\n private handleRedirectToGallery = (): void => {\n const {\n runtime: { navigate },\n } = this.props\n navigate({\n to: '/',\n })\n }\n\n private renderListEmpty = (): ReactNode => {\n return (\n <div\n className={`${\n styles.listEmptyContainer\n } flex flex-column w-100 h-100 items-center mv8 c-muted-2`}\n >\n <div className={styles.listEmptyLabel}>\n <FormattedMessage {...messages.emptyList} />\n </div>\n <div className={`${styles.goToAddProductsButtonContainer} mt8`}>\n <Button variation=\"primary\" onClick={this.handleRedirectToGallery}>\n <FormattedMessage {...messages.addItems} />\n </Button>\n </div>\n </div>\n )\n }\n\n private renderItems = (): ReactNode => {\n const { items, lists } = this.props\n return (\n <Fragment>\n {map(\n item => (\n <ItemDetails\n {...this.props}\n item={item}\n lists={lists}\n key={item.id}\n />\n ),\n items\n )}\n </Fragment>\n )\n }\n}\n\nexport default compose(\n withRuntimeContext,\n injectIntl\n)(Content)\n\n```" } ]
code_wishlist_ba3c666e
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of wishlist/react/components/ListDetails/ItemDetails.tsx from the wishlist VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { Component, ReactNode } from 'react'\n\nimport classNames from 'classnames'\nimport { append, head, map, path } from 'ramda'\nimport { compose, withApollo, WithApolloClient } from 'react-apollo'\nimport { isMobile } from 'react-device-detect'\nimport { InjectedIntlProps, injectIntl, defineMessages } from 'react-intl'\nimport { ExtensionPoint, withRuntimeContext } from 'vtex.render-runtime'\nimport {\n ButtonWithIcon,\n Checkbox,\n IconDelete,\n withToast,\n ActionMenu,\n} from 'vtex.styleguide'\nimport renderLoading from '../Loading'\n\nimport { getListDetailed, updateList } from '../../GraphqlClient'\n\nimport styles from '../../wishList.css'\n\ninterface ItemDetailsProps extends WithApolloClient<{}>, InjectedIntlProps {\n lists?: List[]\n item: ListItem\n onItemSelect: (itemId: string, product: Product, isSelected: boolean) => void\n onItemRemove: (id: string) => Promise<{}>\n showToast: (toastInput: ToastInput) => void\n runtime: Runtime\n}\n\ninterface ItemDetailsState {\n isSelected?: boolean\n isLoading?: boolean\n isCopying?: boolean\n}\n\nconst messages = defineMessages({\n copyTo: {\n defaultMessage: '',\n id: 'store/wishlist-copy-to',\n },\n see: {\n defaultMessage: '',\n id: 'store/wishlist-see',\n },\n copied: {\n defaultMessage: '',\n id: 'store/wishlist-copied',\n },\n})\n\nclass ItemDetails extends Component<ItemDetailsProps, ItemDetailsState> {\n public state: ItemDetailsState = {}\n private isComponentMounted: boolean = false\n\n public componentDidMount() {\n this.isComponentMounted = true\n }\n\n public componentWillUnmount() {\n this.isComponentMounted = false\n }\n\n public render(): ReactNode {\n const {\n item: { product },\n lists,\n intl,\n } = this.props\n const { isSelected, isLoading, isCopying } = this.state\n const deleteIcon = <IconDelete />\n const className = classNames(styles.summaryContainer, 'h4 b--muted-4', {\n [styles.summaryContainerLarge]: !isMobile,\n })\n\n return (\n <div className=\"relative\">\n <div className=\"absolute ml4 mt4\">\n <label className=\"db pa3\">\n <Checkbox\n checked={isSelected}\n onChange={this.handleItemSelectedChange}\n />\n </label>\n </div>\n <div className=\"absolute top-0 right-0 flex flex-column items-end\">\n {isLoading ? (\n <div className=\"mr4\">{renderLoading()}</div>\n ) : (\n <div className=\"ph3\">\n <ButtonWithIcon\n icon={deleteIcon}\n variation=\"tertiary\"\n onClick={this.handleItemRemove}\n />\n </div>\n )}\n <div className=\"mt2 mr3\">\n {lists &&\n (isCopying ? (\n <div className=\"mr4\">{renderLoading()}</div>\n ) : (\n <ActionMenu\n label={intl.formatMessage(messages.copyTo)}\n options={this.getActionMenuOptions(lists)}\n buttonProps={{\n variation: 'tertiary',\n size: 'small',\n disabled: !(lists && lists.length > 0),\n }}\n />\n ))}\n </div>\n </div>\n <div className={className}>\n <ExtensionPoint\n id=\"product-summary\"\n showBorders\n product={this.normalizeProduct(product)}\n displayMode=\"inlinePrice\"\n showListPrice={false}\n showBadge={false}\n showInstallments={false}\n showLabels={false}\n showQuantitySelector={false}\n priceAlignLeft\n />\n </div>\n </div>\n )\n }\n\n private getActionMenuOptions = (lists: List[]): ActionMenuItem[] =>\n lists.map(({ id, name }) => ({\n label: name,\n onClick: () => this.copyProductToList(String(id)),\n }))\n\n private normalizeProduct = (product: Product | undefined): {} | null => {\n if (!product) {\n return null\n }\n const normalizedProduct = { ...product }\n const sku = head(normalizedProduct.items || [])\n if (sku) {\n const [seller = { commertialOffer: { Price: 0, ListPrice: 0 } }] =\n path(['sellers'], sku) || []\n const [referenceId = { Value: '' }] = path(['referenceId'], sku) || []\n const [image = { imageUrl: '' }] = path(['images'], sku) || []\n const unmixedImage = {\n ...image,\n imageUrl: image.imageUrl.replace(/^https?:/, ''),\n }\n normalizedProduct.sku = {\n ...sku,\n seller,\n referenceId,\n image: unmixedImage,\n }\n }\n return normalizedProduct\n }\n\n private handleItemSelectedChange = (): void => {\n const {\n item: { id, product },\n onItemSelect,\n } = this.props\n const { isSelected } = this.state\n this.setState({ isSelected: !isSelected })\n onItemSelect(id || '', product || { items: [], sku: '' }, !isSelected)\n }\n\n private handleItemRemove = (): void => {\n const { onItemRemove, item } = this.props\n this.setState({ isLoading: true })\n onItemRemove(item.id || '')\n .then(\n () => this.isComponentMounted && this.setState({ isLoading: false })\n )\n .catch(\n () => this.isComponentMounted && this.setState({ isLoading: false })\n )\n }\n\n private copyProductToList = async (listId: string): Promise<void> => {\n const { client, item } = this.props\n this.setState({ isCopying: true })\n const {\n data: { list },\n } = await getListDetailed(client, listId)\n if (list) {\n list.items = append(\n this.itemWithoutProduct(item),\n map(\n (listItem: ListItem) => this.itemWithoutProduct(listItem),\n list.items\n )\n )\n await updateList(client, listId, list)\n this.showMessage(list.name || '', listId)\n this.setState({ isCopying: false })\n }\n }\n\n private itemWithoutProduct = ({\n id,\n productId,\n skuId,\n quantity,\n }: ListItem): ListItem => ({ id, productId, skuId, quantity })\n\n private showMessage = (listName: string, listId: string) => {\n const {\n showToast,\n intl,\n runtime: { setQuery },\n } = this.props\n showToast({\n action: {\n label: intl.formatMessage(messages.see),\n onClick: () => setQuery({ listId }, { merge: false, replace: true }),\n },\n message: intl.formatMessage(messages.copied, { listName }),\n })\n }\n}\n\nexport default compose(\n withToast,\n withApollo,\n injectIntl,\n withRuntimeContext\n)(ItemDetails)\n\n```" } ]
code_wishlist_31808f09
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of wishlist/react/components/ListDetails/Footer.tsx from the wishlist VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { Component, ReactNode } from 'react'\n\nimport { map, path, head } from 'ramda'\nimport { compose } from 'react-apollo'\nimport { isMobile } from 'react-device-detect'\nimport {\n FormattedMessage,\n InjectedIntlProps,\n injectIntl,\n defineMessages,\n} from 'react-intl'\nimport { withToast } from 'vtex.styleguide'\n\nimport BuyButton from 'vtex.store-components/BuyButton'\nimport ProductPrice from 'vtex.store-components/ProductPrice'\n\nimport styles from '../../wishList.css'\n\ninterface FooterProps extends InjectedIntlProps {\n items: ListItemWithProduct[]\n}\n\nconst messages = defineMessages({\n selectedItemsQuantity: {\n defaultMessage: '',\n id: 'store/wishlist-quantity-selected-items',\n },\n total: {\n defaultMessage: '',\n id: 'store/wishlist-total',\n },\n buyItems: {\n defaultMessage: '',\n id: 'store/wishlist-buy-items',\n },\n})\n\nclass Footer extends Component<FooterProps, {}> {\n public render(): ReactNode {\n const { items } = this.props\n const totalPrice = this.calculateTotal()\n const itemsToAddToCart = map(this.productShape, items)\n\n return (\n <div\n className={`${\n styles.ListDetailsFooter\n } flex flex-column pa4 bt b--muted-4 w-100 items-end`}\n >\n <div className=\"tr\">\n <span className={`${styles.quantityOfSelectedItemsLabel} ml2`}>\n <FormattedMessage\n id={messages.selectedItemsQuantity.id}\n values={{ selectedItemsQuantity: <b>{items.length}</b> }}\n />\n </span>\n </div>\n <div\n className={`${\n styles.pricesContainer\n } pv4 flex flex-row justify-end b`}\n >\n <span className={`${styles.totalPriceLabel} mr2`}>\n <FormattedMessage\n id={messages.total.id}\n values={{ selectedItemsQuantity: <b>{items.length}</b> }}\n />\n </span>\n <ProductPrice\n sellingPrice={totalPrice}\n listPrice={totalPrice}\n showLabels={false}\n showListPrice={false}\n />\n </div>\n <div className={styles.buySelectedItemsBtnContainer}>\n <BuyButton\n available={items.length > 0}\n isAvailable\n skuItems={itemsToAddToCart}\n isOneClickBuy={false}\n large={isMobile}\n >\n <FormattedMessage {...messages.buyItems} />\n </BuyButton>\n </div>\n </div>\n )\n }\n\n private findAvailableProduct = (item: Item): boolean =>\n item.sellers.find(\n (seller: Seller) =>\n seller !== undefined &&\n seller.commertialOffer !== undefined &&\n seller.commertialOffer.AvailableQuantity !== undefined &&\n seller.commertialOffer.AvailableQuantity > 0\n ) !== undefined\n\n private normalizeProduct = (product: Product): Product | null => {\n if (!product) {\n return null\n }\n const normalizedProduct = { ...product }\n const items = product.items || []\n const sku = items.find(this.findAvailableProduct)\n if (sku) {\n const [seller = { commertialOffer: { Price: 0, ListPrice: 0 } }] =\n path(['sellers'], sku) || []\n const [referenceId = { Value: '' }] = path(['referenceId'], sku) || []\n const [image = { imageUrl: '' }] = path(['images'], sku) || []\n const resizedImage = image.imageUrl\n const normalizedImage = { ...image, imageUrl: resizedImage }\n normalizedProduct.sku = {\n ...sku,\n image: normalizedImage,\n referenceId,\n seller,\n }\n }\n return normalizedProduct\n }\n\n private productShape = (item: ListItemWithProduct): Product | undefined => {\n const product = this.normalizeProduct(item.product)\n return product\n ? path(['sku', 'itemId'], product) && {\n brand: product.brand,\n detailUrl: `/${product.linkText}/p`,\n imageUrl: path(['sku', 'image', 'imageUrl'], product),\n listPrice: path(\n ['sku', 'seller', 'commertialOffer', 'ListPrice'],\n product\n ),\n name: product.productName,\n price: path(['sku', 'seller', 'commertialOffer', 'Price'], product),\n quantity: 1,\n seller: path(['sku', 'seller', 'sellerId'], product),\n skuId: path(['sku', 'itemId'], product),\n variant: path(['sku', 'name'], product),\n }\n : undefined\n }\n\n private calculateTotal = (): number => {\n const { items } = this.props\n if (items) {\n return map(({ product: { items } }) => {\n if (items && head(items)) {\n return items[0].sellers[0].commertialOffer.Price\n }\n return 0\n }, items).reduce((a, b) => a + b, 0)\n }\n return 0\n }\n}\n\nexport default compose(\n withToast,\n injectIntl\n)(Footer)\n\n```" } ]
code_wishlist_981fc5f1
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of wishlist/react/components/ListsPage/index.tsx from the wishlist VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { Component, Fragment } from 'react'\nimport { withRuntimeContext, withSession } from 'vtex.render-runtime'\nimport { Spinner } from 'vtex.styleguide'\n\nimport { concat, filter, findIndex, update } from 'ramda'\nimport { compose, withApollo, WithApolloClient, graphql } from 'react-apollo'\nimport { InjectedIntlProps, injectIntl, defineMessages } from 'react-intl'\nimport { session } from 'vtex.store-resources/Queries'\nimport { getProfile } from '../../utils/profile'\nimport { createList, getListsByOwner } from '../../GraphqlClient'\nimport withSettings from '../../withSettings'\n\nimport Content from './Content'\nimport ListSelector from './ListSelector'\nimport Lists from '../Lists'\n\nimport styles from '../../wishList.css'\nimport { isMobile } from 'react-device-detect'\nimport Loading from '../Loading'\n\nconst ON_LISTS_PAGE_CLASS = 'vtex-lists-page'\nconst messages = defineMessages({\n listNameDefault: {\n defaultMessage: '',\n id: 'store/wishlist-default-list-name',\n },\n})\ninterface ListsPageState {\n lists: any\n selectedListId?: string\n isLoading?: boolean\n}\n\ninterface ListsPageProps\n extends InjectedIntlProps,\n WithApolloClient<{}>,\n SettingsProps {\n runtime: Runtime\n session: Session\n}\n\nclass ListsPage extends Component<ListsPageProps, ListsPageState> {\n public state: ListsPageState = {\n isLoading: true,\n lists: [],\n }\n\n public componentWillUnmount(): void {\n document.body.classList.remove(ON_LISTS_PAGE_CLASS)\n }\n\n public componentDidUpdate(prevProps: ListsPageProps): void {\n const {\n runtime: { query },\n client,\n session,\n } = this.props\n // Verify if the selected list changed by checking the location query\n if (\n client &&\n prevProps.runtime.query &&\n prevProps.runtime.query.listId !== this.state.selectedListId\n ) {\n this.setState({ selectedListId: query.listId })\n }\n // Verify if the session is loaded, so it can fetch the user's lists\n else if (\n session !== prevProps.session &&\n prevProps.session &&\n !prevProps.session.loading\n ) {\n this.fetchLists(prevProps)\n }\n }\n\n public componentDidMount(): void {\n document.body.classList.add(ON_LISTS_PAGE_CLASS)\n this.fetchLists(this.props)\n }\n\n public render() {\n const {\n session,\n runtime: { goBack },\n settings: { appSettings },\n } = this.props\n const enableMultipleLists = appSettings && appSettings.enableMultipleLists\n\n const profile = getProfile(session)\n\n if (!session || session.loading) {\n return <Loading />\n }\n\n if (session && !session.loading && !profile) {\n this.toLogin()\n }\n\n const { selectedListId: id, lists, isLoading } = this.state\n const selectedListId = id || (lists.length > 0 && lists[0].id)\n\n return isMobile ? (\n lists.length ? (\n <Lists\n enableMultipleLists={enableMultipleLists}\n loading={!session || session.loading || isLoading}\n lists={lists}\n onClose={goBack}\n />\n ) : null\n ) : (\n <div className={`${styles.listPage} flex flex-row mt6 ph10 pv8 h-100`}>\n {isLoading ? (\n <div className=\"flex justify-center w-100\">\n <Spinner />\n </div>\n ) : (\n <Fragment>\n {enableMultipleLists && (\n <div className=\"h-100 mr6\">\n <ListSelector\n {...this.state}\n selectedListId={selectedListId}\n onListCreated={this.handleListCreated}\n />\n </div>\n )}\n <div className=\"w-100 h-100\">\n <Content\n listId={selectedListId}\n lists={enableMultipleLists && lists}\n onListUpdated={this.handleListUpdated}\n onListDeleted={this.handleListDeleted}\n enableCopy={enableMultipleLists}\n />\n </div>\n </Fragment>\n )}\n </div>\n )\n }\n\n private handleListCreated = (list: List): void => {\n const { lists } = this.state\n this.setState({ lists: concat(lists, [list]) })\n }\n\n private handleListUpdated = (listUpdated: List): void => {\n const { lists } = this.state\n const index = findIndex((list: List) => list.id === listUpdated.id, lists)\n this.setState({\n lists: update(index, listUpdated, lists),\n })\n }\n\n private handleListDeleted = (): void => {\n const { lists, selectedListId } = this.state\n const {\n runtime: { navigate },\n } = this.props\n const listsUpdate = filter((list: List) => list !== selectedListId, lists)\n this.setState({ lists: listsUpdate })\n navigate({\n page: 'store.lists',\n query: `listId=${lists[0].id}`,\n })\n }\n\n private fetchLists = async (props: ListsPageProps): Promise<void> => {\n const {\n client,\n runtime: { query },\n intl,\n session,\n } = props\n const profile = getProfile(session)\n\n if (session && !session.loading && profile && profile.email) {\n const {\n data: { listsByOwner: lists },\n } = await getListsByOwner(client, profile.email)\n\n if (lists) {\n if (lists.length == 0) {\n const {\n data: { createList: defaultList },\n } = await createList(client, {\n isEditable: false,\n items: [],\n owner: profile.email,\n name: intl.formatMessage(messages.listNameDefault),\n })\n this.setState({\n lists: [defaultList],\n selectedListId: defaultList ? defaultList.id : '',\n })\n } else {\n const selectedListId = query ? query.listId : lists[0].id\n this.setState({ lists, selectedListId })\n }\n }\n this.setState({ isLoading: false })\n }\n }\n\n private toLogin = (): void => {\n this.props.runtime.navigate({\n page: 'store.login',\n fallbackToWindowLocation: true,\n })\n }\n}\n\nconst options = {\n name: 'session',\n options: () => ({ ssr: false }),\n}\n\nexport default withSession()(\n compose(\n injectIntl,\n withRuntimeContext,\n withApollo,\n graphql(session, options),\n withSettings\n )(ListsPage)\n)\n\n```" } ]
code_wishlist_8c61b4f4
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of wishlist/react/components/ListsPage/Content.tsx from the wishlist VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { Component, Fragment, ReactNode } from 'react'\n\nimport classNames from 'classnames'\nimport { append, filter, map, tail } from 'ramda'\nimport { Spinner } from 'vtex.styleguide'\n\nimport { withApollo, WithApolloClient, compose } from 'react-apollo'\nimport { getListDetailed, updateList } from '../../GraphqlClient'\nimport ListItems from '../ListDetails/Content'\nimport Footer from '../ListDetails/Footer'\nimport Header from './Header'\n\nimport styles from '../../wishList.css'\n\ninterface ContentProps extends WithApolloClient<{}> {\n listId: string\n lists?: List[]\n onListCreated: (list: List) => void\n onListUpdated: (list: List) => void\n onListDeleted: () => void\n}\n\ninterface ContentState {\n list?: List\n selectedItems: ListItemWithProduct[]\n isLoading?: boolean\n}\n\nclass Content extends Component<ContentProps, ContentState> {\n public state: ContentState = {\n isLoading: true,\n selectedItems: [],\n }\n private isComponentMounted = false\n\n public componentWillUnmount(): void {\n this.isComponentMounted = false\n }\n\n public componentDidMount(): void {\n this.isComponentMounted = true\n this.fetchListDetails()\n }\n\n public componentDidUpdate(prevProps: ContentProps): void {\n if (this.props.listId !== prevProps.listId) {\n this.fetchListDetails()\n }\n }\n\n public render(): ReactNode {\n const { list, selectedItems, isLoading } = this.state\n const { listId, lists } = this.props\n const className = classNames(\n 'ba b--muted-4 mt6 relative overflow-auto w-100 h-100',\n {\n pb10: selectedItems && selectedItems.length > 0,\n }\n )\n const listsAsOptions = lists\n ? filter((e: List) => e.id !== listId, tail(lists))\n : null\n\n return (\n <div className=\"h-100 flex flex-column\">\n {isLoading ? (\n <div className=\"flex justify-center w-100\">\n <Spinner />\n </div>\n ) : (\n <Fragment>\n <Header\n list={{ ...list, id: listId }}\n onListCreated={this.props.onListCreated}\n onListUpdated={this.props.onListUpdated}\n onListDeleted={this.props.onListDeleted}\n />\n <div className={className}>\n <div\n className={`${\n styles.listPageItemsContainer\n } overflow-auto w-100`}\n >\n <div className=\"w-100\">\n <ListItems\n lists={listsAsOptions}\n hideItemsQuantityLabel\n items={list ? list.items : []}\n onItemSelect={this.handleItemSelect}\n onItemRemove={this.handleItemRemove}\n />\n </div>\n </div>\n {selectedItems.length > 0 && (\n <div className=\"absolute bottom-0 left-0 w-100\">\n <div className=\"bg-base\">\n <Footer items={selectedItems} />\n </div>\n </div>\n )}\n </div>\n </Fragment>\n )}\n </div>\n )\n }\n\n private handleItemSelect = (\n itemId: string,\n product: Product,\n isSelected: boolean\n ): void => {\n const { selectedItems } = this.state\n if (isSelected) {\n this.setState({\n selectedItems: append({ itemId, product }, selectedItems),\n })\n } else {\n this.setState({\n selectedItems: filter(({ itemId: id }) => id !== itemId, selectedItems),\n })\n }\n }\n\n private itemWithoutProduct = ({\n id,\n productId,\n skuId,\n quantity,\n }: ListItem): ListItem => ({ id, productId, skuId, quantity })\n\n private handleItemRemove = (itemId: string): Promise<void> => {\n const { client, listId } = this.props\n const { list, selectedItems } = this.state\n const listUpdated = {\n ...list,\n items: filter(\n ({ id }: ListItem) => id !== itemId,\n list && list.items ? list.items : []\n ),\n }\n const itemsUpdated = map(\n item => this.itemWithoutProduct(item),\n listUpdated.items\n )\n return updateList(client, listId, { ...list, items: itemsUpdated }).then(\n () => {\n if (this.isComponentMounted) {\n this.setState({\n list: listUpdated,\n selectedItems: filter(\n ({ itemId: id }) => id !== itemId,\n selectedItems\n ),\n })\n }\n }\n )\n }\n\n private fetchListDetails(): void {\n const { client, listId } = this.props\n this.setState({ isLoading: true, list: {}, selectedItems: [] })\n getListDetailed(client, listId).then(response => {\n if (this.isComponentMounted) {\n this.setState({ list: response.data.list, isLoading: false })\n }\n })\n }\n}\n\nexport default compose(withApollo)(Content)\n\n```" } ]
code_wishlist_cc6573bc
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of wishlist/react/components/ListsPage/ListSelector.tsx from the wishlist VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { Component, ReactNode } from 'react'\nimport { FormattedMessage, defineMessages } from 'react-intl'\nimport { withRuntimeContext } from 'vtex.render-runtime'\nimport { ButtonWithIcon, IconPlusLines } from 'vtex.styleguide'\nimport CreateList from '../Form/CreateList'\n\nimport ListItem from '../ListItem'\n\ninterface ListSelectorProps {\n lists: List[]\n selectedListId: string\n onListCreated: (list: List) => void\n runtime: Runtime\n}\n\ninterface ListSelectorState {\n showCreateList: boolean\n selectedListId: string\n}\n\nconst ICONS_SIZE = 20\nconst messages = defineMessages({\n myLists: {\n defaultMessage: '',\n id: 'store/wishlist-my-lists',\n },\n})\n\nclass ListSelector extends Component<ListSelectorProps, ListSelectorState> {\n public state = {\n showCreateList: false,\n selectedListId: '',\n }\n\n public componentDidMount(): void {\n this.setState({ selectedListId: this.props.selectedListId })\n }\n\n public render(): ReactNode {\n const { showCreateList } = this.state\n const plusIcon = <IconPlusLines size={ICONS_SIZE} />\n\n return (\n <div className=\"flex flex-column w5 h-100\">\n <div className=\"bl b--rebel-pink bw2 pa4 b flex items-center flex-row\">\n <div className=\"w-100\">\n <FormattedMessage {...messages.myLists} />\n </div>\n <ButtonWithIcon\n variation=\"tertiary\"\n icon={plusIcon}\n onClick={this.handleCreateList}\n />\n </div>\n <div className=\"h-100 overflow-auto\">{this.renderLists()}</div>\n {showCreateList && (\n <CreateList\n onClose={() => this.setState({ showCreateList: false })}\n onFinishAdding={this.handleListCreated}\n />\n )}\n </div>\n )\n }\n\n private renderLists = (): ReactNode => {\n const { lists } = this.props\n const { selectedListId } = this.state\n return lists\n ? lists.map((list: List, index: number) => (\n <ListItem\n key={list.id}\n id={index}\n list={list}\n isDefault={index === 0}\n hideAction\n hideBorders\n isSelected={list.id === selectedListId}\n onClick={this.handleOnListSelect}\n />\n ))\n : null\n }\n\n private handleCreateList = () => {\n this.setState({ showCreateList: true })\n }\n\n private handleListCreated = (list: List): void => {\n const { onListCreated } = this.props\n this.setState({ showCreateList: false })\n onListCreated(list)\n }\n\n private handleOnListSelect = (id: number): void => {\n const {\n runtime: { setQuery },\n lists,\n } = this.props\n this.setState({ selectedListId: lists[id].id || '' })\n setQuery({ listId: lists[id].id }, { merge: false, replace: true })\n }\n}\n\nexport default withRuntimeContext(ListSelector)\n\n```" } ]
code_wishlist_8d846497
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of wishlist/react/components/ListsPage/Header.tsx from the wishlist VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { Component, ReactNode } from 'react'\nimport {\n FormattedMessage,\n InjectedIntlProps,\n injectIntl,\n defineMessages,\n} from 'react-intl'\nimport { ActionMenu, IconOptionsDots } from 'vtex.styleguide'\n\nimport { compose, withApollo, WithApolloClient } from 'react-apollo'\n\nimport DialogMessage from '../Dialog/DialogMessage'\nimport UpdateList from '../Form/UpdateList'\n\nimport { deleteList } from '../../GraphqlClient'\nimport withSettings from '../../withSettings'\n\ninterface HeaderState {\n showcreateList?: boolean\n showUpdateList?: boolean\n showDeleteConfirmation?: boolean\n}\n\ninterface HeaderProps\n extends InjectedIntlProps,\n WithApolloClient<{}>,\n SettingsProps {\n isDefault?: boolean\n list: List\n onListUpdated: (list: List) => void\n onListDeleted: () => void\n}\n\nconst ICONS_SIZE = 20\nconst messages = defineMessages({\n optionConfiguration: {\n defaultMessage: '',\n id: 'store/wishlist-option-configuration',\n },\n optionDelete: {\n defaultMessage: '',\n id: 'store/wishlist-option-delete',\n },\n messageDeleteConfirmation: {\n defaultMessage: '',\n id: 'store/wishlist-delete-confirmation-message',\n },\n productsQuantity: {\n defaultMessage: '',\n id: 'store/wishlist-quantity-products',\n },\n defaultListName: {\n id: 'store/wishlist-default-list-name',\n defaultMessage: '',\n },\n})\n\nclass Header extends Component<HeaderProps, HeaderState> {\n public state: HeaderState = {}\n private options = [\n {\n onClick: () => this.setState({ showUpdateList: true }),\n label: this.props.intl.formatMessage(messages.optionConfiguration),\n },\n {\n onClick: () => this.setState({ showDeleteConfirmation: true }),\n label: this.props.intl.formatMessage(messages.optionDelete),\n },\n ]\n\n public render(): ReactNode {\n const { showUpdateList, showDeleteConfirmation } = this.state\n const {\n list,\n list: { name, isEditable, items },\n settings: { appSettings },\n intl: { formatMessage },\n } = this.props\n const title = !isEditable\n ? (appSettings && appSettings.defaultListName) ||\n formatMessage(messages.defaultListName)\n : name\n\n return (\n <div className=\"w-100 flex items-center\">\n <div className=\"w-100 t-heading-2\">{title}</div>\n <div className=\"flex flex-row items-center w-100 justify-end\">\n <div className=\"ttu mh2\">\n <FormattedMessage\n {...messages.productsQuantity}\n values={{ productsQuantity: items && items.length }}\n />\n </div>\n {isEditable && (\n <div className=\"ml3\">\n <ActionMenu\n hideCaretIcon\n options={this.options}\n buttonProps={{\n variation: 'tertiary',\n icon: <IconOptionsDots size={ICONS_SIZE} />,\n }}\n />\n </div>\n )}\n </div>\n {showUpdateList && (\n <UpdateList\n list={list}\n onClose={() => this.setState({ showUpdateList: false })}\n onFinishUpdate={this.handleListUpdated}\n />\n )}\n {showDeleteConfirmation && (\n <DialogMessage\n message={formatMessage(messages.messageDeleteConfirmation, {\n listName: name,\n })}\n onClose={() => this.setState({ showDeleteConfirmation: false })}\n onSuccess={this.handleDeleteList}\n />\n )}\n </div>\n )\n }\n\n private handleListUpdated = (list: List) => {\n this.setState({ showUpdateList: false })\n this.props.onListUpdated(list)\n }\n\n private handleDeleteList = (): void => {\n const { client, list } = this.props\n if (list && list.id) {\n deleteList(client, list.id).then(() => {\n this.setState({ showDeleteConfirmation: false })\n this.props.onListDeleted()\n })\n }\n }\n}\n\nexport default compose(\n withApollo,\n injectIntl,\n withSettings\n)(Header)\n\n```" } ]
code_wishlist_e6a9e6fc
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of wishlist/react/graphql/mutations/deleteList.gql from the wishlist VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```graphql\nmutation deleteList($id: ID!) {\n deleteList(id: $id) @context(provider: \"vtex.store-graphql\") {\n id\n }\n}\n\n```" } ]
code_wishlist_05b1eb1f
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of wishlist/react/graphql/mutations/updateList.gql from the wishlist VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```graphql\nmutation updateList($id: ID!, $list: ListInput) {\n updateList(id: $id, list: $list) @context(provider: \"vtex.store-graphql\") {\n id\n name\n isPublic\n isEditable\n owner\n items {\n id\n productId\n skuId\n quantity\n }\n }\n}\n\n```" } ]
code_wishlist_ab15f948
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of wishlist/react/graphql/mutations/createList.gql from the wishlist VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```graphql\nmutation createList(\n $name: String!\n $isPublic: Boolean\n $isEditable: Boolean\n $items: [ListItemInput]\n $owner: String\n) {\n createList(\n list: {\n name: $name\n isPublic: $isPublic\n items: $items\n isEditable: $isEditable\n owner: $owner\n }\n ) @context(provider: \"vtex.store-graphql\") {\n id\n name\n owner\n isPublic\n isEditable\n items {\n id\n quantity\n productId\n quantity\n }\n }\n}\n\n```" } ]
code_wishlist_2a962b2f
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of wishlist/react/graphql/queries/getListDetails.gql from the wishlist VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```graphql\nquery getListDetails($id: ID) {\n list(id: $id) @context(provider: \"vtex.store-graphql\") {\n name\n isEditable\n isPublic\n items {\n id\n productId\n skuId\n quantity\n product {\n productId\n productName\n description\n categories\n link\n linkText\n brand\n items {\n name\n itemId\n referenceId {\n Value\n }\n images {\n imageUrl\n imageTag\n }\n sellers {\n sellerId\n commertialOffer {\n Installments {\n Value\n InterestRate\n TotalValuePlusInterestRate\n NumberOfInstallments\n Name\n }\n AvailableQuantity\n Price\n ListPrice\n }\n }\n }\n productClusters {\n id\n name\n }\n }\n }\n }\n}\n\n```" } ]
code_wishlist_f216f3f9
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of wishlist/react/graphql/queries/getList.gql from the wishlist VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```graphql\nquery getList($id: ID) {\n list(id: $id) @context(provider: \"vtex.store-graphql\") {\n id\n name\n isPublic\n isEditable\n owner\n items {\n id\n productId\n skuId\n quantity\n }\n }\n}\n\n```" } ]
code_wishlist_d57f9bad
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of wishlist/react/graphql/queries/getListsByOwner.gql from the wishlist VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```graphql\nquery getListByOwner($owner: ID!) {\n listsByOwner(owner: $owner) @context(provider: \"vtex.store-graphql\") {\n id\n name\n isPublic\n isEditable\n owner\n items {\n id\n productId\n skuId\n quantity\n }\n }\n}\n```" } ]
code_wishlist_c9754b83
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of wishlist/react/graphql/queries/appSettings.gql from the wishlist VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```graphql\nquery appSettings {\n appSettings {\n enableMultipleLists\n defaultListName\n }\n}\n```" } ]
code_bitcot-qa-theme_2392d138
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/sitemap/sitemap.json from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"urlset\": {\n \"url\": [\n {\n \"loc\": \"https://storetheme.vtex.com/about-us\"\n }\n ]\n }\n}\n```" } ]
code_bitcot-qa-theme_2138bac5
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/docs/README.md from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# Store theme\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\nOur boilerplate theme to create stores in the VTEX IO platform.\n\n## Preview\n![store-theme-default](https://user-images.githubusercontent.com/1354492/63937047-e8d81c80-ca37-11e9-86fc-61e88847bbfb.png)\n\n## Tutorial\nTo understand how things work check our tutorial [Build a store using VTEX IO](https://vtex.io/docs/getting-started/build-stores-with-store-framework/1/)\n\n## Dependencies\nAll store components that you see on this document are open source too. Production ready, you can found those apps in this GitHub organization.\n\nStore framework is the baseline to create any store using _VTEX IO Web Framework_.\n- [Store](https://github.com/vtex-apps/store/blob/master/README.md)\n\nStore GraphQL is a middleware to access all VTEX APIs.\n- [Store GraphQL](https://github.com/vtex-apps/store-graphql/blob/master/docs/README.md)\n\n### Store Component Apps\n- [Header](https://github.com/vtex-apps/store-header/blob/master/docs/README.md)\n- [Footer](https://github.com/vtex-apps/store-footer/blob/master/docs/README.md)\n- [Slider Layout](https://github.com/vtex-apps/slider-layout/blob/master/docs/README.md)\n- [Shelf](https://github.com/vtex-apps/shelf/blob/master/docs/README.md)\n- [Telemarketing](https://github.com/vtex-apps/telemarketing/blob/master/docs/README.md)\n- [Menu](https://github.com/vtex-apps/menu/blob/master/docs/README.md)\n- [Login](https://github.com/vtex-apps/login/blob/master/docs/README.md)\n- [Minicart](https://github.com/vtex-apps/minicart/blob/master/docs/README.md)\n- [Category Menu](https://github.com/vtex-apps/category-menu/blob/master/docs/README.md)\n- [Product Summary](https://github.com/vtex-apps/product-summary/blob/master/docs/README.md)\n- [Breadcrumb](https://github.com/vtex-apps/breadcrumb/blob/master/docs/README.md)\n- [Search Result](https://github.com/vtex-apps/search-result/blob/master/docs/README.md)\n- [Product Details](https://github.com/vtex-apps/product-details/blob/master/docs/README.md)\n- [Store Components](https://github.com/vtex-apps/store-components/blob/master/docs/README.md)\n- [Order Placed](https://github.com/vtex-apps/order-placed/blob/master/docs/README.md) \n\n### Store Pixel Apps\n\n - [Facebook Pixel](https://github.com/vtex-apps/facebook-pixel/blob/master/docs/README.md)\n - [Google Tag Manager](https://github.com/vtex-apps/google-tag-manager/blob/master/docs/README.md)\n\n## Contributing\n\nCheck it out [how to contribute](https://github.com/vtex-apps/awesome-io#contributing) with this project.\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n <tr>\n <td align=\"center\"><a href=\"http://www.hugoccosta.com\"><img src=\"https://avatars2.githubusercontent.com/u/20212776?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hugo Costa</b></sub></a><br /><a href=\"https://github.com/vtex-apps/store-theme/commits?author=hugocostadev\" title=\"Documentation\">📖</a></td>\n </tr>\n</table>\n\n<!-- markdownlint-enable -->\n<!-- prettier-ignore-end -->\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n\n```" } ]
code_bitcot-qa-theme_ac5eb1ac
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/docs/contact-schema.json from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"title\": \"Contact\",\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\",\n \"title\": \"Title\"\n },\n \"name\": {\n \"type\": \"string\",\n \"title\": \"Name\"\n },\n \"email\": {\n \"type\": \"string\",\n \"format\": \"email\",\n \"title\": \"Email address\"\n },\n \"message\": {\n \"type\": \"string\",\n \"title\": \"Message\"\n }\n },\n \"required\": [\"email\", \"message\"],\n \"v-security\": {\n \"publicJsonSchema\": true\n }\n}\n\n```" } ]
code_bitcot-qa-theme_f93fcf8f
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks.jsonc from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n/* Blocks can be defined both on the store/blocks.json file, and in any number of json\n * files inside the store/blocks directory, with any arbitrary directory structure.\n *\n * Additionally, all blocks files can support comments, such as this one, if given the\n * .jsonc file extension.\n *\n * The store/blocks.json file is intended for backwards compatibility, for miscellaneous\n * blocks, or if the app is simple enough that it doesn't warrant splitting the file.\n */\n{\n \"store.orderplaced\": {\n \"blocks\": [\"order-placed\"]\n },\n\n \"store.account\": {\n \"blocks\": [\"my-account\"],\n \"parent\": {\n \"challenge\": \"challenge.profile\"\n }\n },\n\n \"store.login\": {\n \"blocks\": [\"login-content#default\"]\n },\n\n \"login-content#default\": {\n \"props\": {\n \"isInitialScreenOptionOnly\": false,\n \"defaultOption\": 1,\n \"showPasswordVerificationIntoTooltip\": true\n }\n },\n\n \"store.product-review-form\": {\n \"blocks\": [\"product-review-form\"]\n },\n\n \"store.not-found#product\": {\n \"blocks\": [\"rich-text#not-found\"]\n },\n\n \"store.not-found#search\": {\n \"blocks\": [\"rich-text#not-found\"]\n },\n\n \"rich-text#not-found\": {\n \"props\": {\n \"textAlignment\": \"CENTER\",\n \"textPosition\": \"CENTER\",\n \"text\": \"**PAGE NOT FOUND**\",\n \"font\": \"t-heading-1\"\n }\n }\n}\n\n```" } ]
code_bitcot-qa-theme_a6cc3a31
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/routes.json from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store.custom#about-us\": {\n \"path\": \"/about-us\"\n },\n \"store.custom#faq\": {\n \"path\": \"/faq\"\n },\n \"store.custom#contact-us\": {\n \"path\": \"/contact-us\"\n }\n}\n\n```" } ]
code_bitcot-qa-theme_10c7f4bf
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/vtex.store-video.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.videoContainer {\n width: 100%;\n height: 300px;\n margin-top: 2%;\n}\n\n@media only screen and (min-width: 640px) {\n .videoContainer {\n height: 700px;\n }\n}\n\n```" } ]
code_bitcot-qa-theme_c77fc136
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/vtex.product-price.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.listPrice {\n color: #727273;\n margin-bottom: .25rem;\n font-size: 1rem;\n}\n\n.sellingPrice {\n color: #3f3f40;\n font-size: 1.25rem;\n}\n\n.sellingPriceValue {\n font-size: 2.25rem;\n font-weight: 700;\n}\n\n.installments {\n color: #727273;\n margin-bottom: 1rem;\n}\n\n.savings {\n font-weight: 500;\n color: #79B03A;\n}\n\n.sellingPriceValue--summary {\n font-size: 1.25rem;\n font-weight: 600;\n color: #2E2E2E;\n}\n\n.savings--summary {\n background: #8BC34A;\n border-radius: 1000px;\n align-items: center;\n display: flex;\n\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n font-size: 0.875rem;\n font-weight: 600;\n vertical-align: baseline;\n color: #FFFFFF;\n}\n\n.savings-discount--summary {\n font-size: 0.875rem;\n font-weight: 600;\n vertical-align: baseline;\n color: #FFFFFF;\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n.listPrice--summary {\n margin-bottom: 0.25rem;\n font-size: .875rem;\n}\n\n.installments--summary {\n margin-bottom: 2rem;\n font-size: 0.875rem;\n}\n\n.savings--summaryPercentage {\n background: #0f3e99;\n border-radius: 1000px;\n align-items: center;\n display: flex;\n}\n\n.savingsPercentage--summaryPercentage {\n font-size: 0.875rem;\n font-weight: 600;\n vertical-align: baseline;\n color: #FFFFFF;\n padding: 0.25rem 0.5rem 0.25rem 0.5rem;\n}\n\n```" } ]
code_bitcot-qa-theme_5e3d6bf7
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/vtex.rich-text.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.container--deals {\n color: #ffffff;\n text-align: center;\n justify-content: center;\n}\n\n.container--shelfTitle {\n color: #727273;\n justify-content: center;\n text-align: center;\n}\n\n.headingLevel2--shelfTitle {\n font-weight: 200;\n}\n\n.container--deals .paragraph {\n margin: 0;\n}\n\n.container--link {\n justify-content: center;\n}\n\n.container--question {\n justify-content: center;\n}\n\n.container--question .paragraph {\n text-align: center;\n max-width: 540px;\n margin: 0 16px;\n padding-top: 120px;\n color: #03034E;\n}\n\n.container--question .strong {\n font-size: 32px;\n line-height: 2rem;\n font-weight: 700;\n}\n\n.container--link .paragraph {\n text-align: center;\n max-width: 540px;\n padding-top: 36px;\n padding-bottom: 84px;\n color: #03034E;\n}\n\n.container--link .strong {\n font-size: 16px;\n font-weight: 700;\n text-transform: uppercase;\n}\n\n.container--link .link {\n text-decoration: none;\n font-size: 36px;\n font-weight: 300;\n color: #03034E;\n}\n\n.container--title {\n color: #03034E;\n font-size: 28px;\n font-weight: 700;\n}\n\n@media only screen and (min-width: 640px) {\n .container--question .strong {\n font-size: 40px;\n line-height: 3rem;\n }\n\n .container--about {\n max-width: 85%;\n }\n\n .container--title {\n color: #03034E;\n font-size: 40px;\n font-weight: 700;\n max-width: 60%;\n }\n\n .container--title .paragraph {\n line-height: 1.3em;\n }\n}\n\n```" } ]
code_bitcot-qa-theme_020927ba
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/vtex.product-summary.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.skuSelectorContainer--quickview .skuSelectorItemImage .frameAround, .skuSelectorContainer--quickview .skuSelectorItemImage .skuSelectorInternalBox {\n border-radius: 50%;\n}\n\n.container :global(.vtex-modal-layout-0-x-triggerContainer) {\n opacity: 0;\n transition: opacity 200ms ease-in-out;\n}\n\n.container:hover :global(.vtex-modal-layout-0-x-triggerContainer) {\n opacity: 1;\n}\n\n@media screen and (max-width: 40em) {\n .container :global(.vtex-modal-layout-0-x-triggerContainer) {\n display: none;\n }\n}\n\n.nameContainer {\n justify-content: start;\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n.brandName {\n font-weight: 600;\n font-size: 18px;\n color: #2E2E2E;\n}\n\n.container {\n text-align: start;\n}\n\n.imageContainer {\n text-align: center;\n}\n\n.image {\n border-radius: 0.25rem;\n}\n\n```" } ]
code_bitcot-qa-theme_f57ab5a4
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/vtex.modal-layout.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n@media screen and (min-width: 40em) {\n .paper--quickview {\n height: 260px;\n width: 580px;\n }\n\n .actionsContainer--quickview {\n padding: 0 2rem 2rem 2rem;\n }\n}\n\n@media screen and (min-width: 50em) {\n .paper--quickview {\n height: 450px;\n width: 900px;\n }\n}\n\n\n@media screen and (min-width: 75em) {\n .paper--quickview {\n width: calc(100% - 4rem);\n height: auto;\n }\n}\n\n@media screen and (min-width: 82em) {\n .actionsContainer--quickview {\n padding: 0 2.5rem 2.5rem 2.5rem;\n }\n}\n\n.paper--quickview {\n min-width: 320px;\n max-width: 96rem;\n}\n\n.headerContainer--quickview {\n border: none;\n position: absolute;\n right: 0;\n}\n\n.actionsContainer--quickview {\n height: 100%;\n width: 100%;\n transition: box-shadow 150ms ease-in-out, border-top 150ms ease-in-out;\n border-top-style: solid;\n border-top-width: 1px;\n border-top-color: transparent;\n box-shadow: -4px 0px 27px -12px transparent;\n}\n\n.actionsContentWrapper {\n border-top-width: 1px;\n border-top-style: solid;\n border-top-color: #aaa;\n padding-top: 1.5rem;\n}\n\n.contentContainer--quickviewContent {\n padding: 2.5rem 0 2.5rem 2rem;\n overflow-x: hidden;\n}\n\n.triggerContainer--quickview {\n padding: .75rem;\n}\n\n.triggerContainer {\n outline: none;\n}\n\n.actionsContainer--quickview:not(.actionsContainerEndOfContent--quickview) {\n border-top-color: rgb(238, 238, 238);\n box-shadow: -4px 0px 27px -12px rgba(0,0,0,0.64);\n}\n\n.actionsContainer--quickview:not(.actionsContainerEndOfContent--quickview) .actionsContentWrapper {\n border-top-color: transparent;\n}\n\n.closeButton {\n padding-right: 1rem;\n}\n\n.paper--product-gifts {\n padding: 1.5rem;\n}\n\n```" } ]
code_bitcot-qa-theme_b6572cc3
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/vtex.store-header.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n/* add transitions */\n:global(.vtex-sticky-layout-0-x-container)\n :global(.vtex-store-components-3-x-logoLink),\n:global(.vtex-sticky-layout-0-x-container)\n :global(.vtex-minicart-2-x-openIconContainer),\n:global(.vtex-sticky-layout-0-x-container)\n :global(.vtex-store-components-3-x-searchBarContainer) {\n transition: all 0.3s ease;\n display: block;\n}\n\n/* desktop/mobile main header padding and background transitions */\n:global(.vtex-flex-layout-0-x-flexRowContent--main-header),\n:global(.vtex-flex-layout-0-x-flexRowContent--main-header-mobile) {\n transition: background 0.3s ease;\n will-change: padding, background;\n}\n\n/* main header desktop has a bigger padding when not stuck */\n:global(.vtex-flex-layout-0-x-flexRowContent--main-header) {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n/* add a box-shadow to desktop/mobile header when stuck */\n:global(.vtex-sticky-layout-0-x-wrapper--stuck)\n :global(.vtex-flex-layout-0-x-flexRowContent--main-header),\n:global(.vtex-sticky-layout-0-x-wrapper--stuck)\n :global(.vtex-flex-layout-0-x-flexRowContent--main-header-mobile) {\n box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);\n}\n\n/*\n * remove the extra padding when stuck from the desktop header\n * we add a transition only when \"stuck\" for the \"unstick\" step seem faster\n */\n:global(.vtex-sticky-layout-0-x-wrapper--stuck)\n :global(.vtex-flex-layout-0-x-flexRowContent--main-header) {\n transition: padding 0.3s ease, background 0.3s ease;\n padding-top: 0;\n padding-bottom: 0;\n}\n\n/* if supported add some translucency to the desktop/mobile header background */\n@supports (backdrop-filter: blur(5px)) {\n :global(.vtex-sticky-layout-0-x-wrapper--stuck)\n :global(.vtex-flex-layout-0-x-flexRowContent--main-header),\n :global(.vtex-sticky-layout-0-x-wrapper--stuck)\n :global(.vtex-flex-layout-0-x-flexRowContent--main-header-mobile) {\n backdrop-filter: blur(8px);\n }\n\n /* header background when stuck and not hovered */\n :global(.vtex-sticky-layout-0-x-wrapper--stuck):not(:hover)\n :global(.vtex-flex-layout-0-x-flexRowContent--main-header),\n :global(.vtex-sticky-layout-0-x-wrapper--stuck):not(:hover)\n :global(.vtex-flex-layout-0-x-flexRowContent--main-header-mobile) {\n background: rgba(240, 240, 240, 0.8);\n }\n}\n\n/* stick wrapper with the same color as the desktop/mobile header */\n:global(.vtex-sticky-layout-0-x-wrapper--sticky-header) {\n background-color: #f0f0f0;\n}\n\n/* resize the logo for neat effect */\n:global(.vtex-sticky-layout-0-x-wrapper--stuck)\n :global(.vtex-store-components-3-x-logoLink) {\n transform: scale(0.85);\n}\n\n@media (prefers-reduced-motion: reduce) {\n :global(.vtex-sticky-layout-0-x-container)\n :global(.vtex-store-components-3-x-logoLink),\n :global(.vtex-sticky-layout-0-x-container)\n :global(.vtex-minicart-2-x-openIconContainer),\n :global(.vtex-sticky-layout-0-x-container)\n :global(.vtex-store-components-3-x-searchBarContainer),\n :global(.vtex-sticky-layout-0-x-wrapper--stuck)\n :global(.vtex-flex-layout-0-x-flexRowContent--main-header) {\n transition: none;\n }\n}\n\n```" } ]
code_bitcot-qa-theme_7d7186c6
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/vtex.store-components.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.notificationBarContainer {\n background-color: #e6f1e6;\n color: #03034e;\n font-weight: 700;\n font-size: 12px;\n text-decoration: underline;\n}\n\n.infoCardContainer--info-card-home {\n max-width: 1520px;\n margin: 0 auto;\n background-color: #e6f1e6;\n padding: 0px;\n}\n\n.newsletter {\n background-color: #03054e;\n max-width: 1528px;\n margin: 0 auto;\n}\n\n.newsletter .container {\n padding: 60px 10px;\n}\n\n.label {\n color: #fff;\n font-size: 26px;\n}\n\n.inputGroup {\n padding-bottom: 4px;\n display: flex;\n color: #fff;\n}\n\n.inputGroup :global(.vtex-styleguide-9-x-hideDecorators) {\n background-color: transparent;\n color: #fff;\n border: none;\n}\n\n.inputGroup :global(.vtex-styleguide-9-x-hideDecorators)::placeholder {\n color: #fff;\n font-size: 16px;\n}\n\n.inputGroup :global(.vtex-button) {\n background-color: transparent;\n color: #fff;\n border: none;\n margin-right: -24px;\n}\n\n.buttonContainer {\n padding-top: 0px;\n}\n\n.imageElement--storePrint {\n max-height: 300px;\n margin-bottom: 20px;\n}\n\n.skuSelectorContainer {\n margin: 1rem 0;\n}\n\n@media only screen and (min-width: 640px) {\n .newsletter .container {\n padding: 140px;\n }\n\n .label {\n font-size: 40px;\n }\n\n .infoCardContainer--info-card-home .infoCardTextContainer {\n width: 30%;\n }\n\n .infoCardContainer--info-card-home .infoCardImageContainer {\n width: 70%;\n }\n\n .imageElement--storePrint {\n margin-bottom: 0px;\n max-height: 600px;\n }\n}\n\n.productImagesContainer--quickview .carouselContainer {\n justify-content: flex-start;\n}\n\n.productImagesContainer--quickview .productImageTag {\n object-fit: cover !important;\n}\n\n.productImagesContainer--quickview .carouselGaleryThumbs {\n display: none;\n}\n\n.productImagesContainer--quickview .carouselGaleryCursor {\n margin: 0;\n padding: 0;\n width: 100%;\n}\n\n.productNameContainer {\n color: #3f3f40;\n font-weight: bold;\n font-size: 30px;\n}\n\n```" } ]
code_bitcot-qa-theme_adb06fec
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/vtex.store-footer.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.row--menu-row {\n padding-right: 24px;\n}\n\n.row--menu-row .rowContainer {\n align-items: flex-start;\n}\n\n.row--payment-methods {\n padding-top: 16px;\n}\n\n```" } ]
code_bitcot-qa-theme_fe99177b
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/vtex.product-identifier.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.product-identifier--productReference {\n margin-bottom: 1rem;\n}\n\n```" } ]
code_bitcot-qa-theme_d6de79f5
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/vtex.reviews-and-ratings.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.container {\n max-width: 96rem;\n padding-left: .5rem;\n padding-right: .5rem;\n}\n\n.inlineContainer {\n margin-left: 0rem;\n}\n\n.star--filled {\n color: #FFB100;\n}\n\n.star--empty {\n color: #FFB100;\n}\n\n```" } ]
code_bitcot-qa-theme_3cc9607b
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/vtex.product-highlights.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.productHighlightWrapper--collection {\n position: absolute;\n top: 10px;\n left: 5px;\n width: 200px;\n}\n\n.productHighlightText {\n background: antiquewhite;\n border-radius: 20px;\n padding: 5px 10px;\n}\n\n```" } ]
code_bitcot-qa-theme_dc0438c7
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/vtex.flex-layout.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.flexRowContent--menu-link,\n.flexRowContent--main-header {\n padding: 0 0.5rem;\n}\n\n@media screen and (min-width: 40em) {\n .flexRowContent--menu-link,\n .flexRowContent--main-header {\n padding: 0 1rem;\n }\n}\n@media screen and (min-width: 80rem) {\n .flexRowContent--menu-link,\n .flexRowContent--main-header {\n padding: 0 0.25rem;\n }\n}\n\n.flexRowContent--menu-link {\n background-color: #03044e;\n color: #fff;\n}\n\n.flexRowContent--main-header {\n background-color: #f0f0f0;\n}\n\n.flexRowContent--main-header-mobile {\n align-items: center;\n padding: 0.625rem 0.5rem;\n background-color: #f0f0f0;\n}\n\n.flexRowContent--menu-link :global(.vtex-menu-2-x-styledLink) {\n color: #ffffff;\n font-size: 14px;\n}\n\n.flexRowContent--main-header :global(.vtex-menu-2-x-styledLink) {\n color: #727273;\n font-size: 14px;\n}\n.flexRow--deals {\n background-color: #a7afbd;\n padding: 14px 0px;\n}\n\n.flexRow--deals .stretchChildrenWidth {\n align-items: center;\n}\n\n.flexRow--deals .flexCol {\n align-items: center;\n}\n\n.flexCol--filterCol {\n max-width: 500px;\n min-width: 230px;\n}\n\n.flexCol--productCountCol {\n align-items: flex-start;\n}\n\n.flexCol--orderByCol {\n align-items: flex-end;\n}\n\n.flexCol--orderByMobileCol {\n width: 42%;\n}\n\n.flexCol--filterMobileCol {\n width: 38%;\n}\n\n.flexRow--quickviewMainRow {\n display: flex;\n max-height: 100%;\n}\n\n.flexColChild--quickviewDetails:first-child {\n overflow-y: auto;\n height: 66% !important;\n overflow-x: hidden;\n}\n\n.flexColChild--quickviewDetails:last-child {\n height: 34% !important;\n}\n\n.flexRow--addToCartRow {\n padding-bottom: 1rem;\n}\n\n```" } ]
code_bitcot-qa-theme_5e504db6
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/vtex.carousel.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.containerImg {\n background-color: #F0F0F0;\n}\n\n.containerImg .img {\n max-width: 1520px;\n}\n\n```" } ]
code_bitcot-qa-theme_1f6724c7
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/vtex.search-result.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.galleryLayoutOptionButton {\n background-color: #F0F0F0;\n color: #3F3F40;\n padding: 0.375rem 0.75rem 0.375rem 0.75rem;\n}\n\n.galleryLayoutOptionButton--selected {\n background-color: #3F3F40;\n color: #FFFFFF;\n}\n\n.galleryLayoutSwitcher {\n border-radius: 4px 4px 4px 4px;\n justify-content: center;\n overflow: hidden;\n width: auto !important;\n align-self: center\n}\n\n.galleryItem--list {\n border-bottom: 1px #E7E9EE solid;\n}\n\n```" } ]
code_bitcot-qa-theme_a9584edc
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/vtex.slider-layout.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.sliderLayoutContainer {\n justify-content: center;\n}\n.sliderLayoutContainer--carousel {\n background-color: #F0F0F0;\n}\n\n.sliderTrackContainer {\n max-width: 1520px;\n}\n\n.paginationDotsContainer {\n margin-top: .5rem;\n margin-bottom: .5rem;\n}\n\n.layoutContainer--shelf {\n margin-top: 20px;\n margin-bottom: 20px;\n max-width: 96rem;\n}\n\n.slide--shelf {\n margin-bottom: 25px;\n padding-left: .5rem;\n padding-right: .5rem;\n}\n\n```" } ]
code_bitcot-qa-theme_bc3f1e89
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/vtex.stack-layout.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.stackItem--product {\n width: 100%;\n}\n\n.stackItem--quickview {\n right: 0;\n top: 0;\n left: auto;\n}\n\n```" } ]
code_bitcot-qa-theme_f3bf51fd
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/configs/style.json from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"typeScale\": [\n 3, 2.25, 1.5, 1.25, 1, 0.875, 0.75\n ],\n \"spacing\": [0.125, 0.25, 0.5, 0.75, 1, 1.5, 2, 3, 4, 8, 16],\n \"customMedia\": [\n { \"s\": 20 },\n { \"ns\": {\n \"value\": 40,\n \"minWidth\": true\n }\n },\n { \"m\": {\n \"value\": 40,\n \"minWidth\": true\n }\n },\n { \"l\": {\n \"value\": 64,\n \"minWidth\": true\n }\n },\n { \"xl\": {\n \"value\": 80,\n \"minWidth\": true\n }\n }\n ],\n \"colors\": {\n \"black-90\": \"rgba(0,0,0,.9)\",\n \"black-80\": \"rgba(0,0,0,.8)\",\n \"black-70\": \"rgba(0,0,0,.7)\",\n \"black-60\": \"rgba(0,0,0,.6)\",\n \"black-50\": \"rgba(0,0,0,.5)\",\n \"black-40\": \"rgba(0,0,0,.4)\",\n \"black-30\": \"rgba(0,0,0,.3)\",\n \"black-20\": \"rgba(0,0,0,.2)\",\n \"black-10\": \"rgba(0,0,0,.1)\",\n \"black-05\": \"rgba(0,0,0,.05)\",\n \"black-025\": \"rgba(0,0,0,.025)\",\n \"black-0125\": \"rgba(0,0,0,.0125)\",\n\n \"white-90\": \"rgba(255,255,255,.9)\",\n \"white-80\": \"rgba(255,255,255,.8)\",\n \"white-70\": \"rgba(255,255,255,.7)\",\n \"white-60\": \"rgba(255,255,255,.6)\",\n \"white-50\": \"rgba(255,255,255,.5)\",\n \"white-40\": \"rgba(255,255,255,.4)\",\n \"white-30\": \"rgba(255,255,255,.3)\",\n \"white-20\": \"rgba(255,255,255,.2)\",\n \"white-10\": \"rgba(255,255,255,.1)\",\n \"white-05\": \"rgba(255,255,255,.05)\",\n \"white-025\": \"rgba(255,255,255,.025)\",\n \"white-0125\": \"rgba(255,255,255,.0125)\"\n },\n \"semanticColors\": {\n \"background\": {\n \"base\": \"#ffffff\",\n \"base--inverted\": \"#03044e\",\n \"action-primary\": \"#0F3E99\",\n \"action-secondary\": \"#eef3f7\",\n \"emphasis\": \"#f71963\",\n \"disabled\": \"#f2f4f5\",\n \"success\": \"#8bc34a\",\n \"success--faded\": \"#eafce3\",\n \"danger\": \"#ff4c4c\",\n \"danger--faded\": \"#ffe6e6\",\n \"warning\": \"#ffb100\",\n \"warning--faded\": \"#fff6e0\",\n \"muted-1\": \"#727273\",\n \"muted-2\": \"#979899\",\n \"muted-3\": \"#cacbcc\",\n \"muted-4\": \"#e3e4e6\",\n \"muted-5\": \"#f2f4f5\"\n },\n \"hover-background\": {\n \"action-primary\": \"#072c75\",\n \"action-secondary\": \"#dbe9fd\",\n \"emphasis\": \"#dd1659\",\n \"success\": \"#8bc34a\",\n \"success--faded\": \"#eafce3\",\n \"danger\": \"#e13232\",\n \"danger--faded\": \"#ffe6e6\",\n \"warning\": \"#ffb100\",\n \"warning--faded\": \"#fff6e0\",\n \"muted-1\": \"#727273\",\n \"muted-2\": \"#979899\",\n \"muted-3\": \"#cacbcc\",\n \"muted-4\": \"#e3e4e6\",\n \"muted-5\": \"#f2f4f5\"\n },\n \"active-background\": {\n \"action-primary\": \"#0c389f\",\n \"action-secondary\": \"#d2defc\",\n \"emphasis\": \"#dd1659\",\n \"success\": \"#8bc34a\",\n \"success--faded\": \"#eafce3\",\n \"danger\": \"#ff4c4c\",\n \"danger--faded\": \"#ffe6e6\",\n \"warning\": \"#ffb100\",\n \"warning--faded\": \"#fff6e0\",\n \"muted-1\": \"#727273\",\n \"muted-2\": \"#979899\",\n \"muted-3\": \"#cacbcc\",\n \"muted-4\": \"#e3e4e6\",\n \"muted-5\": \"#f2f4f5\"\n },\n \"text\": {\n \"action-primary\": \"#0F3E99\",\n \"action-secondary\": \"#eef3f7\",\n \"link\": \"#0F3E99\",\n \"emphasis\": \"#f71963\",\n \"disabled\": \"#979899\",\n \"success\": \"#8bc34a\",\n \"success--faded\": \"#eafce3\",\n \"danger\": \"#ff4c4c\",\n \"danger--faded\": \"#ffe6e6\",\n \"warning\": \"#ffb100\",\n \"warning--faded\": \"#fff6e0\",\n \"muted-1\": \"#727273\",\n \"muted-2\": \"#979899\",\n \"muted-3\": \"#cacbcc\",\n \"muted-4\": \"#e3e4e6\",\n \"muted-5\": \"#f2f4f5\"\n },\n \"visited-text\": {\n \"link\": \"#0c389f\"\n },\n \"hover-text\": {\n \"action-primary\": \"#072c75\",\n \"action-secondary\": \"#dbe9fd\",\n \"link\": \"#0c389f\",\n \"emphasis\": \"#dd1659\",\n \"success\": \"#8bc34a\",\n \"success--faded\": \"#eafce3\",\n \"danger\": \"#e13232\",\n \"danger--faded\": \"#ffe6e6\",\n \"warning\": \"#ffb100\",\n \"warning--faded\": \"#fff6e0\"\n },\n \"active-text\": {\n \"link\": \"#0c389f\",\n \"emphasis\": \"#dd1659\",\n \"success\": \"#8bc34a\",\n \"success--faded\": \"#eafce3\",\n \"danger\": \"#ff4c4c\",\n \"danger--faded\": \"#ffe6e6\",\n \"warning\": \"#ffb100\",\n \"warning--faded\": \"#fff6e0\"\n },\n \"border\": {\n \"action-primary\": \"#0F3E99\",\n \"action-secondary\": \"#eef3f7\",\n \"emphasis\": \"#f71963\",\n \"disabled\": \"#e3e4e6\",\n \"success\": \"#8bc34a\",\n \"success--faded\": \"#eafce3\",\n \"danger\": \"#ff4c4c\",\n \"danger--faded\": \"#ffe6e6\",\n \"warning\": \"#ffb100\",\n \"warning--faded\": \"#fff6e0\",\n \"muted-1\": \"#727273\",\n \"muted-2\": \"#979899\",\n \"muted-3\": \"#cacbcc\",\n \"muted-4\": \"#e3e4e6\",\n \"muted-5\": \"#f2f4f5\"\n },\n \"hover-border\": {\n \"action-primary\": \"#072c75\",\n \"action-secondary\": \"#dbe9fd\",\n \"emphasis\": \"#dd1659\",\n \"success\": \"#8bc34a\",\n \"success--faded\": \"#eafce3\",\n \"danger\": \"#e13232\",\n \"danger--faded\": \"#ffe6e6\",\n \"warning\": \"#ffb100\",\n \"warning--faded\": \"#fff6e0\",\n \"muted-1\": \"#727273\",\n \"muted-2\": \"#979899\",\n \"muted-3\": \"#cacbcc\",\n \"muted-4\": \"#e3e4e6\",\n \"muted-5\": \"#f2f4f5\"\n },\n \"active-border\": {\n \"action-primary\": \"#0c389f\",\n \"action-secondary\": \"#d2defc\",\n \"emphasis\": \"#dd1659\",\n \"success\": \"#8bc34a\",\n \"success--faded\": \"#eafce3\",\n \"danger\": \"#ff4c4c\",\n \"danger--faded\": \"#ffe6e6\",\n \"warning\": \"#ffb100\",\n \"warning--faded\": \"#fff6e0\",\n \"muted-1\": \"#727273\",\n \"muted-2\": \"#979899\",\n \"muted-3\": \"#cacbcc\",\n \"muted-4\": \"#e3e4e6\",\n \"muted-5\": \"#f2f4f5\"\n },\n \"on\": {\n \"base\": \"#3f3f40\",\n \"base--inverted\": \"#ffffff\",\n \"action-primary\": \"#ffffff\",\n \"action-secondary\": \"#0F3E99\",\n \"emphasis\": \"#ffffff\",\n \"disabled\": \"#979899\",\n \"success\": \"#ffffff\",\n \"success--faded\": \"#3f3f40\",\n \"danger\": \"#ffffff\",\n \"danger--faded\": \"#3f3f40\",\n \"warning\": \"#ffffff\",\n \"warning--faded\": \"#1a1a1a\",\n \"muted-1\": \"#ffffff\",\n \"muted-2\": \"#ffffff\",\n \"muted-3\": \"#3f3f40\",\n \"muted-4\": \"#3f3f40\",\n \"muted-5\": \"#3f3f40\"\n },\n \"hover-on\": {\n \"action-primary\": \"#ffffff\",\n \"action-secondary\": \"#0F3E99\",\n \"emphasis\": \"#ffffff\",\n \"success\": \"#ffffff\",\n \"success--faded\": \"#3f3f40\",\n \"danger\": \"#ffffff\",\n \"danger--faded\": \"#3f3f40\",\n \"warning\": \"#ffffff\",\n \"warning--faded\": \"#1a1a1a\"\n },\n \"active-on\": {\n \"action-primary\": \"#ffffff\",\n \"action-secondary\": \"#0F3E99\",\n \"emphasis\": \"#ffffff\",\n \"success\": \"#ffffff\",\n \"success--faded\": \"#3f3f40\",\n \"danger\": \"#ffffff\",\n \"danger--faded\": \"#3f3f40\",\n \"warning\": \"#ffffff\",\n \"warning--faded\": \"#1a1a1a\"\n }\n },\n \"borderWidths\": [0, 0.125, 0.25, 0.5, 1, 2],\n \"borderRadius\": [0, 0.125, 0.25, 0.5, 1],\n \"widths\": [1, 2, 4, 8, 16],\n \"maxWidths\": [1, 2, 4, 8, 16, 32, 48, 64, 96],\n \"heights\": [1, 2, 4, 8, 16],\n \"sizes\": [\n {\"name\": \"small\", \"value\": 2},\n {\"name\": \"regular\", \"value\": 2.5},\n {\"name\": \"large\", \"value\": 3}\n ],\n \"typography\":{\n \"measure\": [30, 34, 20],\n \"styles\": {\n \"heading-1\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"700\",\n \"fontSize\": \"3rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n },\n \"heading-2\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"700\",\n \"fontSize\": \"2.25rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n },\n \"heading-3\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"700\",\n \"fontSize\": \"1.75rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n },\n \"heading-4\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"normal\",\n \"fontSize\": \"1.5rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n },\n \"heading-5\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"normal\",\n \"fontSize\": \"1.25rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n },\n \"heading-6\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"normal\",\n \"fontSize\": \"1.25rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n },\n \"body\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"normal\",\n \"fontSize\": \"1rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n },\n \"small\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"normal\",\n \"fontSize\": \"0.875rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n },\n \"mini\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"normal\",\n \"fontSize\": \"0.75rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n },\n \"action\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"500\",\n \"fontSize\": \"1rem\",\n \"textTransform\": \"uppercase\",\n \"letterSpacing\": \"0\"\n },\n \"action--small\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"500\",\n \"fontSize\": \"0.875rem\",\n \"textTransform\": \"uppercase\",\n \"letterSpacing\": \"0\"\n },\n \"action--large\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"500\",\n \"fontSize\": \"1.25rem\",\n \"textTransform\": \"uppercase\",\n \"letterSpacing\": \"0\"\n },\n \"code\": {\n \"fontFamily\": \"Consolas, monaco, monospace\",\n \"fontWeight\": \"normal\",\n \"fontSize\": \"1rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n }\n }\n },\n \"opacity\": [1, 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1, 0.05, 0.025, 0]\n}\n\n```" } ]
code_bitcot-qa-theme_1e419f7c
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/contact/vtex.flex-layout.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.flexRowContent--contact {\n max-width: 700px;\n margin: auto;\n}\n\n.flexRowContent--contact :global(.vtex-input__label),\n.flexRowContent--contact :global(.vtex-textarea__label) {\n font-size: 1rem;\n color: #3f3f40;\n}\n\n.flexRowContent--contact :global(.vtex-input),\n.flexRowContent--contact :global(.vtex-textarea) {\n display: block;\n margin-bottom: 1rem;\n}\n\n```" } ]
code_bitcot-qa-theme_45e4aed4
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/faq/vtex.flex-layout.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.flexRowContent--faq {\n max-width: 700px;\n margin: auto;\n}\n\n```" } ]
code_bitcot-qa-theme_4aa9560b
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/faq/vtex.disclosure-layout.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.trigger--question {\n display: flex;\n align-items: center;\n cursor: pointer;\n outline: none;\n}\n\n.trigger--question :global(.vtex-rich-text-0-x-paragraph) {\n font-weight: bold;\n}\n\n.trigger--question:focus,\n.trigger--question:focus :global(.vtex-rich-text-0-x-paragraph) {\n color: #0F3E99;\n}\n\n.trigger :global(.vtex-store-icons-0-x-caretIcon) {\n margin-right: 1rem;\n}\n\n.content--answer {\n transition: opacity 250ms ease-in-out, height 250ms ease-in-out, transform 250ms ease-in-out;\n opacity: 0;\n height: 0;\n transform: translate3d(0, -10%, 0);\n}\n\n.content--answer[data-enter] {\n opacity: 1;\n height: fit-content;\n transform: translate3d(0, 0, 0);\n}\n\n.content--answer[data-leave] {\n height: 0;\n overflow: hidden;\n}\n\n```" } ]
code_bitcot-qa-theme_56d37a4e
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/search/vtex.rich-text.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.container--layout-option {\n margin-left: 0.3em;\n}\n\n.paragraph--layout-option {\n margin: 0;\n}\n\n.paragraph--summarySpecificationBullet {\n margin: 0;\n line-height: initial;\n font-size: 1.25rem;\n line-height: 1.15rem;\n}\n\n```" } ]
code_bitcot-qa-theme_4ce7b1c8
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/search/vtex.product-summary.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.nameContainer--summaryListDesktop {\n padding-top: 0.25rem;\n padding-bottom: 0.75rem;\n justify-content: start;\n}\n\n.nameContainer--summaryListMobile {\n padding-top: 0.25rem;\n padding-bottom: 0.5rem;\n justify-content: start;\n}\n\n.brandName--summaryListMobile {\n font-weight: 400;\n font-size: 0.875rem;\n color: black;\n}\n\n.container--listLayout {\n max-width: none !important;\n}\n\n.image--summaryListDesktop {\n width: 180px !important;\n}\n\n.image--summaryListMobile {\n width: 140px !important;\n min-width: 140px;\n height: inherit !important;\n}\n\n```" } ]
code_bitcot-qa-theme_5a8272ec
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/search/vtex.store-components.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.productBrandName--summaryListDesktop {\n text-decoration: none;\n font-weight: 500;\n color: #0067C7;\n font-size: .875rem;\n}\n\n.productBrandName--summaryListMobile {\n text-decoration: none;\n color: #0067C7;\n font-size: .875rem;\n}\n\n```" } ]
code_bitcot-qa-theme_b27aac41
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/search/vtex.flex-layout.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.flexRow--orderByAndSwitcher {\n padding-right: 1.5em;\n}\n\n.flexRowContent--savingsSummaryListDesktop {\n justify-content: flex-start;\n}\n\n.flexCol--summaryRightListDesktop {\n justify-content: space-around;\n}\n\n.flexRow--buyNowButton :global(.vtex-button) {\n background: #eef3f7;\n border-color:#eef3f7;\n color: #0f3e99;\n}\n\n.flexRow--buyNowButton:hover :global(.vtex-button) {\n background: #dbe9fd;\n border-color:#dbe9fd;\n}\n\n.flexCol--productRating {\n margin-bottom: 3rem;\n}\n\n.flexCol--summaryDetailsListMobile {\n justify-content: space-between;\n}\n\n.flexCol--summaryUpDetailsListMobile {\n margin-bottom: 0.25rem\n}\n\n```" } ]
code_bitcot-qa-theme_5aa16f88
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/product-specification-table/vtex.flex-layout.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.flexRow--productSpecificationGroup:not(:first-child) {\n margin-top: 1.5rem;\n}\n\n.flexRow--productSpecificationGroupName {\n background-color: #eaeaea;\n padding: 0.5rem 1rem;\n}\n\n.flexCol--productSpecificationName {\n padding: 1rem;\n}\n\n.flexCol--productSpecificationValue {\n padding: 1rem 1rem 1rem 0;\n}\n\n.flexRow--productSpecification:nth-child(even) {\n background-color: #f9f9f9;\n}\n\n```" } ]
code_bitcot-qa-theme_46b9551f
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/styles/css/product-specification-table/vtex.product-specifications.css from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.groupName {\n font-size: 1.25rem;\n}\n\n.specificationName {\n font-weight: bold;\n}\n\n```" } ]
code_bitcot-qa-theme_24ed0b36
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/about-us.json from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store.custom#about-us\": {\n \"blocks\": [\n \"flex-layout.row#about-us\",\n \"video#about-us\"\n ]\n },\n\n \"flex-layout.row#about-us\": {\n \"children\": [\n \"image#mobile-phone\",\n \"flex-layout.col#text-about-us\"\n ]\n },\n\n \"flex-layout.col#text-about-us\": {\n \"children\": [\n \"rich-text#title-about-us\",\n \"rich-text#about-us\"\n ],\n \"props\": {\n \"blockclass\": \"textColumn\",\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#title-about-us\": {\n \"props\": {\n \"text\":\n \"# Create meaningful and relevant experiences.\",\n \"blockClass\": \"title\"\n }\n },\n\n \"image#mobile-phone\": {\n \"props\": {\n \"src\": \"https://storecomponents.vteximg.com.br/arquivos/mobile-phone.png\",\n \"maxHeight\": \"\",\n \"maxWidth\": \"\",\n \"blockClass\": \"storePrint\"\n }\n },\n \"video#about-us\": {\n \"props\": {\n \"src\": \"https://www.youtube.com/embed/JgkrlaF52WQ\",\n \"width\": \"100%\",\n \"height\": \"100%\"\n }\n },\n \"rich-text#about-us\": {\n \"props\": {\n \"text\": \"**Optimized store framework** \\n Free your front-end with our React + Node store framework. Improve usability and SEO, while driving more conversion with modular components, single page applications, and a ready-for-PWA structure. \\n **Multi-currency and language** \\n Go international with multiple storefronts to support different languages and easily manage local currencies and payment conditions. \\n **Serverless development platform** \\n Reduce loading time, improve usability, and make the best out of SEO. Developing scalable components with a comprehensive, easy-to-use toolset, you can build stores faster than ever.\",\n \"blockClass\": \"about\"\n }\n }\n}\n\n```" } ]
code_bitcot-qa-theme_bd3e55fb
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/product-price.jsonc from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#selling-price\": {\n \"props\": {\n \"colGap\": 2,\n \"preserveLayoutOnMobile\": true,\n \"preventHorizontalStretch\": true,\n \"marginBottom\": 4\n },\n \"children\": [\n \"product-selling-price\"\n ]\n },\n\n \"flex-layout.row#list-price-savings\": {\n \"props\": {\n \"colGap\": 2,\n \"preserveLayoutOnMobile\": true,\n \"preventHorizontalStretch\": true,\n \"marginBottom\": 2,\n \"marginTop\": 5\n },\n \"children\": [\n \"product-list-price\",\n \"product-price-savings\"\n ]\n }\n}\n\n```" } ]
code_bitcot-qa-theme_f744be67
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/minicart.jsonc from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"add-to-cart-button\": {\n \"props\": {\n \"addToCartFeedback\": \"customEvent\",\n \"customPixelEventId\": \"add-to-cart-button\"\n }\n },\n\n \"minicart.v2\": {\n \"props\": {\n \"customPixelEventId\": \"add-to-cart-button\"\n },\n \"children\": [\"minicart-base-content\"]\n }\n}\n\n```" } ]
code_bitcot-qa-theme_730b8a99
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/search.jsonc from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store.search\": {\n \"blocks\": [\"search-result-layout\"],\n \"props\": {\n \"context\": {\n \"skusFilter\": \"ALL\",\n \"simulationBehavior\": \"skip\"\n }\n }\n },\n\n \"store.search#brand\": {\n \"blocks\": [\"search-result-layout\"],\n \"props\": {\n \"context\": {\n \"orderByField\": \"OrderByReleaseDateDESC\",\n \"hideUnavailableItems\": true,\n \"maxItemsPerPage\": 10,\n \"skusFilter\": \"ALL\",\n \"simulationBehavior\": \"skip\"\n }\n }\n },\n\n \"store.search#department\": {\n \"blocks\": [\"search-result-layout\"],\n \"props\": {\n \"context\": {\n \"skusFilter\": \"ALL\",\n \"simulationBehavior\": \"skip\"\n }\n }\n },\n\n \"store.search#category\": {\n \"blocks\": [\"search-result-layout\"],\n \"props\": {\n \"context\": {\n \"skusFilter\": \"ALL\",\n \"simulationBehavior\": \"skip\"\n }\n }\n },\n\n \"store.search#subcategory\": {\n \"blocks\": [\"search-result-layout\"],\n \"props\": {\n \"context\": {\n \"skusFilter\": \"ALL\",\n \"simulationBehavior\": \"skip\"\n }\n }\n },\n\n \"search-result-layout\": {\n \"blocks\": [\n \"search-result-layout.desktop\",\n \"search-result-layout.mobile\",\n \"search-not-found-layout\"\n ]\n },\n\n \"search-result-layout.desktop\": {\n \"children\": [\n \"flex-layout.row#searchbread\",\n \"flex-layout.row#searchtitle\",\n \"flex-layout.row#result\"\n ],\n \"props\": {\n \"pagination\": \"show-more\",\n \"preventRouteChange\": false,\n \"defaultGalleryLayout\": \"grid\"\n }\n },\n \"flex-layout.row#searchbread\": {\n \"children\": [\"breadcrumb.search\"],\n \"props\": {\n \"preserveLayoutOnMobile\": true,\n \"fullWidth\": true\n }\n },\n \"flex-layout.row#searchtitle\": {\n \"children\": [\"search-title.v2\"]\n },\n \"flex-layout.row#result\": {\n \"children\": [\"flex-layout.col#filter\", \"flex-layout.col#content\"],\n \"props\": {\n \"preventHorizontalStretch\": true,\n \"fullWidth\": true\n }\n },\n \"flex-layout.col#filter\": {\n \"children\": [\"filter-navigator.v3\"],\n \"props\": {\n \"blockClass\": \"filterCol\"\n }\n },\n \"flex-layout.col#content\": {\n \"children\": [\n \"flex-layout.row#searchinfo\",\n \"flex-layout.row#fetchprevious\",\n \"flex-layout.row#products\",\n \"flex-layout.row#fetchmore\"\n ],\n \"props\": {\n \"width\": \"grow\",\n \"preventVerticalStretch\": true\n }\n },\n \"flex-layout.row#searchinfo\": {\n \"children\": [\"flex-layout.col#productCount\", \"flex-layout.row#orderByAndSwitcher\"]\n },\n \"flex-layout.row#orderByAndSwitcher\": {\n \"children\": [\"order-by.v2\", \"gallery-layout-switcher\"],\n \"props\": {\n \"horizontalAlign\": \"right\",\n \"preventHorizontalStretch\": true,\n \"blockClass\": \"orderByAndSwitcher\",\n \"colGap\": 3\n }\n },\n \"flex-layout.col#productCount\": {\n \"children\": [\"total-products.v2\"],\n \"props\": {\n \"blockClass\": \"productCountCol\"\n }\n },\n \"flex-layout.row#fetchprevious\": {\n \"props\": {\n \"marginBottom\": 3\n },\n \"children\": [\"search-fetch-previous\"]\n },\n \"flex-layout.row#fetchmore\": {\n \"props\": {\n \"marginTop\": 3\n },\n \"children\": [\"search-fetch-more\"]\n },\n \"search-fetch-previous\": {\n \"props\": {\n \"htmlElementForButton\": \"a\"\n }\n },\n \"search-fetch-more\": {\n \"props\": {\n \"htmlElementForButton\": \"a\"\n }\n },\n \"flex-layout.row#products\": {\n \"children\": [\"search-content\"]\n },\n \"search-content\": {\n \"blocks\": [\"gallery\", \"not-found\"]\n },\n\n \"search-result-layout.mobile\": {\n \"children\": [\n \"flex-layout.row#searchinfomobile\",\n \"flex-layout.row#searchbread\",\n \"flex-layout.row#productCountMobile\",\n \"flex-layout.row#fetchprevious\",\n \"flex-layout.row#contentmobile\",\n \"flex-layout.row#fetchmore\"\n ],\n \"props\": {\n \"pagination\": \"show-more\",\n \"mobileLayout\": {\n \"mode1\": \"small\",\n \"mode2\": \"normal\"\n },\n \"defaultGalleryLayout\": \"grid\"\n }\n },\n \"flex-layout.row#contentmobile\": {\n \"children\": [\"search-content\"],\n \"props\": {\n \"preserveLayoutOnMobile\": true\n }\n },\n\n \"flex-layout.row#searchinfomobile\": {\n \"children\": [\n \"flex-layout.col#orderByMobile\",\n \"flex-layout.col#filterMobile\",\n \"flex-layout.col#switcherMobile\"\n ],\n \"props\": {\n \"preserveLayoutOnMobile\": true,\n \"colSizing\": \"auto\",\n \"colJustify\": \"around\"\n }\n },\n\n \"flex-layout.col#orderByMobile\": {\n \"children\": [\"order-by.v2\"],\n \"props\": {\n \"blockClass\": \"orderByMobileCol\"\n }\n },\n\n \"flex-layout.row#productCountMobile\": {\n \"children\": [\"total-products.v2\"],\n \"props\": {\n \"blockClass\": \"productCountMobileRow\"\n }\n },\n\n \"flex-layout.col#filterMobile\": {\n \"children\": [\"filter-navigator.v3\"],\n \"props\": {\n \"blockClass\": \"filterMobileCol\"\n }\n },\n \"flex-layout.col#switcherMobile\": {\n \"children\": [\"gallery-layout-switcher\"],\n \"props\": {\n \"verticalAlign\": \"middle\"\n }\n },\n \"search-not-found-layout\": {\n \"children\": [\"flex-layout.row#searchbread\", \"flex-layout.row#notfound\"]\n },\n\n \"flex-layout.row#notfound\": {\n \"children\": [\"not-found\"],\n \"props\": {\n \"fullWidth\": true\n }\n },\n\n \"breadcrumb\": {\n \"props\": {\n \"showOnMobile\": true\n }\n },\n\n \"gallery\": {\n \"props\": {\n \"layouts\": [\n {\n \"name\": \"grid\",\n \"component\": \"GridSummary\",\n \"itemsPerRow\": {\n \"(min-width:1300px)\": 4,\n \"desktop\": 3,\n \"tablet\": 3,\n \"phone\": 2\n }\n },\n {\n \"name\": \"list\",\n \"component\": \"ListSummary\",\n \"itemsPerRow\": 1\n }\n ],\n \"ListSummary\": \"product-summary.shelf#listLayout\",\n \"GridSummary\": \"product-summary.shelf\"\n }\n },\n \"gallery-layout-switcher\": {\n \"children\": [\n /*\n * For accessbility to work properly,\n * It's important to define the options in the same order as the layouts\n */\n \"gallery-layout-option#grid\",\n \"gallery-layout-option#list\"\n ]\n },\n \"gallery-layout-option#grid\": {\n \"props\": {\n \"name\": \"grid\"\n },\n \"children\": [\n \"icon-grid\",\n \"responsive-layout.desktop#textOptionGrid\"\n ]\n },\n \"gallery-layout-option#list\": {\n \"props\": {\n \"name\": \"list\"\n },\n \"children\": [\n \"icon-inline-grid\",\n \"responsive-layout.desktop#textOptionList\"\n ]\n },\n \"responsive-layout.desktop#textOptionGrid\": {\n \"children\": [\n \"rich-text#option-grid\"\n ]\n },\n \"responsive-layout.desktop#textOptionList\": {\n \"children\": [\n \"rich-text#option-list\"\n ]\n },\n \"rich-text#option-grid\": {\n \"props\": {\n \"text\": \"Grid\",\n \"textColor\": \"c-auto\",\n \"blockClass\": \"layout-option\"\n }\n },\n \"rich-text#option-list\": {\n \"props\": {\n \"text\": \"List\",\n \"textColor\": \"c-auto\",\n \"blockClass\": \"layout-option\"\n }\n }\n}\n\n```" } ]
code_bitcot-qa-theme_1ae59e10
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/contact.jsonc from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store.custom#contact-us\": {\n \"children\": [\n \"flex-layout.row#contact-us\"\n ]\n },\n\n \"flex-layout.row#contact-us\": {\n \"props\": {\n \"blockClass\": \"contact\"\n },\n \"children\": [\n \"flex-layout.col#contact-us\"\n ]\n },\n\n \"flex-layout.col#contact-us\": {\n \"children\": [\n \"rich-text#contact-us\",\n \"form#contact-us\"\n ]\n },\n \"rich-text#contact-us\": {\n \"props\": {\n \"text\": \"## Contact Us\"\n }\n },\n\n \"form#contact-us\": {\n \"props\": {\n \"entity\": \"contact\",\n \"schema\": \"site-contact\"\n },\n \"blocks\": [\n \"form-success#contact-us\"\n ],\n \"children\": [\n \"form-input.text#title\",\n \"form-input.text#name\",\n \"form-input.text#email\",\n \"form-input.textarea#message\",\n \"form-submit#contact\"\n ]\n },\n\n \"form-success#contact-us\": {\n \"children\": [\n \"rich-text#success-submit\"\n ]\n },\n \"rich-text#success-submit\": {\n \"props\": {\n \"text\": \"Thanks for reaching out! We will come back shortly.\",\n \"textAlignment\": \"CENTER\",\n \"textPosition\": \"CENTER\"\n }\n },\n\n \"form-input.text#title\": {\n \"props\": {\n \"pointer\": \"#/properties/title\"\n }\n },\n \"form-input.text#name\": {\n \"props\": {\n \"pointer\": \"#/properties/name\"\n }\n },\n \"form-input.text#email\": {\n \"props\": {\n \"pointer\": \"#/properties/email\"\n }\n },\n \"form-input.textarea#message\": {\n \"props\": {\n \"pointer\": \"#/properties/message\"\n }\n },\n\n \"form-submit#contact\": {\n \"props\": {\n \"label\": \"Submit\"\n }\n }\n}\n\n```" } ]
code_bitcot-qa-theme_ba84324d
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/orderplaced.jsonc from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"order-placed\": {\n \"blocks\": [\"op-header\", \"op-order\"]\n },\n \"op-header\": {\n \"children\": [\n \"op-section#confirmation\",\n \"op-section#notices\",\n \"op-summary-section\",\n \"op-bank-invoice-section\"\n ]\n },\n \"op-section#confirmation\": {\n \"props\": {\n \"name\": \"confirmation\",\n \"marginBottom\": 9,\n \"borderless\": true\n },\n \"children\": [\n \"op-confirmation-icon\",\n \"op-confirmation-title\",\n \"op-confirmation-message\",\n \"flex-layout.row#confirmation-buttons\"\n ]\n },\n \"flex-layout.row#confirmation-buttons\": {\n \"props\": {\n \"blockClass\": \"confirmationButtons\",\n \"marginTop\": 8,\n \"marginBottom\": 8,\n \"horizontalAlign\": \"center\",\n \"preventHorizontalStretch\": true,\n \"preserveLayoutOnMobile\": true\n },\n \"children\": [\"flex-layout.col#confirmation-buttons\"]\n },\n \"flex-layout.col#confirmation-buttons\": {\n \"children\": [\"op-print-button\"]\n },\n \"op-section#notices\": {\n \"props\": {\n \"name\": \"notices\",\n \"marginBottom\": 9,\n \"borderless\": true\n },\n \"children\": [\"op-notices\"]\n },\n // each order section\n \"op-order\": {\n \"children\": [\n \"flex-layout.row#order-header\",\n \"op-order-split-notice\",\n \"op-order-customer\",\n \"op-section#payments\",\n \"op-section#pickup-packages\",\n \"op-section#delivery-packages\",\n \"op-order-takeaway-packages\",\n \"op-order-total\"\n ]\n },\n // each order header\n \"flex-layout.row#order-header\": {\n \"props\": {\n \"fullWidth\": true,\n \"colSizing\": \"auto\",\n \"colGap\": 5,\n \"marginBottom\": 5\n },\n \"children\": [\n \"flex-layout.col#order-header-info\",\n \"flex-layout.col#order-header-options\"\n ]\n },\n \"flex-layout.col#order-header-info\": {\n \"children\": [\"op-order-number\", \"op-order-datetime\", \"op-order-seller\"]\n },\n \"flex-layout.col#order-header-options\": {\n \"children\": [\"responsive-layout.desktop#order-options-desktop\"]\n },\n \"responsive-layout.desktop#order-options-desktop\": {\n \"children\": [\"op-order-options\"]\n },\n // payment section\n \"op-section#payments\": {\n \"props\": {\n \"name\": \"paymentMethods\"\n },\n \"children\": [\n \"op-order-payment\",\n \"responsive-layout.mobile#order-options-mobile\"\n ]\n },\n // bottom of top section of order header\n \"responsive-layout.mobile#order-options-mobile\": {\n \"children\": [\"op-order-options#mobile\"]\n },\n \"op-order-options#mobile\": {\n \"props\": {\n \"blockClass\": \"mobile\",\n \"fullWidth\": true\n }\n },\n \"op-section#pickup-packages\": {\n \"props\": {\n \"name\": \"pickupPackages\"\n },\n \"children\": [\"op-order-pickup-packages\"]\n },\n \"op-section#delivery-packages\": {\n \"props\": {\n \"name\": \"deliveryPackages\"\n },\n \"children\": [\"op-order-delivery-packages\"]\n }\n}\n\n```" } ]
code_bitcot-qa-theme_c4506f67
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/faq.jsonc from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store.custom#faq\": {\n \"children\": [\n \"flex-layout.row#faq\"\n ]\n },\n\n \"flex-layout.row#faq\": {\n \"props\": {\n \"blockClass\": \"faq\"\n },\n \"children\": [\n \"flex-layout.col#faq\"\n ]\n },\n\n \"flex-layout.col#faq\": {\n \"children\": [\n \"rich-text#faq\",\n \"disclosure-layout-group#group\"\n ]\n },\n \"rich-text#faq\": {\n \"props\": {\n \"text\": \"## FAQ\"\n }\n },\n\n \"disclosure-layout-group#group\": {\n \"children\": [\n \"disclosure-layout#first\",\n \"disclosure-layout#second\",\n \"disclosure-layout#third\",\n \"disclosure-layout#fourth\"\n ]\n },\n\n \"disclosure-layout#first\": {\n \"props\": {\n \"animated\": true\n },\n \"children\": [\"disclosure-trigger#first\", \"disclosure-content#first\"]\n },\n \"disclosure-trigger#first\": {\n \"props\": {\n \"blockClass\": \"question\",\n \"as\": \"div\"\n },\n \"children\": [\"disclosure-state-indicator\", \"rich-text#question1\"]\n },\n \"disclosure-content#first\": {\n \"props\": {\n \"blockClass\": \"answer\"\n },\n \"children\": [\"rich-text#answer1\"]\n },\n \"rich-text#question1\": {\n \"props\": {\n \"text\": \"How can I change my shipping address?\"\n }\n },\n \"rich-text#answer1\": {\n \"props\": {\n \"text\": \"Call us at the number (212) 1234-1234.\"\n }\n },\n\n \"disclosure-layout#second\": {\n \"props\": {\n \"animated\": true\n },\n \"children\": [\"disclosure-trigger#second\", \"disclosure-content#second\"]\n },\n \"disclosure-trigger#second\": {\n \"props\": {\n \"blockClass\": \"question\",\n \"as\": \"div\"\n },\n \"children\": [\"disclosure-state-indicator\", \"rich-text#question2\"]\n },\n \"disclosure-content#second\": {\n \"props\": {\n \"blockClass\": \"answer\"\n },\n \"children\": [\"rich-text#answer2\"]\n },\n \"rich-text#question2\": {\n \"props\": {\n \"text\": \"How can I track my order?\"\n }\n },\n \"rich-text#answer2\": {\n \"props\": {\n \"text\": \"After logging into your account, you can find this info at the link Orders.\"\n }\n },\n\n\n \"disclosure-layout#third\": {\n \"props\": {\n \"animated\": true\n },\n \"children\": [\"disclosure-trigger#third\", \"disclosure-content#third\"]\n },\n \"disclosure-trigger#third\": {\n \"props\": {\n \"blockClass\": \"question\",\n \"as\": \"div\"\n },\n \"children\": [\"disclosure-state-indicator\", \"rich-text#question3\"]\n },\n \"disclosure-content#third\": {\n \"props\": {\n \"blockClass\": \"answer\"\n },\n \"children\": [\"rich-text#answer3\"]\n },\n \"rich-text#question3\": {\n \"props\": {\n \"text\": \"How can I change my shipping address?\"\n }\n },\n \"rich-text#answer3\": {\n \"props\": {\n \"text\": \"Call us at the number (212) 1234-1234.\"\n }\n },\n\n\n \"disclosure-layout#fourth\": {\n \"props\": {\n \"animated\": true\n },\n \"children\": [\"disclosure-trigger#fourth\", \"disclosure-content#fourth\"]\n },\n \"disclosure-trigger#fourth\": {\n \"props\": {\n \"blockClass\": \"question\",\n \"as\": \"div\"\n },\n \"children\": [\"disclosure-state-indicator\", \"rich-text#question4\"]\n },\n \"disclosure-content#fourth\": {\n \"props\": {\n \"blockClass\": \"answer\"\n },\n \"children\": [\"rich-text#answer2\"]\n },\n \"rich-text#question4\": {\n \"props\": {\n \"text\": \"How can I track my order?\"\n }\n },\n \"rich-text#answer4\": {\n \"props\": {\n \"text\": \"After logging into your account, you can find this info at the link Orders.\"\n }\n },\n\n\n \"disclosure-state-indicator\": {\n \"props\": {\n \"Show\": \"icon-caret#down\",\n \"Hide\": \"icon-caret#up\"\n }\n },\n \"icon-caret#down\": {\n \"props\": {\n \"orientation\": \"down\"\n }\n },\n \"icon-caret#up\": {\n \"props\": {\n \"orientation\": \"up\"\n }\n }\n}\n\n```" } ]
code_bitcot-qa-theme_cbd8779e
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/home/home.jsonc from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store.home\": {\n \"blocks\": [\n \"list-context.image-list#demo\",\n /* You can make references to blocks defined in other files.\n * For example, `flex-layout.row#deals` is defined in the `deals.json` file. */\n \"__fold__.experimentalLazyAssets\",\n \"flex-layout.row#deals\",\n \"rich-text#shelf-title\",\n \"flex-layout.row#shelf\",\n \"info-card#home\",\n \"rich-text#question\",\n \"rich-text#link\",\n \"newsletter\"\n ]\n },\n\n \"list-context.image-list#demo\": {\n \"children\": [\"slider-layout#demo-images\"],\n \"props\": {\n \"height\": 720,\n \"images\": [\n {\n \"image\": \"https://storecomponents.vteximg.com.br/arquivos/banner-principal.png\",\n \"mobileImage\": \"https://storecomponents.vteximg.com.br/arquivos/banner-principal-mobile.jpg\"\n },\n {\n \"image\": \"https://storecomponents.vteximg.com.br/arquivos/banner.jpg\",\n \"mobileImage\": \"https://storecomponents.vteximg.com.br/arquivos/banner-principal-mobile.jpg\"\n }\n ]\n }\n },\n \"slider-layout#demo-images\": {\n \"props\": {\n \"itemsPerPage\": {\n \"desktop\": 1,\n \"tablet\": 1,\n \"phone\": 1\n },\n \"infinite\": true,\n \"showNavigationArrows\": \"desktopOnly\",\n \"blockClass\": \"carousel\"\n }\n },\n\n \"rich-text#shelf-title\": {\n \"props\": {\n \"text\": \"## Summer\",\n \"blockClass\": \"shelfTitle\"\n }\n },\n \"flex-layout.row#shelf\": {\n \"children\": [\"list-context.product-list#demo1\"]\n },\n \"list-context.product-list#demo1\": {\n \"blocks\": [\"product-summary.shelf\"],\n \"children\": [\"slider-layout#demo-products\"],\n \"props\": {\n \"orderBy\": \"OrderByTopSaleDESC\"\n }\n },\n \"slider-layout#demo-products\": {\n \"props\": {\n \"itemsPerPage\": {\n \"desktop\": 5,\n \"tablet\": 3,\n \"phone\": 1\n },\n \"infinite\": true,\n \"fullWidth\": false,\n \"blockClass\": \"shelf\"\n }\n },\n\n \"info-card#home\": {\n \"props\": {\n \"id\": \"info-card-home\",\n \"isFullModeStyle\": false,\n \"textPosition\": \"left\",\n \"imageUrl\": \"https://storecomponents.vteximg.com.br/arquivos/banner-infocard2.png\",\n \"headline\": \"Clearance Sale\",\n \"callToActionText\": \"DISCOVER\",\n \"callToActionUrl\": \"/sale/d\",\n \"blockClass\": \"info-card-home\",\n \"textAlignment\": \"center\"\n }\n },\n\n \"rich-text#question\": {\n \"props\": {\n \"text\": \"**This is an example store built using the VTEX platform.\\nWant to know more?**\",\n \"blockClass\": \"question\"\n }\n },\n\n \"rich-text#link\": {\n \"props\": {\n \"text\": \"\\n**Reach us at**\\nwww.vtex.com.br\",\n \"blockClass\": \"link\"\n }\n }\n}\n\n```" } ]
code_bitcot-qa-theme_4396b98b
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/home/deals.json from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.row#deals\": {\n \"children\": [\n \"flex-layout.col#deals1\",\n \"flex-layout.col#deals2\",\n \"flex-layout.col#deals3\",\n \"flex-layout.col#deals4\"\n ],\n \"props\": {\n \"blockClass\": \"deals\"\n }\n },\n\n \"flex-layout.col#deals1\": {\n \"children\": [\n \"image#deal1\",\n \"rich-text#deal1\"\n ]\n },\n \"image#deal1\": {\n \"props\": {\n \"src\": \"https://storecomponents.vteximg.com.br/arquivos/box.png\",\n \"maxHeight\": \"24px\"\n }\n },\n \"rich-text#deal1\": {\n \"props\": {\n \"text\": \"Free shipping\",\n \"blockClass\": \"deals\"\n }\n },\n \"flex-layout.col#deals2\": {\n \"children\": [\n \"image#deal2\",\n \"rich-text#deal2\"\n ]\n },\n \"image#deal2\": {\n \"props\": {\n \"src\": \"https://storecomponents.vteximg.com.br/arquivos/delivery-fast.png\",\n \"maxHeight\": \"24px\"\n }\n },\n \"rich-text#deal2\": {\n \"props\": {\n \"text\": \"One day delivery\",\n \"blockClass\": \"deals\"\n }\n },\n \"flex-layout.col#deals3\": {\n \"children\": [\n \"image#deal3\",\n \"rich-text#deal3\"\n ]\n },\n \"image#deal3\": {\n \"props\": {\n \"src\": \"https://storecomponents.vteximg.com.br/arquivos/store.png\",\n \"maxHeight\": \"24px\"\n }\n },\n \"rich-text#deal3\": {\n \"props\": {\n \"text\": \"Pick up in store\",\n \"blockClass\": \"deals\"\n }\n },\n \"flex-layout.col#deals4\": {\n \"children\": [\n \"image#deal4\",\n \"rich-text#deal4\"\n ]\n },\n \"image#deal4\": {\n \"props\": {\n \"src\": \"https://storecomponents.vteximg.com.br/arquivos/coupon.png\",\n \"maxHeight\": \"24px\"\n }\n },\n \"rich-text#deal4\": {\n \"props\": {\n \"text\": \"Exclusive deals\",\n \"blockClass\": \"deals\"\n }\n }\n}\n\n```" } ]
code_bitcot-qa-theme_32f4f031
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/footer/footer.json from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"footer\": {\n \"blocks\": [\"footer-layout.desktop\", \"footer-layout.mobile\"]\n },\n \"footer-layout.desktop\": {\n \"children\": [\n \"flex-layout.row#footer-1-desktop\",\n \"flex-layout.row#footer-2-desktop\",\n \"flex-layout.row#footer-3-desktop\"\n ]\n },\n \"flex-layout.row#footer-1-desktop\": {\n \"children\": [\n \"vtex.menu@2.x:menu#Products\",\n \"vtex.menu@2.x:menu#footer-clothing\",\n \"vtex.menu@2.x:menu#footer-decoration\",\n \"vtex.menu@2.x:menu#footer-bags\",\n \"footer-spacer\",\n \"social-networks\"\n ],\n \"props\": {\n \"blockClass\": \"menu-row\",\n \"paddingTop\": 6,\n \"paddingBottom\": 3\n }\n },\n\n \"social-networks\": {\n \"props\": {\n \"socialNetworks\": [\n {\n \"name\": \"Facebook\",\n \"url\": \"https://www.facebook.com/vtexonline/\"\n },\n {\n \"name\": \"Instagram\",\n \"url\": \"https://www.instagram.com/vtextruecloud/\"\n },\n {\n \"name\": \"Twitter\",\n \"url\": \"https://twitter.com/vtexonline\"\n },\n {\n \"name\": \"Youtube\",\n \"url\": \"https://www.youtube.com/user/VTEXTV\"\n }\n ]\n }\n },\n\n \"flex-layout.row#footer-2-desktop\": {\n \"children\": [\"accepted-payment-methods\"],\n \"props\": {\n \"blockClass\": \"payment-methods\"\n }\n },\n \"accepted-payment-methods\": {\n \"props\": {\n \"paymentMethods\": [\"MasterCard\", \"Visa\", \"Diners Club\"]\n }\n },\n\n \"flex-layout.row#footer-3-desktop\": {\n \"children\": [\"rich-text#footer\"],\n \"props\": {\n \"blockClass\": \"credits\"\n }\n },\n \"rich-text#footer\": {\n \"props\": {\n \"text\": \"All stock and product photos are from photos.icons8.com\",\n \"blockClass\": \"footer\"\n }\n },\n\n \"footer-layout.mobile\": {\n \"children\": [\n \"flex-layout.row#1-footer-mobile\",\n \"flex-layout.row#2-footer-mobile\"\n ]\n },\n \"flex-layout.row#2-footer-mobile\": {\n \"children\": [\"flex-layout.col#footer-1-mobile\"],\n \"props\": {\n \"blockClass\": \"payment-methods\",\n \"paddingTop\": 4,\n \"paddingBottom\": 4\n }\n },\n \"flex-layout.col#footer-1-mobile\": {\n \"children\": [\n \"accepted-payment-methods\",\n \"social-networks\",\n \"rich-text#footer-mobile\"\n ],\n \"props\": {\n \"blockClass\": \"payment-methods\",\n \"paddingTop\": 4,\n \"paddingBottom\": 4,\n \"rowGap\": 4\n }\n },\n \"flex-layout.row#1-footer-mobile\": {\n \"props\": {\n \"paddingTop\": 4,\n \"paddingBottom\": 4\n },\n \"children\": [\"vtex.menu@2.x:menu#footer-mobile\"]\n },\n \"rich-text#footer-mobile\": {\n \"props\": {\n \"text\": \"All stock and product photos are from photos.icons8.com\",\n \"blockClass\": \"footer\"\n }\n }\n}\n\n```" } ]
code_bitcot-qa-theme_35190416
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/footer/menu.json from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vtex.menu@2.x:menu#Products\": {\n \"props\": {\n \"orientation\": \"vertical\"\n },\n \"children\": [\n \"menu-item#news\",\n \"menu-item#blackfriday\",\n \"menu-item#sale\",\n \"menu-item#personalization\"\n ]\n },\n \"menu-item#news\": {\n \"props\": {\n \"id\": \"menu-item-news\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"#\",\n \"noFollow\": false,\n \"tagTitle\": \"News\",\n \"text\": \"News\"\n }\n }\n },\n \"menu-item#blackfriday\": {\n \"props\": {\n \"id\": \"menu-item-black-friday\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"#\",\n \"noFollow\": false,\n \"tagTitle\": \"BlackFriday\",\n \"text\": \"Black Friday\"\n }\n }\n },\n \"menu-item#sale\": {\n \"props\": {\n \"id\": \"menu-item-sale\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"#\",\n \"noFollow\": false,\n \"tagTitle\": \"Sale\",\n \"text\": \"Sale\"\n }\n }\n },\n \"menu-item#personalization\": {\n \"props\": {\n \"id\": \"menu-item-personalization\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"#\",\n \"noFollow\": false,\n \"tagTitle\": \"Personalization\",\n \"text\": \"Personalization\"\n }\n }\n },\n\n \"vtex.menu@2.x:menu#footer-decoration\": {\n \"props\": {\n \"orientation\": \"vertical\"\n },\n \"children\": [\n \"menu-item#smartphones\",\n \"menu-item#videogames\",\n \"menu-item#tvs\"\n ]\n },\n\n \"menu-item#smartphones\": {\n \"props\": {\n \"id\": \"menu-item-smartphones\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/decoration/smartphones\",\n \"noFollow\": true,\n \"tagTitle\": \"Smartphones\",\n \"text\": \"Smartphones\"\n }\n }\n },\n\n \"menu-item#videogames\": {\n \"props\": {\n \"id\": \"menu-item-videogames\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/decoration/videogames\",\n \"noFollow\": true,\n \"tagTitle\": \"Videogames\",\n \"text\": \"Videogames\"\n }\n }\n },\n\n \"menu-item#tvs\": {\n \"props\": {\n \"id\": \"menu-item-tvs\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/decoration/tvs\",\n \"noFollow\": true,\n \"tagTitle\": \"TVs\",\n \"text\": \"TVs\"\n }\n }\n },\n\n \"vtex.menu@2.x:menu#footer-bags\": {\n \"props\": {\n \"orientation\": \"vertical\"\n },\n \"children\": [\n \"menu-item#bags\",\n \"menu-item#backpacks\",\n \"menu-item#necessaire\"\n ]\n },\n\n \"menu-item#bags\": {\n \"props\": {\n \"id\": \"menu-item-bags\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/bags/d\",\n \"noFollow\": true,\n \"tagTitle\": \"Bags\",\n \"text\": \"Bags\"\n }\n }\n },\n\n \"menu-item#backpacks\": {\n \"props\": {\n \"id\": \"menu-item-backpacks\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/bags/backpacks\",\n \"noFollow\": true,\n \"tagTitle\": \"Backpacks\",\n \"text\": \"Backpacks\"\n }\n }\n },\n\n \"menu-item#necessaire\": {\n \"props\": {\n \"id\": \"menu-item-necessaire\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/bags/necessaire\",\n \"noFollow\": true,\n \"tagTitle\": \"Necessaire\",\n \"text\": \"Necessaire\"\n }\n }\n },\n\n \"vtex.menu@2.x:menu#footer-clothing\": {\n \"props\": {\n \"orientation\": \"vertical\"\n },\n \"children\": [\n \"menu-item#clothing\",\n \"menu-item#shorts\",\n \"menu-item#tank-tops\",\n \"menu-item#shirts\",\n \"menu-item#sweatshirt\",\n \"menu-item#cropped\"\n ]\n },\n\n \"vtex.menu@2.x:menu#footer-mobile\": {\n \"props\": {\n \"orientation\": \"vertical\"\n },\n \"children\": [\n \"menu-item#clothing-mobile\",\n \"menu-item#decoration-mobile\",\n \"menu-item#sale-mobile\"\n ]\n },\n\n \"menu-item#clothing-mobile\": {\n \"props\": {\n \"id\": \"menu-item-category-clothing\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/clothing/d\",\n \"noFollow\": true,\n \"tagTitle\": \"Clothing\",\n \"text\": \"Clothing\"\n }\n },\n \"blocks\": [\"vtex.menu@2.x:submenu.accordion#clothing\"]\n },\n \"vtex.menu@2.x:submenu.accordion#clothing\": {\n \"children\": [\"vtex.menu@2.x:menu#clothing-accordion\"]\n },\n\n \"vtex.menu@2.x:menu#clothing-accordion\": {\n \"props\": {\n \"orientation\": \"vertical\"\n },\n \"children\": [\n \"menu-item#shorts\",\n \"menu-item#tank-tops\",\n \"menu-item#shirts\",\n \"menu-item#sweatshirt\",\n \"menu-item#cropped\"\n ]\n },\n\n \"menu-item#decoration-mobile\": {\n \"props\": {\n \"itemProps\": {\n \"tagTitle\": \"Decoration\",\n \"text\": \"Decoration\"\n }\n },\n \"blocks\": [\"vtex.menu@2.x:submenu.accordion#decoration\"]\n },\n \"vtex.menu@2.x:submenu.accordion#decoration\": {\n \"children\": [\"vtex.menu@2.x:menu#footer-decoration-mobile\"]\n },\n\n \"vtex.menu@2.x:menu#footer-decoration-mobile\": {\n \"props\": {\n \"orientation\": \"vertical\"\n },\n \"children\": [\n \"menu-item#smartphones\",\n \"menu-item#videogames\",\n \"menu-item#tvs\"\n ]\n },\n\n \"menu-item#sale-mobile\": {\n \"props\": {\n \"itemProps\": {\n \"tagTitle\": \"Sale\",\n \"text\": \"Sale\"\n }\n },\n \"blocks\": [\"vtex.menu@2.x:submenu.accordion#sale\"]\n },\n \"vtex.menu@2.x:submenu.accordion#sale\": {\n \"children\": [\"vtex.menu@2.x:menu#footer-sale-mobile\"]\n },\n\n \"vtex.menu@2.x:menu#footer-sale-mobile\": {\n \"props\": {\n \"orientation\": \"vertical\"\n },\n \"children\": [\n \"menu-item#smartphones\",\n \"menu-item#videogames\",\n \"menu-item#tvs\"\n ]\n },\n\n \"menu-item#clothing\": {\n \"props\": {\n \"id\": \"menu-item-category-clothing\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/clothing/d\",\n \"noFollow\": true,\n \"tagTitle\": \"Clothing\",\n \"text\": \"Clothing\"\n }\n }\n },\n\n \"menu-item#shorts\": {\n \"props\": {\n \"id\": \"menu-item-shorts\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/clothing/shorts\",\n \"noFollow\": false,\n \"tagTitle\": \"Shorts\",\n \"text\": \"Shorts\"\n }\n }\n },\n\n \"menu-item#tank-tops\": {\n \"props\": {\n \"id\": \"menu-item-tank-tops\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/clothing/tank-tops\",\n \"noFollow\": false,\n \"tagTitle\": \"Tank tops\",\n \"text\": \"Tank tops\"\n }\n }\n },\n\n \"menu-item#shirts\": {\n \"props\": {\n \"id\": \"menu-item-shirts\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/clothing/shirts\",\n \"noFollow\": false,\n \"tagTitle\": \"Shirts\",\n \"text\": \"Shirts\"\n }\n }\n },\n\n \"menu-item#sweatshirt\": {\n \"props\": {\n \"id\": \"menu-item-sweat-shirts\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/clothing/sweatshirt\",\n \"noFollow\": false,\n \"tagTitle\": \"Sweatshirt\",\n \"text\": \"Sweatshirt\"\n }\n }\n },\n\n \"menu-item#cropped\": {\n \"props\": {\n \"id\": \"menu-item-cropped\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/clothing/cropped\",\n \"noFollow\": false,\n \"tagTitle\": \"Cropped\",\n \"text\": \"Cropped\"\n }\n }\n }\n}\n\n```" } ]
code_bitcot-qa-theme_12cf66e2
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/product-summary/product-summary.jsonc from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"product-summary.shelf\": {\n \"children\": [\n \"stack-layout#prodsum\",\n \"product-summary-name\",\n \"flex-layout.col#productRating\",\n \"product-summary-space\",\n \"product-list-price#summary\",\n \"flex-layout.row#selling-price-savings\",\n \"product-installments#summary\",\n \"add-to-cart-button\"\n ]\n },\n \"flex-layout.col#productRating\": {\n \"props\": {\n \"blockClass\": \"productRating\"\n },\n \"children\": [\"product-rating-inline\"]\n },\n\n \"stack-layout#prodsum\": {\n \"children\": [\n \"product-summary-image#shelf\",\n \"vtex.product-highlights@2.x:product-highlights#collection\",\n \"modal-trigger#quickview\" // Check quickview.jsonc\n ]\n },\n\n \"product-summary-image#shelf\": {\n \"props\": {\n \"showBadge\": false,\n \"aspectRatio\": \"1:1\",\n \"maxHeight\": 300\n }\n },\n\n \"vtex.product-highlights@2.x:product-highlights#collection\": {\n \"props\": {\n \"type\": \"collection\"\n },\n \"children\": [\"product-highlight-wrapper\"]\n },\n \"product-highlight-wrapper\": {\n \"props\": {\n \"blockClass\": \"collection\"\n },\n \"children\": [\"product-highlight-text\"]\n },\n \"product-highlight-text\": {\n \"props\": {\n \"message\": \"{highlightName}\"\n }\n },\n\n \"product-list-price#summary\": {\n \"props\": {\n \"blockClass\": \"summary\"\n }\n },\n \"flex-layout.row#selling-price-savings\": {\n \"props\": {\n \"colGap\": 2,\n \"preserveLayoutOnMobile\": true,\n \"preventHorizontalStretch\": true,\n \"marginBottom\": 4\n },\n \"children\": [\n \"product-selling-price#summary\",\n \"product-price-savings#summary\"\n ]\n },\n \"product-installments#summary\": {\n \"props\": {\n \"blockClass\": \"summary\"\n }\n },\n \"product-selling-price#summary\": {\n \"props\": {\n \"blockClass\": \"summary\"\n }\n },\n \"product-price-savings#summary\": {\n \"props\": {\n \"markers\": [\n \"discount\"\n ],\n \"blockClass\": \"summary\"\n }\n }\n}\n\n```" } ]
code_bitcot-qa-theme_36b473b9
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/product-summary/quickview.json from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"modal-trigger#quickview\": {\n \"children\": [\n \"icon-expand\",\n \"modal-layout#quickview\"\n ],\n \"props\": {\n \"blockClass\": \"quickview\"\n }\n },\n\n \"modal-layout#quickview\": {\n \"children\": [\n \"modal-header#quickview\",\n \"flex-layout.row#quickview-main-row\"\n ],\n \"props\": {\n \"blockClass\": \"quickview\"\n }\n },\n \"modal-header#quickview\": {\n \"props\": {\n \"blockClass\": \"quickview\"\n }\n },\n\n \"modal-content#quickview\": {\n \"children\": [\n \"vtex.store-components:product-name\",\n \"flex-layout.col#quickviewPrice\",\n \"product-summary-sku-selector#quickview\"\n ],\n \"props\": {\n \"blockClass\": \"quickviewContent\"\n }\n },\n \"flex-layout.col#quickviewPrice\": {\n \"children\": [\n \"flex-layout.row#list-price-savings\",\n \"flex-layout.row#selling-price\",\n \"product-installments\"\n ]\n },\n \"modal-actions#quickview\": {\n \"props\": {\n \"blockClass\": \"quickview\"\n },\n \"children\": [\n \"flex-layout.row#quickview-actions-1\",\n \"flex-layout.row#quickview-actions-2\"\n ]\n },\n \"flex-layout.row#quickview-actions-1\": {\n \"children\": [\n \"flex-layout.col#quickview-product-quantity\",\n \"flex-layout.col#quickview-add-to-card-button\"\n ],\n \"props\": {\n \"colSizing\": \"auto\",\n \"colGap\": 6,\n \"blockClass\": \"addToCartRow\"\n }\n },\n\n \"flex-layout.col#quickview-product-quantity\": {\n \"children\": [\n \"product-summary-quantity#quickview\"\n ]\n },\n \"product-summary-quantity#quickview\": {\n \"props\": {\n \"showLabel\": false,\n \"size\": \"regular\"\n }\n },\n \"flex-layout.col#quickview-add-to-card-button\": {\n \"children\": [\n \"add-to-cart-button\"\n ],\n \"props\": {\n \"width\": \"grow\"\n }\n },\n\n \"flex-layout.row#quickview-actions-2\": {\n \"children\": [\n \"link.product#button-pdp\"\n ]\n },\n \"link.product#button-pdp\": {\n \"props\": {\n \"buttonProps\": {\n \"variant\": \"secondary\"\n },\n \"displayMode\": \"button\",\n \"label\": \"View details\",\n \"href\": \"/{slug}/p\"\n }\n },\n \"flex-layout.row#quickview-main-row\": {\n \"children\": [\n \"flex-layout.col#quickview-images\",\n \"flex-layout.col#quickview-product-details\"\n ],\n \"props\": {\n \"blockClass\": \"quickviewMainRow\"\n }\n },\n \"flex-layout.col#quickview-images\": {\n \"children\": [\n \"product-images#quickview\"\n ]\n },\n \"flex-layout.col#quickview-product-details\": {\n \"children\": [\n \"modal-content#quickview\",\n \"modal-actions#quickview\"\n ],\n \"props\": {\n \"preventVerticalStretch\": true,\n \"blockClass\": \"quickviewDetails\"\n }\n },\n \"product-summary-sku-selector#quickview\": {\n \"props\": {\n \"thumbnailImage\": \"skuvariation\",\n \"imageHeight\": 28,\n \"blockClass\": \"quickview\",\n \"visibility\": \"more-than-one\"\n }\n },\n \"vtex.store-components:product-name\": {\n \"props\": {\n \"blockClass\": \"quickview\"\n }\n },\n \"product-images#quickview\" : {\n \"props\": {\n \"blockClass\": \"quickview\",\n \"showNavigationArrows\": true\n }\n }\n}\n\n```" } ]
code_bitcot-qa-theme_0fec27cd
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/product-summary/product-summary-list.jsonc from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"product-summary.shelf#listLayout\": {\n \"props\": {\n \"blockClass\": \"listLayout\"\n },\n \"children\": [\n \"responsive-layout.desktop#productSummaryList\",\n \"responsive-layout.mobile#productSummaryList\"\n ]\n },\n \"responsive-layout.desktop#productSummaryList\": {\n \"children\": [\n \"flex-layout.row#summaryListDesktop\"\n ]\n },\n \"responsive-layout.mobile#productSummaryList\": {\n \"children\": [\n \"flex-layout.row#summaryListMobile\"\n ]\n },\n \"product-price-savings#summaryPercentage\": {\n \"props\": {\n \"message\": \"{savingsPercentage}\",\n \"blockClass\": \"summaryPercentage\"\n }\n },\n \"flex-layout.row#savingsSummaryListDesktop\": {\n \"props\": {\n \"colSizing\": \"auto\",\n \"colGap\": 3,\n \"blockClass\": \"savingsSummaryListDesktop\"\n },\n \"children\": [\n \"product-price-savings#summaryPercentage\",\n \"product-price-savings#summary\"\n ]\n },\n \"flex-layout.row#summaryListDesktop\": {\n \"props\":{\n \"fullWidth\": true,\n \"colSizing\": \"auto\",\n \"blockClass\": \"summaryListDesktop\"\n },\n \"children\": [\n \"flex-layout.row#summaryLeftListDesktop\",\n \"flex-layout.col#summaryRightListDesktop\"\n ]\n },\n \"flex-layout.row#summaryLeftListDesktop\": {\n \"props\": {\n \"blockClass\": \"summaryLeftListDesktop\",\n \"colSizing\": \"auto\",\n \"colGap\": 7\n },\n \"children\": [\n \"stack-layout#summaryListDesktop\",\n \"flex-layout.col#summaryDetailsListDesktop\"\n ]\n },\n \"flex-layout.col#summaryDetailsListDesktop\": {\n \"props\": {\n \"preventVerticalStretch\": true\n },\n \"children\": [\n \"vtex.store-components:product-brand#summaryListDesktop\",\n \"product-summary-name#summaryListDesktop\",\n \"flex-layout.col#productRating\",\n \"flex-layout.row#productSpecifications\"\n ]\n },\n \"flex-layout.row#productSpecifications\": {\n \"children\": [\n \"product-specification-group#summary\"\n ]\n },\n \"product-summary-name#summaryListDesktop\": {\n \"props\": {\n \"blockClass\": \"summaryListDesktop\"\n }\n },\n \"vtex.store-components:product-brand#summaryListDesktop\": {\n \"props\": {\n \"displayMode\": \"text\",\n \"blockClass\": \"summaryListDesktop\"\n }\n },\n \"flex-layout.col#summaryRightListDesktop\": {\n \"props\": {\n \"blockClass\": \"summaryRightListDesktop\",\n \"preventVerticalStretch\": true\n },\n \"children\": [\n \"flex-layout.row#savingsSummaryListDesktop\",\n \"flex-layout.col#priceSummaryListDesktop\",\n \"flex-layout.row#buyButtonsSummaryListDesktop\"\n ]\n },\n \"flex-layout.row#buyButtonsSummaryListDesktop\": {\n \"props\": {\n \"colSizing\": \"auto\",\n \"colGap\": 5\n },\n \"children\": [\n \"add-to-cart-button\",\n \"flex-layout.row#buyNowButton\"\n ]\n },\n \"flex-layout.row#buyNowButton\": {\n \"props\": {\n \"blockClass\": \"buyNowButton\"\n },\n \"children\": [\n \"add-to-cart-button#buyNow\"\n ]\n },\n\n \"add-to-cart-button#buyNow\": {\n \"props\": {\n \"text\": \"BUY NOW\",\n \"isOneClickBuy\": true,\n \"onClickEventPropagation\": \"enabled\",\n \"blockClass\": \"buyNow\"\n }\n },\n \"flex-layout.col#priceSummaryListDesktop\": {\n \"children\": [\n \"product-selling-price#summary\",\n \"product-list-price#summary\"\n ]\n },\n \"stack-layout#summaryListDesktop\": {\n \"children\": [\n \"product-summary-image#summaryListDesktop\",\n \"vtex.product-highlights@2.x:product-highlights#collection\",\n \"modal-trigger#quickview\" // Check quickview.jsonc\n ]\n },\n \"product-summary-image#summaryListDesktop\": {\n \"props\": {\n \"showBadge\": false,\n \"aspectRatio\": \"1:1\",\n \"maxHeight\": 180,\n \"blockClass\": \"summaryListDesktop\"\n }\n },\n \"flex-layout.row#summaryListMobile\": {\n \"props\":{\n \"preserveLayoutOnMobile\": true,\n \"colSizing\": \"auto\",\n \"blockClass\": \"summaryListMobile\",\n \"colGap\": 5\n },\n \"children\": [\n \"stack-layout#summaryListMobile\",\n \"flex-layout.col#summaryDetailsListMobile\"\n ]\n },\n \"stack-layout#summaryListMobile\": {\n \"children\": [\n \"product-summary-image#summaryListMobile\",\n \"vtex.product-highlights@2.x:product-highlights#collection\",\n \"modal-trigger#quickview\" // Check quickview.jsonc\n ]\n },\n \"product-summary-image#summaryListMobile\": {\n \"props\": {\n \"showBadge\": false,\n \"aspectRatio\": \"1:1\",\n \"maxHeight\": 220,\n \"blockClass\": \"summaryListMobile\"\n }\n },\n \"flex-layout.col#summaryDetailsListMobile\": {\n \"props\": {\n \"preventVerticalStretch\": true,\n \"width\": \"grow\",\n \"blockClass\": \"summaryDetailsListMobile\"\n },\n \"children\": [\n \"flex-layout.col#summaryUpDetailsListMobile\",\n \"flex-layout.col#summaryDownDetailsListMobile\"\n ]\n },\n \"flex-layout.col#summaryUpDetailsListMobile\": {\n \"props\": {\n \"preventVerticalStretch\": true,\n \"blockClass\": \"summaryUpDetailsListMobile\"\n },\n \"children\": [\n \"vtex.store-components:product-brand#summaryListMobile\",\n \"product-summary-name#summaryListMobile\",\n \"product-rating-inline\"\n ]\n },\n \"flex-layout.col#summaryDownDetailsListMobile\": {\n \"props\": {\n \"preventVerticalStretch\": true\n },\n \"children\": [\n \"product-selling-price#summary\",\n \"product-installments#summary\"\n ]\n },\n \"vtex.store-components:product-brand#summaryListMobile\": {\n \"props\": {\n \"displayMode\": \"text\",\n \"blockClass\": \"summaryListMobile\"\n }\n },\n \"product-summary-name#summaryListMobile\": {\n \"props\": {\n \"tag\": \"div\",\n \"blockClass\": \"summaryListMobile\"\n }\n }\n}\n\n```" } ]
code_bitcot-qa-theme_217c0fb4
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/product-summary/product-specification-list.jsonc from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"product-specification-group#summary\": {\n \"children\": [\n \"product-specification#summary\",\n ]\n },\n \"product-specification#summary\": {\n \"children\": [\n \"flex-layout.row#summarySpecificationValues\"\n ]\n },\n \"flex-layout.row#summarySpecificationValues\": {\n \"props\": {\n \"preventHorizontalStretch\": true,\n \"colGap\": 3\n },\n \"children\": [\n \"rich-text#summarySpecificationBullet\",\n \"product-specification-values\"\n ]\n },\n \"rich-text#summarySpecificationBullet\": {\n \"props\": {\n \"text\": \"•\",\n \"textColor\": \"c-action-primary\",\n \"blockClass\": \"summarySpecificationBullet\"\n }\n }\n}\n\n```" } ]
code_bitcot-qa-theme_89b01411
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/pdp/product-assembly.jsonc from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"sticky-layout#buy-button\": {\n \"props\": {\n \"position\": \"bottom\"\n },\n \"children\": [\"flex-layout.row#buy-button\"]\n },\n \"product-assembly-options\": {\n \"children\": [\n \"flex-layout.row#product-assembly-options\",\n \"assembly-option-input-values\"\n ]\n },\n \"assembly-option-input-values\": {\n \"props\": {\n \"optionsDisplay\": \"box\"\n }\n },\n \"flex-layout.row#product-assembly-options\": {\n \"props\": {\n \"colGap\": 2,\n \"preserveLayoutOnMobile\": true,\n \"colSizing\": \"auto\"\n },\n \"children\": [\n \"flex-layout.col#product-assembly-image\",\n \"flex-layout.col#product-assembly-middle\",\n \"flex-layout.col#product-assembly-quantity\"\n ]\n },\n \"flex-layout.col#product-assembly-quantity\": {\n \"props\": {\n \"verticalAlign\": \"middle\"\n },\n \"children\": [\n \"assembly-option-item-quantity-selector\"\n ]\n },\n \"flex-layout.col#product-assembly-image\": {\n \"props\": {\n \"marginRight\": 4\n },\n \"children\": [\n \"assembly-option-item-image\"\n ]\n },\n \"flex-layout.col#product-assembly-middle\": {\n \"props\": {\n \"width\": \"grow\",\n \"verticalAlignment\": \"middle\"\n },\n \"children\": [\n \"assembly-option-item-name\",\n \"assembly-option-item-price\",\n \"assembly-option-item-children-description\",\n \"assembly-option-item-customize#first-level\"\n ]\n },\n \"assembly-option-item-customize#first-level\": {\n \"props\": {\n \"buttonProps\": {\n \"collapse\": \"left\"\n }\n },\n \"children\": [\n \"flex-layout.row#item-customize\",\n \"assembly-option-input-values\"\n ]\n },\n \"flex-layout.row#item-customize\": {\n \"props\": {\n \"colGap\": 2,\n \"preserveLayoutOnMobile\": true,\n \"colSizing\": \"auto\"\n },\n \"children\": [\n \"flex-layout.col#product-assembly-image\",\n \"flex-layout.col#item-customize-middle\",\n \"flex-layout.col#item-customize-quantity\"\n ]\n },\n \"flex-layout.col#item-customize-middle\": {\n \"props\": {\n \"width\": \"grow\",\n \"verticalAlignment\": \"middle\"\n },\n \"children\": [\n \"assembly-option-item-name\",\n \"assembly-option-item-price\",\n \"assembly-option-item-children-description\",\n \"assembly-option-item-customize#sec-level\"\n ]\n },\n \"flex-layout.col#item-customize-quantity\": {\n \"props\": {\n \"horizontalAlign\": \"right\",\n \"verticalAlign\": \"middle\"\n },\n \"children\": [\n \"assembly-option-item-quantity-selector\"\n ]\n },\n \"assembly-option-item-customize#sec-level\": {\n \"props\": {\n \"buttonProps\": {\n \"collapse\": \"left\"\n }\n },\n \"children\": [\n \"assembly-option-item-image\",\n \"assembly-option-item-name\",\n \"assembly-option-item-price\",\n \"assembly-option-item-quantity-selector\"\n ]\n }\n}\n\n```" } ]
code_bitcot-qa-theme_55a8d8c1
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/pdp/product-gifts.jsonc from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"product-gifts\": {\n \"props\": {\n \"maxVisibleItems\": {\n \"desktop\": 1,\n \"mobile\": 1\n }\n },\n \"children\": [\"flex-layout.row#product-gifts-text\", \"product-gift-list\"]\n },\n\n \"flex-layout.row#product-gifts-text\": {\n \"props\": {\n \"verticalAlign\": \"middle\",\n \"colSizing\": \"auto\",\n \"preserveLayoutOnMobile\": true\n },\n \"children\": [\n \"rich-text#product-gifts\",\n \"flex-layout.col#product-gifts-text\"\n ]\n },\n \"flex-layout.col#product-gifts-text\": {\n \"children\": [\"modal-trigger#product-gifts\"],\n \"props\": {\n \"verticalAlign\": \"middle\"\n }\n },\n \"rich-text#product-gifts\": {\n \"props\": {\n \"text\": \"**+ GIFT**\"\n }\n },\n \"gift-text\": {\n \"props\": {\n \"blockClass\": \"default\",\n \"text\": \"{exceedingItems, plural, =0{} one {+ # gift} other {+ # gifts}}\"\n }\n },\n \"product-gift-list\": {\n \"children\": [\"flex-layout.row#gift\"]\n },\n \"flex-layout.row#gift\": {\n \"props\": {\n \"fullWidth\": true\n },\n \"children\": [\"flex-layout.col#gift-name-description\", \"gift-image\"]\n },\n \"flex-layout.col#gift-name-description\": {\n \"props\": {\n \"verticalAlign\": \"middle\",\n \"rowGap\": 3\n },\n \"children\": [\"gift-name\", \"gift-description\"]\n },\n\n \"modal-trigger#product-gifts\": {\n \"children\": [\"modal-layout#product-gifts\", \"gift-text\"],\n \"props\": {\n \"blockClass\": \"product-gifts\"\n }\n },\n \"modal-layout#product-gifts\": {\n \"props\": {\n \"blockClass\": \"product-gifts\",\n \"fullScreen\": {\n \"phone\": true,\n \"desktop\": false,\n \"tablet\": false\n }\n },\n \"children\": [\"product-gifts#modal\"]\n },\n\n \"product-gifts#modal\": {\n \"children\": [\"product-gift-list\"]\n }\n}\n\n```" } ]
code_bitcot-qa-theme_f45d81b4
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/pdp/product.jsonc from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store.product\": {\n \"children\": [\n \"flex-layout.row#product-breadcrumb\",\n \"condition-layout.product#availability\",\n \"flex-layout.row#description\",\n \"flex-layout.row#specifications-title\",\n \"product-specification-group#table\",\n \"shelf.relatedProducts\",\n \"product-reviews\",\n \"product-questions-and-answers\"\n ]\n },\n \"flex-layout.row#specifications-title\": {\n \"children\": [\"rich-text#specifications\"]\n },\n \"rich-text#specifications\": {\n \"props\": {\n \"text\": \"##### Product Specifications\"\n }\n },\n \"flex-layout.row#product-breadcrumb\": {\n \"props\": {\n \"marginTop\": 4\n },\n \"children\": [\"breadcrumb\"]\n },\n \"flex-layout.row#description\": {\n \"props\": {\n \"marginBottom\": 7\n },\n \"children\": [\"product-description\"]\n },\n \"condition-layout.product#availability\": {\n \"props\": {\n \"conditions\": [\n {\n \"subject\": \"isProductAvailable\"\n }\n ],\n \"Then\": \"flex-layout.row#product-main\",\n \"Else\": \"flex-layout.row#product-availability\"\n }\n },\n \"flex-layout.row#product-main\": {\n \"props\": {\n \"colGap\": 7,\n \"rowGap\": 7,\n \"marginTop\": 4,\n \"marginBottom\": 7,\n \"paddingTop\": 7,\n \"paddingBottom\": 7\n },\n \"children\": [\"flex-layout.col#stack\", \"flex-layout.col#right-col\"]\n },\n\n \"stack-layout\": {\n \"props\": {\n \"blockClass\": \"product\"\n },\n \"children\": [\n \"flex-layout.row#product-image\",\n \"product-bookmark\",\n \"product-specification-badges\"\n ]\n },\n\n \"product-specification-badges\": {\n \"props\": {\n \"specificationGroupName\": \"Group\",\n \"specificationName\": \"On Sale\",\n \"visibleWhen\": \"True\",\n \"displayValue\": \"SPECIFICATION_NAME\"\n }\n },\n\n \"flex-layout.col#stack\": {\n \"children\": [\"stack-layout\"],\n \"props\": {\n \"width\": \"60%\",\n \"rowGap\": 0\n }\n },\n \"flex-layout.row#product-image\": {\n \"children\": [\"product-images\"]\n },\n \"product-images\": {\n \"props\": {\n \"aspectRatio\": {\n \"desktop\": \"auto\",\n \"phone\": \"16:9\"\n },\n \"displayThumbnailsArrows\": true\n }\n },\n \"flex-layout.col#right-col\": {\n \"props\": {\n \"preventVerticalStretch\": true,\n \"rowGap\": 0\n },\n \"children\": [\n \"flex-layout.row#product-name\",\n \"product-rating-summary\",\n \"flex-layout.row#list-price-savings\",\n \"flex-layout.row#selling-price\",\n \"product-installments\",\n \"product-separator\",\n \"product-identifier.product\",\n \"sku-selector\",\n \"product-quantity\",\n \"product-assembly-options\",\n \"product-gifts\",\n \"flex-layout.row#buy-button\",\n \"availability-subscriber\",\n \"shipping-simulator\",\n \"share#default\"\n ]\n },\n\n \"flex-layout.row#product-name\": {\n \"props\": {\n \"marginBottom\": 3\n },\n \"children\": [\"vtex.store-components:product-name\"]\n },\n\n \"sku-selector\": {\n \"props\": {\n \"variationsSpacing\": 3,\n \"showValueNameForImageVariation\": true\n }\n },\n\n \"flex-layout.row#buy-button\": {\n \"props\": {\n \"marginTop\": 4,\n \"marginBottom\": 7\n },\n \"children\": [\"add-to-cart-button\"]\n },\n\n \"flex-layout.row#product-availability\": {\n \"props\": {\n \"colGap\": 7,\n \"marginTop\": 4,\n \"marginBottom\": 7,\n \"paddingTop\": 7\n },\n \"children\": [\n \"flex-layout.col#stack\",\n \"flex-layout.col#right-col-availability\"\n ]\n },\n \"flex-layout.col#right-col-availability\": {\n \"props\": {\n \"preventVerticalStretch\": true,\n \"rowGap\": 0,\n \"blockClass\": \"info-availability\"\n },\n \"children\": [\n \"flex-layout.row#product-name\",\n \"product-identifier.product\",\n \"sku-selector\",\n \"flex-layout.row#availability\"\n ]\n },\n \"flex-layout.row#availability\": {\n \"props\": {\n \"blockClass\": \"message-availability\"\n },\n \"children\": [\"availability-subscriber\"]\n },\n\n \"share#default\": {\n \"props\": {\n \"social\": {\n \"Facebook\": true,\n \"WhatsApp\": true,\n \"Twitter\": false,\n \"Pinterest\": true\n }\n }\n }\n}\n\n```" } ]
code_bitcot-qa-theme_e4627f21
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/pdp/product-specifications-table.jsonc from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"product-specification-group#table\": {\n \"children\": [\n \"flex-layout.row#spec-group\"\n ]\n },\n \"flex-layout.row#spec-group\": {\n \"props\": {\n \"blockClass\": \"productSpecificationGroup\"\n },\n \"children\": [\n \"flex-layout.col#spec-group\"\n ]\n },\n \"flex-layout.col#spec-group\": {\n \"children\": [\n \"flex-layout.row#spec-group-name\",\n \"product-specification\"\n ]\n },\n \"flex-layout.row#spec-group-name\": {\n \"props\": {\n \"blockClass\": \"productSpecificationGroupName\"\n },\n \"children\": [\n \"product-specification-text#group\"\n ]\n },\n \"product-specification\": {\n \"children\": [\n \"flex-layout.row#spec-item\"\n ]\n },\n \"flex-layout.row#spec-item\": {\n \"props\": {\n \"blockClass\": \"productSpecification\"\n },\n \"children\": [\n \"flex-layout.col#spec-name\",\n \"flex-layout.col#spec-value\"\n ]\n },\n \"flex-layout.col#spec-name\": {\n \"props\": {\n \"blockClass\": \"productSpecificationName\",\n \"width\": {\n \"mobile\": \"50%\",\n \"desktop\": \"25%\"\n }\n },\n \"children\": [\n \"product-specification-text#specification\"\n ]\n },\n \"flex-layout.col#spec-value\": {\n \"props\": {\n \"blockClass\": \"productSpecificationValue\"\n },\n \"children\": [\n \"product-specification-values\"\n ]\n },\n \"product-specification-values\": {\n \"children\": [\n \"product-specification-text#value\"\n ]\n },\n \"product-specification-text#group\": {\n \"props\": {\n \"message\": \"{groupName}\"\n }\n },\n \"product-specification-text#specification\": {\n \"props\": {\n \"message\": \"{specificationName}\"\n }\n },\n \"product-specification-text#value\": {\n \"props\": {\n \"message\": \"{specificationValue}\"\n }\n }\n}\n\n```" } ]
code_bitcot-qa-theme_ef2f8d42
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/header/category-menu.json from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vtex.menu@2.x:menu#category-menu\": {\n \"props\": {\n \"experimentalOptimizeRendering\": true\n },\n \"children\": [\n \"menu-item#category-apparel\",\n \"menu-item#category-home\",\n \"menu-item#more\"\n ]\n },\n \"menu-item#category-apparel\": {\n \"props\": {\n \"id\": \"menu-item-category-apparel\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/apparel---accessories/\",\n \"noFollow\": false,\n \"tagTitle\": \"Apparel & Accessories\",\n \"text\": \"Apparel & Accessories\"\n }\n },\n \"blocks\": [\n \"vtex.menu@2.x:submenu#category-apparel\"\n ]\n },\n \"vtex.menu@2.x:submenu#category-apparel\": {\n \"props\": {\n \"width\": \"auto\"\n },\n \"children\": [\n \"vtex.menu@2.x:menu#category-apparel\"\n ]\n },\n \"vtex.menu@2.x:menu#category-apparel\": {\n \"props\": {\n \"orientation\": \"vertical\"\n },\n \"children\": [\n \"menu-item#category-apparel-clothing\",\n \"menu-item#category-apparel-accessories\",\n \"menu-item#category-apparel-eyeglasses\"\n ]\n },\n \"menu-item#category-apparel-clothing\": {\n \"props\": {\n \"id\": \"menu-item-category-apparel-clothing\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/apparel---accessories/clothing/\",\n \"noFollow\": false,\n \"tagTitle\": \"Clothing\",\n \"text\": \"Clothing\"\n }\n }\n },\n \"menu-item#category-apparel-accessories\": {\n \"props\": {\n \"id\": \"menu-item-category-apparel-accessories\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/apparel---accessories/accessories/\",\n \"noFollow\": false,\n \"tagTitle\": \"Accessories\",\n \"text\": \"Accessories\"\n }\n }\n },\n \"menu-item#category-apparel-eyeglasses\": {\n \"props\": {\n \"id\": \"menu-item-category-apparel-eyeglasses\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/apparel---accessories/eyeglasses/\",\n \"noFollow\": false,\n \"tagTitle\": \"Eyeglasses\",\n \"text\": \"Eyeglasses\"\n }\n }\n },\n \"menu-item#category-home\": {\n \"props\": {\n \"id\": \"menu-item-category-home\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/home---decor/\",\n \"noFollow\": false,\n \"tagTitle\": \"Home & Decor\",\n \"text\": \"Home & Decor\"\n }\n }\n },\n \"menu-item#more\": {\n \"props\": {\n \"id\": \"menu-item-custom-sale\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"#\",\n \"noFollow\": true,\n \"tagTitle\": \"More\",\n \"text\": \"More\"\n }\n },\n \"blocks\": [\n \"vtex.menu@2.x:submenu#more\"\n ]\n },\n \"vtex.menu@2.x:submenu#more\": {\n \"props\": {\n \"width\": \"100%\"\n },\n \"children\": [\n \"flex-layout.row#menu-more\"\n ]\n },\n \"flex-layout.row#menu-more\": {\n \"children\": [\n \"flex-layout.col#menu-more-1\",\n \"flex-layout.col#menu-more-2\"\n ]\n },\n \"flex-layout.col#menu-more-1\": {\n \"children\": [\n \"vtex.menu@2.x:menu#more\"\n ]\n },\n \"flex-layout.col#menu-more-2\": {\n \"children\": [\n \"info-card#home\"\n ]\n },\n \"vtex.menu@2.x:menu#more\": {\n \"props\": {\n \"orientation\": \"vertical\"\n },\n \"children\": [\n \"menu-item#about-us\",\n \"menu-item#faq\"\n ]\n },\n \"menu-item#about-us\": {\n \"props\": {\n \"id\": \"menu-item-about-us\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/about-us\",\n \"noFollow\": true,\n \"tagTitle\": \"About us\",\n \"text\": \"About us\"\n }\n }\n },\n \"menu-item#faq\": {\n \"props\": {\n \"id\": \"menu-item-faq\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/faq\",\n \"noFollow\": true,\n \"tagTitle\": \"FAQ\",\n \"text\": \"FAQ\"\n }\n }\n },\n \"menu-item#contact-us\": {\n \"props\": {\n \"id\": \"menu-item-contact-us\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/contact-us\",\n \"noFollow\": true,\n \"tagTitle\": \"Contact Us\",\n \"text\": \"Contact Us\"\n }\n }\n }\n}\n\n```" } ]
code_bitcot-qa-theme_9712df1e
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/header/header.jsonc from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"header\": {\n \"blocks\": [\"header-layout.desktop\", \"header-layout.mobile\"]\n },\n \"header.full\": {\n \"blocks\": [\"header-layout.desktop\", \"header-layout.mobile\"]\n },\n \"header-layout.desktop\": {\n \"children\": [\n \"flex-layout.row#1-desktop\",\n \"flex-layout.row#2-desktop\",\n \"flex-layout.row#3-desktop\",\n \"sticky-layout#4-desktop\"\n ]\n },\n\n \"flex-layout.row#1-desktop\": {\n \"children\": [\"telemarketing\"],\n \"props\": {\n \"fullWidth\": true\n }\n },\n\n \"flex-layout.row#2-desktop\": {\n \"children\": [\"notification.bar#home\"],\n \"props\": {\n \"fullWidth\": \"true\"\n }\n },\n \"notification.bar#home\": {\n \"props\": {\n \"content\": \"SELECTED ITEMS ON SALE! CHECK IT OUT!\"\n }\n },\n \"flex-layout.row#3-desktop\": {\n \"props\": {\n \"blockClass\": \"menu-link\",\n \"horizontalAlign\": \"center\",\n \"preventHorizontalStretch\": true,\n \"preventVerticalStretch\": true,\n \"fullWidth\": true\n },\n \"children\": [\n \"vtex.menu@2.x:menu#websites\",\n \"flex-layout.col#spacer\",\n \"vtex.menu@2.x:menu#institutional\"\n ]\n },\n \"flex-layout.col#spacer\": {\n \"props\": {\n \"width\": \"grow\"\n }\n },\n \"sticky-layout#4-desktop\": {\n \"props\": {\n \"blockClass\": \"sticky-header\"\n },\n \"children\": [\"flex-layout.row#4-desktop\"]\n },\n \"flex-layout.row#4-desktop\": {\n \"props\": {\n \"blockClass\": \"main-header\",\n \"horizontalAlign\": \"center\",\n \"verticalAlign\": \"center\",\n \"preventHorizontalStretch\": true,\n \"preventVerticalStretch\": true,\n \"fullWidth\": true\n },\n \"children\": [\n \"flex-layout.col#logo-desktop\",\n \"flex-layout.col#category-menu\",\n \"flex-layout.col#spacer\",\n \"search-bar\",\n \"locale-switcher\",\n \"login\",\n \"minicart.v2\"\n ]\n },\n \"flex-layout.col#logo-desktop\": {\n \"props\": {\n \"verticalAlign\": \"middle\"\n },\n \"children\": [\"logo#desktop\"]\n },\n \"flex-layout.col#category-menu\": {\n \"props\": {\n \"verticalAlign\": \"middle\"\n },\n \"children\": [\"vtex.menu@2.x:menu#category-menu\"]\n },\n \"logo#desktop\": {\n \"props\": {\n \"title\": \"Logo\",\n \"href\": \"/\",\n \"url\": \"https://storecomponents.vteximg.com.br/arquivos/store-theme-logo.png\",\n \"width\": \"180\"\n }\n },\n \"header-layout.mobile\": {\n \"children\": [\"sticky-layout#1-mobile\"]\n },\n \"sticky-layout#1-mobile\": {\n \"children\": [\"flex-layout.row#1-mobile\"]\n },\n \"flex-layout.row#1-mobile\": {\n \"children\": [\n \"drawer\",\n \"logo#mobile\",\n \"flex-layout.col#spacer\",\n \"login\",\n \"minicart.v2\"\n ],\n \"props\": {\n \"blockClass\": \"main-header-mobile\",\n \"preventHorizontalStretch\": true,\n \"preserveLayoutOnMobile\": true,\n \"fullWidth\": true\n }\n },\n \"drawer\": {\n \"children\": [\"menu#drawer\"]\n },\n\n \"menu#drawer\": {\n \"children\": [\n \"menu-item#category-apparel\",\n \"menu-item#category-home\",\n \"menu-item#more\"\n ],\n \"props\": {\n \"orientation\": \"vertical\"\n }\n },\n\n \"logo#mobile\": {\n \"props\": {\n \"title\": \"Logo\",\n \"href\": \"/\",\n \"url\": \"https://storecomponents.vteximg.com.br/arquivos/store-theme-logo-mobile.png\",\n \"width\": \"70\"\n }\n }\n}\n\n```" } ]
code_bitcot-qa-theme_4165de4b
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of bitcot-qa-theme/store/blocks/header/top-menu.json from the bitcot-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"vtex.menu@2.x:menu#websites\": {\n \"children\": [\n \"menu-item#shop\",\n \"menu-item#about-us\"\n ]\n },\n \"menu-item#shop\": {\n \"props\": {\n \"id\": \"menu-item-shop\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"#\",\n \"noFollow\": false,\n \"tagTitle\": \"Shop\",\n \"text\": \"Shop\"\n }\n }\n },\n \"vtex.menu@2.x:menu#institutional\": {\n \"children\": [\n \"menu-item#vtex-website\"\n ]\n },\n \"menu-item#vtex-website\": {\n \"props\": {\n \"id\": \"menu-item-vtex-website\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"external\",\n \"href\": \"http://vtex.com\",\n \"noFollow\": false,\n \"tagTitle\": \"visit vtex.com\",\n \"text\": \"visit vtex.com\"\n }\n }\n }\n}\n\n```" } ]
code_shopper-location-theme_d0964292
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/sitemap/sitemap.json from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"urlset\": {\n \"url\": [\n {\n \"loc\": \"https://storetheme.vtex.com/about-us\"\n }\n ]\n }\n}\n```" } ]
code_shopper-location-theme_1a2f1487
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/docs/README.md from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# Store theme\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\nOur boilerplate theme to create stores in the VTEX IO platform.\n\n## Preview\n![store-theme-default](https://user-images.githubusercontent.com/1354492/63937047-e8d81c80-ca37-11e9-86fc-61e88847bbfb.png)\n\n## Tutorial\nTo understand how things work check our tutorial [Build a store using VTEX IO](https://vtex.io/docs/getting-started/build-stores-with-store-framework/1/)\n\n## Dependencies\nAll store components that you see on this document are open source too. Production ready, you can found those apps in this GitHub organization.\n\nStore framework is the baseline to create any store using _VTEX IO Web Framework_.\n- [Store](https://github.com/vtex-apps/store/blob/master/README.md)\n\nStore GraphQL is a middleware to access all VTEX APIs.\n- [Store GraphQL](https://github.com/vtex-apps/store-graphql/blob/master/docs/README.md)\n\n### Store Component Apps\n- [Header](https://github.com/vtex-apps/store-header/blob/master/docs/README.md)\n- [Footer](https://github.com/vtex-apps/store-footer/blob/master/docs/README.md)\n- [Slider Layout](https://github.com/vtex-apps/slider-layout/blob/master/docs/README.md)\n- [Shelf](https://github.com/vtex-apps/shelf/blob/master/docs/README.md)\n- [Telemarketing](https://github.com/vtex-apps/telemarketing/blob/master/docs/README.md)\n- [Menu](https://github.com/vtex-apps/menu/blob/master/docs/README.md)\n- [Login](https://github.com/vtex-apps/login/blob/master/docs/README.md)\n- [Minicart](https://github.com/vtex-apps/minicart/blob/master/docs/README.md)\n- [Category Menu](https://github.com/vtex-apps/category-menu/blob/master/docs/README.md)\n- [Product Summary](https://github.com/vtex-apps/product-summary/blob/master/docs/README.md)\n- [Breadcrumb](https://github.com/vtex-apps/breadcrumb/blob/master/docs/README.md)\n- [Search Result](https://github.com/vtex-apps/search-result/blob/master/docs/README.md)\n- [Product Details](https://github.com/vtex-apps/product-details/blob/master/docs/README.md)\n- [Store Components](https://github.com/vtex-apps/store-components/blob/master/docs/README.md)\n- [Order Placed](https://github.com/vtex-apps/order-placed/blob/master/docs/README.md) \n\n### Store Pixel Apps\n\n - [Facebook Pixel](https://github.com/vtex-apps/facebook-pixel/blob/master/docs/README.md)\n - [Google Tag Manager](https://github.com/vtex-apps/google-tag-manager/blob/master/docs/README.md)\n\n## Contributing\n\nCheck it out [how to contribute](https://github.com/vtex-apps/awesome-io#contributing) with this project.\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n <tr>\n <td align=\"center\"><a href=\"http://www.hugoccosta.com\"><img src=\"https://avatars2.githubusercontent.com/u/20212776?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Hugo Costa</b></sub></a><br /><a href=\"https://github.com/vtex-apps/store-theme/commits?author=hugocostadev\" title=\"Documentation\">📖</a></td>\n </tr>\n</table>\n\n<!-- markdownlint-enable -->\n<!-- prettier-ignore-end -->\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n\n```" } ]
code_shopper-location-theme_2ffa0233
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/docs/contact-schema.json from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"title\": \"Contact\",\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\",\n \"title\": \"Title\"\n },\n \"name\": {\n \"type\": \"string\",\n \"title\": \"Name\"\n },\n \"email\": {\n \"type\": \"string\",\n \"format\": \"email\",\n \"title\": \"Email address\"\n },\n \"message\": {\n \"type\": \"string\",\n \"title\": \"Message\"\n }\n },\n \"required\": [\"email\", \"message\"],\n \"v-security\": {\n \"publicJsonSchema\": true\n }\n}\n\n```" } ]
code_shopper-location-theme_ef6729e5
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/store/blocks.jsonc from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n/* Blocks can be defined both on the store/blocks.json file, and in any number of json\n * files inside the store/blocks directory, with any arbitrary directory structure.\n *\n * Additionally, all blocks files can support comments, such as this one, if given the\n * .jsonc file extension.\n *\n * The store/blocks.json file is intended for backwards compatibility, for miscellaneous\n * blocks, or if the app is simple enough that it doesn't warrant splitting the file.\n */\n{\n \"store.orderplaced\": {\n \"blocks\": [\"order-placed\"]\n },\n\n \"store.account\": {\n \"blocks\": [\"my-account\"],\n \"parent\": {\n \"challenge\": \"challenge.profile\"\n }\n },\n\n \"store.login\": {\n \"blocks\": [\"login-content#default\"]\n },\n\n \"login-content#default\": {\n \"props\": {\n \"isInitialScreenOptionOnly\": false,\n \"defaultOption\": 1,\n \"showPasswordVerificationIntoTooltip\": true\n }\n },\n\n \"store.product-review-form\": {\n \"blocks\": [\"product-review-form\"]\n },\n\n \"store.not-found#product\": {\n \"blocks\": [\"rich-text#not-found\"]\n },\n\n \"store.not-found#search\": {\n \"blocks\": [\"rich-text#not-found\"]\n },\n\n \"rich-text#not-found\": {\n \"props\": {\n \"textAlignment\": \"CENTER\",\n \"textPosition\": \"CENTER\",\n \"text\": \"**PAGE NOT FOUND**\",\n \"font\": \"t-heading-1\"\n }\n },\n \"shopper-location\": {\n \"children\": [\n \"modal-trigger#address\"\n ],\n \"props\": {\n \"autofill\": [\n \"city\",\n \"country\",\n \"neighborhood\",\n \"number\",\n \"postalCode\",\n \"state\",\n \"street\"\n ]\n }\n },\n \"modal-trigger#address\": {\n \"children\": [\n \"user-address\",\n \"modal-layout#address\"\n ]\n },\n \"user-address\": {\n \"props\": {\n \"variation\": \"bar\",\n \"showStreet\": false,\n \"showCityAndState\": true,\n \"showPostalCode\": true,\n \"showPrefix\": false,\n \"showIfEmpty\": true\n }\n },\n \"modal-layout#address\": {\n \"children\": [\n \"modal-header#address\",\n \"modal-content#address\"\n ]\n },\n \"modal-header#address\": {\n \"children\": [\n \"flex-layout.col#address-header\"\n ]\n },\n \"flex-layout.col#address-header\": {\n \"children\": [\n \"rich-text#address-header\"\n ],\n \"props\": {\n \"paddingLeft\": 5\n }\n },\n \"rich-text#address-header\": {\n \"props\": {\n \"text\": \"### Change Location\"\n }\n },\n \"modal-content#address\": {\n \"children\": [\n \"change-location\"\n ]\n },\n \"change-location\": {\n \"props\": {\n \"postalCode\": \"first\",\n \"autocomplete\": true,\n \"notRequired\": [\n \"street\",\n \"number\",\n \"city\",\n \"state\"\n ],\n \"hideFields\": [\n \"complement\",\n \"neighborhood\",\n \"receiverName\",\n \"reference\"\n ]\n }\n }\n}\n\n```" } ]
code_shopper-location-theme_a117ffbb
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/store/routes.json from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store.custom#about-us\": {\n \"path\": \"/about-us\"\n },\n \"store.custom#faq\": {\n \"path\": \"/faq\"\n },\n \"store.custom#contact-us\": {\n \"path\": \"/contact-us\"\n }\n}\n\n```" } ]
code_shopper-location-theme_337c8948
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/vtex.store-video.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.videoContainer {\n width: 100%;\n height: 300px;\n margin-top: 2%;\n}\n\n@media only screen and (min-width: 640px) {\n .videoContainer {\n height: 700px;\n }\n}\n\n```" } ]
code_shopper-location-theme_90a7540f
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/vtex.product-price.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.listPrice {\n color: #727273;\n margin-bottom: .25rem;\n font-size: 1rem;\n}\n\n.sellingPrice {\n color: #3f3f40;\n font-size: 1.25rem;\n}\n\n.sellingPriceValue {\n font-size: 2.25rem;\n font-weight: 700;\n}\n\n.installments {\n color: #727273;\n margin-bottom: 1rem;\n}\n\n.savings {\n font-weight: 500;\n color: #79B03A;\n}\n\n.sellingPriceValue--summary {\n font-size: 1.25rem;\n font-weight: 600;\n color: #2E2E2E;\n}\n\n.savings--summary {\n background: #8BC34A;\n border-radius: 1000px;\n align-items: center;\n display: flex;\n\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n font-size: 0.875rem;\n font-weight: 600;\n vertical-align: baseline;\n color: #FFFFFF;\n}\n\n.savings-discount--summary {\n font-size: 0.875rem;\n font-weight: 600;\n vertical-align: baseline;\n color: #FFFFFF;\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n.listPrice--summary {\n margin-bottom: 0.25rem;\n font-size: .875rem;\n}\n\n.installments--summary {\n margin-bottom: 2rem;\n font-size: 0.875rem;\n}\n\n.savings--summaryPercentage {\n background: #0f3e99;\n border-radius: 1000px;\n align-items: center;\n display: flex;\n}\n\n.savingsPercentage--summaryPercentage {\n font-size: 0.875rem;\n font-weight: 600;\n vertical-align: baseline;\n color: #FFFFFF;\n padding: 0.25rem 0.5rem 0.25rem 0.5rem;\n}\n\n```" } ]
code_shopper-location-theme_77ff4827
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/vtex.rich-text.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.container--deals {\n color: #ffffff;\n text-align: center;\n justify-content: center;\n}\n\n.container--shelfTitle {\n color: #727273;\n justify-content: center;\n text-align: center;\n}\n\n.headingLevel2--shelfTitle {\n font-weight: 200;\n}\n\n.container--deals .paragraph {\n margin: 0;\n}\n\n.container--link {\n justify-content: center;\n}\n\n.container--question {\n justify-content: center;\n}\n\n.container--question .paragraph {\n text-align: center;\n max-width: 540px;\n margin: 0 16px;\n padding-top: 120px;\n color: #03034E;\n}\n\n.container--question .strong {\n font-size: 32px;\n line-height: 2rem;\n font-weight: 700;\n}\n\n.container--link .paragraph {\n text-align: center;\n max-width: 540px;\n padding-top: 36px;\n padding-bottom: 84px;\n color: #03034E;\n}\n\n.container--link .strong {\n font-size: 16px;\n font-weight: 700;\n text-transform: uppercase;\n}\n\n.container--link .link {\n text-decoration: none;\n font-size: 36px;\n font-weight: 300;\n color: #03034E;\n}\n\n.container--title {\n color: #03034E;\n font-size: 28px;\n font-weight: 700;\n}\n\n@media only screen and (min-width: 640px) {\n .container--question .strong {\n font-size: 40px;\n line-height: 3rem;\n }\n\n .container--about {\n max-width: 85%;\n }\n\n .container--title {\n color: #03034E;\n font-size: 40px;\n font-weight: 700;\n max-width: 60%;\n }\n\n .container--title .paragraph {\n line-height: 1.3em;\n }\n}\n\n```" } ]
code_shopper-location-theme_166bb535
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/vtex.product-summary.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.skuSelectorContainer--quickview .skuSelectorItemImage .frameAround, .skuSelectorContainer--quickview .skuSelectorItemImage .skuSelectorInternalBox {\n border-radius: 50%;\n}\n\n.container :global(.vtex-modal-layout-0-x-triggerContainer) {\n opacity: 0;\n transition: opacity 200ms ease-in-out;\n}\n\n.container:hover :global(.vtex-modal-layout-0-x-triggerContainer) {\n opacity: 1;\n}\n\n@media screen and (max-width: 40em) {\n .container :global(.vtex-modal-layout-0-x-triggerContainer) {\n display: none;\n }\n}\n\n.nameContainer {\n justify-content: start;\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n.brandName {\n font-weight: 600;\n font-size: 18px;\n color: #2E2E2E;\n}\n\n.container {\n text-align: start;\n}\n\n.imageContainer {\n text-align: center;\n}\n\n.image {\n border-radius: 0.25rem;\n}\n\n```" } ]
code_shopper-location-theme_a646da27
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/vtex.modal-layout.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n@media screen and (min-width: 40em) {\n .paper--quickview {\n height: 260px;\n width: 580px;\n }\n\n .actionsContainer--quickview {\n padding: 0 2rem 2rem 2rem;\n }\n}\n\n@media screen and (min-width: 50em) {\n .paper--quickview {\n height: 450px;\n width: 900px;\n }\n}\n\n\n@media screen and (min-width: 75em) {\n .paper--quickview {\n width: calc(100% - 4rem);\n height: auto;\n }\n}\n\n@media screen and (min-width: 82em) {\n .actionsContainer--quickview {\n padding: 0 2.5rem 2.5rem 2.5rem;\n }\n}\n\n.paper--quickview {\n min-width: 320px;\n max-width: 96rem;\n}\n\n.headerContainer--quickview {\n border: none;\n position: absolute;\n right: 0;\n}\n\n.actionsContainer--quickview {\n height: 100%;\n width: 100%;\n transition: box-shadow 150ms ease-in-out, border-top 150ms ease-in-out;\n border-top-style: solid;\n border-top-width: 1px;\n border-top-color: transparent;\n box-shadow: -4px 0px 27px -12px transparent;\n}\n\n.actionsContentWrapper {\n border-top-width: 1px;\n border-top-style: solid;\n border-top-color: #aaa;\n padding-top: 1.5rem;\n}\n\n.contentContainer--quickviewContent {\n padding: 2.5rem 0 2.5rem 2rem;\n overflow-x: hidden;\n}\n\n.triggerContainer--quickview {\n padding: .75rem;\n}\n\n.triggerContainer {\n outline: none;\n}\n\n.actionsContainer--quickview:not(.actionsContainerEndOfContent--quickview) {\n border-top-color: rgb(238, 238, 238);\n box-shadow: -4px 0px 27px -12px rgba(0,0,0,0.64);\n}\n\n.actionsContainer--quickview:not(.actionsContainerEndOfContent--quickview) .actionsContentWrapper {\n border-top-color: transparent;\n}\n\n.closeButton {\n padding-right: 1rem;\n}\n\n.paper--product-gifts {\n padding: 1.5rem;\n}\n\n```" } ]
code_shopper-location-theme_c11c50ba
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/vtex.store-header.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n/* add transitions */\n:global(.vtex-sticky-layout-0-x-container)\n :global(.vtex-store-components-3-x-logoLink),\n:global(.vtex-sticky-layout-0-x-container)\n :global(.vtex-minicart-2-x-openIconContainer),\n:global(.vtex-sticky-layout-0-x-container)\n :global(.vtex-store-components-3-x-searchBarContainer) {\n transition: all 0.3s ease;\n display: block;\n}\n\n/* desktop/mobile main header padding and background transitions */\n:global(.vtex-flex-layout-0-x-flexRowContent--main-header),\n:global(.vtex-flex-layout-0-x-flexRowContent--main-header-mobile) {\n transition: background 0.3s ease;\n will-change: padding, background;\n}\n\n/* main header desktop has a bigger padding when not stuck */\n:global(.vtex-flex-layout-0-x-flexRowContent--main-header) {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n/* add a box-shadow to desktop/mobile header when stuck */\n:global(.vtex-sticky-layout-0-x-wrapper--stuck)\n :global(.vtex-flex-layout-0-x-flexRowContent--main-header),\n:global(.vtex-sticky-layout-0-x-wrapper--stuck)\n :global(.vtex-flex-layout-0-x-flexRowContent--main-header-mobile) {\n box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);\n}\n\n/*\n * remove the extra padding when stuck from the desktop header\n * we add a transition only when \"stuck\" for the \"unstick\" step seem faster\n */\n:global(.vtex-sticky-layout-0-x-wrapper--stuck)\n :global(.vtex-flex-layout-0-x-flexRowContent--main-header) {\n transition: padding 0.3s ease, background 0.3s ease;\n padding-top: 0;\n padding-bottom: 0;\n}\n\n/* if supported add some translucency to the desktop/mobile header background */\n@supports (backdrop-filter: blur(5px)) {\n :global(.vtex-sticky-layout-0-x-wrapper--stuck)\n :global(.vtex-flex-layout-0-x-flexRowContent--main-header),\n :global(.vtex-sticky-layout-0-x-wrapper--stuck)\n :global(.vtex-flex-layout-0-x-flexRowContent--main-header-mobile) {\n backdrop-filter: blur(8px);\n }\n\n /* header background when stuck and not hovered */\n :global(.vtex-sticky-layout-0-x-wrapper--stuck):not(:hover)\n :global(.vtex-flex-layout-0-x-flexRowContent--main-header),\n :global(.vtex-sticky-layout-0-x-wrapper--stuck):not(:hover)\n :global(.vtex-flex-layout-0-x-flexRowContent--main-header-mobile) {\n background: rgba(240, 240, 240, 0.8);\n }\n}\n\n/* stick wrapper with the same color as the desktop/mobile header */\n:global(.vtex-sticky-layout-0-x-wrapper--sticky-header) {\n background-color: #f0f0f0;\n}\n\n/* resize the logo for neat effect */\n:global(.vtex-sticky-layout-0-x-wrapper--stuck)\n :global(.vtex-store-components-3-x-logoLink) {\n transform: scale(0.85);\n}\n\n@media (prefers-reduced-motion: reduce) {\n :global(.vtex-sticky-layout-0-x-container)\n :global(.vtex-store-components-3-x-logoLink),\n :global(.vtex-sticky-layout-0-x-container)\n :global(.vtex-minicart-2-x-openIconContainer),\n :global(.vtex-sticky-layout-0-x-container)\n :global(.vtex-store-components-3-x-searchBarContainer),\n :global(.vtex-sticky-layout-0-x-wrapper--stuck)\n :global(.vtex-flex-layout-0-x-flexRowContent--main-header) {\n transition: none;\n }\n}\n\n```" } ]
code_shopper-location-theme_5f2c8760
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/vtex.store-components.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.notificationBarContainer {\n background-color: #e6f1e6;\n color: #03034e;\n font-weight: 700;\n font-size: 12px;\n text-decoration: underline;\n}\n\n.infoCardContainer--info-card-home {\n max-width: 1520px;\n margin: 0 auto;\n background-color: #e6f1e6;\n padding: 0px;\n}\n\n.newsletter {\n background-color: #03054e;\n max-width: 1528px;\n margin: 0 auto;\n}\n\n.newsletter .container {\n padding: 60px 10px;\n}\n\n.label {\n color: #fff;\n font-size: 26px;\n}\n\n.inputGroup {\n padding-bottom: 4px;\n display: flex;\n color: #fff;\n}\n\n.inputGroup :global(.vtex-styleguide-9-x-hideDecorators) {\n background-color: transparent;\n color: #fff;\n border: none;\n}\n\n.inputGroup :global(.vtex-styleguide-9-x-hideDecorators)::placeholder {\n color: #fff;\n font-size: 16px;\n}\n\n.inputGroup :global(.vtex-button) {\n background-color: transparent;\n color: #fff;\n border: none;\n margin-right: -24px;\n}\n\n.buttonContainer {\n padding-top: 0px;\n}\n\n.imageElement--storePrint {\n max-height: 300px;\n margin-bottom: 20px;\n}\n\n.skuSelectorContainer {\n margin: 1rem 0;\n}\n\n@media only screen and (min-width: 640px) {\n .newsletter .container {\n padding: 140px;\n }\n .label {\n font-size: 40px;\n }\n .infoCardContainer--info-card-home .infoCardTextContainer {\n width: 30%;\n }\n .infoCardContainer--info-card-home .infoCardImageContainer {\n width: 70%;\n }\n .imageElement--storePrint {\n margin-bottom: 0px;\n max-height: 600px;\n }\n}\n\n.productImagesContainer--quickview .carouselContainer {\n justify-content: flex-start;\n}\n\n.productImagesContainer--quickview .productImageTag {\n object-fit: cover !important;\n}\n\n.productImagesContainer--quickview .carouselGaleryThumbs {\n display: none;\n}\n\n.productImagesContainer--quickview .carouselGaleryCursor {\n margin: 0;\n padding: 0;\n width: 100%;\n}\n\n.productNameContainer {\n color: #3f3f40;\n font-weight: bold;\n font-size: 30px;\n}\n\n.image {\n image-rendering: -webkit-optimize-contrast;\n}\n\n```" } ]
code_shopper-location-theme_3d9bad95
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/vtex.store-footer.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.row--menu-row {\n padding-right: 24px;\n}\n\n.row--menu-row .rowContainer {\n align-items: flex-start;\n}\n\n.row--payment-methods {\n padding-top: 16px;\n}\n\n```" } ]
code_shopper-location-theme_2378a874
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/vtex.product-identifier.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.product-identifier--productReference {\n margin-bottom: 1rem;\n}\n\n```" } ]
code_shopper-location-theme_117f100b
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/vtex.reviews-and-ratings.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.container {\n max-width: 96rem;\n padding-left: .5rem;\n padding-right: .5rem;\n}\n\n.inlineContainer {\n margin-left: 0rem;\n}\n\n.star--filled {\n color: #FFB100;\n}\n\n.star--empty {\n color: #FFB100;\n}\n\n```" } ]
code_shopper-location-theme_ad21ae79
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/vtex.product-highlights.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.productHighlightWrapper--collection {\n position: absolute;\n top: 10px;\n left: 5px;\n width: 200px;\n}\n\n.productHighlightText {\n background: antiquewhite;\n border-radius: 20px;\n padding: 5px 10px;\n}\n\n```" } ]
code_shopper-location-theme_c111a111
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/vtex.flex-layout.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.flexRowContent--menu-link,\n.flexRowContent--main-header {\n padding: 0 0.5rem;\n}\n\n@media screen and (min-width: 40em) {\n .flexRowContent--menu-link,\n .flexRowContent--main-header {\n padding: 0 1rem;\n }\n}\n\n@media screen and (min-width: 80rem) {\n .flexRowContent--menu-link,\n .flexRowContent--main-header {\n padding: 0 0.25rem;\n }\n}\n\n.flexRowContent--menu-link {\n background-color: #03044e;\n color: #fff;\n}\n\n.flexRowContent--main-header {\n background-color: #f0f0f0;\n}\n\n.flexRowContent--main-header-mobile {\n align-items: center;\n padding: 0.625rem 0.5rem;\n background-color: #f0f0f0;\n}\n\n.flexRowContent--menu-link :global(.vtex-menu-2-x-styledLink) {\n color: #ffffff;\n font-size: 14px;\n}\n\n.flexRowContent--main-header :global(.vtex-menu-2-x-styledLink) {\n color: #727273;\n font-size: 14px;\n}\n\n.flexRow--deals {\n background-color: #0F3E99;\n padding: 14px 0px;\n}\n\n.flexRow--deals .stretchChildrenWidth {\n align-items: center;\n}\n\n.flexRow--deals .flexCol {\n align-items: center;\n margin-bottom: 5px;\n padding-top: 5px;\n}\n\n.flexCol--filterCol {\n max-width: 500px;\n min-width: 230px;\n}\n\n.flexCol--productCountCol {\n align-items: flex-start;\n}\n\n.flexCol--orderByCol {\n align-items: flex-end;\n}\n\n.flexCol--orderByMobileCol {\n width: 42%;\n}\n\n.flexCol--filterMobileCol {\n width: 38%;\n}\n\n.flexRow--quickviewMainRow {\n display: flex;\n max-height: 100%;\n}\n\n.flexColChild--quickviewDetails:first-child {\n overflow-y: auto;\n height: 66% !important;\n overflow-x: hidden;\n}\n\n.flexColChild--quickviewDetails:last-child {\n height: 34% !important;\n}\n\n.flexRow--addToCartRow {\n padding-bottom: 1rem;\n}\n\n```" } ]
code_shopper-location-theme_cf843f85
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/vtex.carousel.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.containerImg {\n background-color: #f0f0f0;\n}\n\n.containerImg .img {\n max-width: 100%;\n}\n\n```" } ]
code_shopper-location-theme_a3f024ef
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/vtex.search-result.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.galleryLayoutOptionButton {\n background-color: #F0F0F0;\n color: #3F3F40;\n padding: 0.375rem 0.75rem 0.375rem 0.75rem;\n}\n\n.galleryLayoutOptionButton--selected {\n background-color: #3F3F40;\n color: #FFFFFF;\n}\n\n.galleryLayoutSwitcher {\n border-radius: 4px 4px 4px 4px;\n justify-content: center;\n overflow: hidden;\n width: auto !important;\n align-self: center\n}\n\n.galleryItem--list {\n border-bottom: 1px #E7E9EE solid;\n}\n\n```" } ]
code_shopper-location-theme_26ce3ee8
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/vtex.slider-layout.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.sliderLayoutContainer {\n justify-content: center;\n}\n\n.sliderLayoutContainer--carousel {\n background-color: #F0F0F0;\n min-height: 450px;\n}\n\n.sliderTrackContainer {\n max-width: 100%;\n}\n\n.paginationDotsContainer {\n margin-top: .5rem;\n margin-bottom: .5rem;\n}\n\n.layoutContainer--shelf {\n margin-top: 20px;\n margin-bottom: 20px;\n max-width: 96rem;\n min-height: 550px;\n}\n\n.slide--shelf {\n margin-bottom: 25px;\n padding-left: .5rem;\n padding-right: .5rem;\n min-height: 550px;\n}\n\n```" } ]
code_shopper-location-theme_26a705fc
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/vtex.stack-layout.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.stackItem--product {\n width: 100%;\n min-height: 257px\n}\n\n.stackItem--quickview {\n right: 0;\n top: 0;\n left: auto;\n}\n\n```" } ]
code_shopper-location-theme_df967618
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/configs/style.json from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"typeScale\": [\n 3, 2.25, 1.5, 1.25, 1, 0.875, 0.75\n ],\n \"spacing\": [0.125, 0.25, 0.5, 0.75, 1, 1.5, 2, 3, 4, 8, 16],\n \"customMedia\": [\n { \"s\": 20 },\n { \"ns\": {\n \"value\": 40,\n \"minWidth\": true\n }\n },\n { \"m\": {\n \"value\": 40,\n \"minWidth\": true\n }\n },\n { \"l\": {\n \"value\": 64,\n \"minWidth\": true\n }\n },\n { \"xl\": {\n \"value\": 80,\n \"minWidth\": true\n }\n }\n ],\n \"colors\": {\n \"black-90\": \"rgba(0,0,0,.9)\",\n \"black-80\": \"rgba(0,0,0,.8)\",\n \"black-70\": \"rgba(0,0,0,.7)\",\n \"black-60\": \"rgba(0,0,0,.6)\",\n \"black-50\": \"rgba(0,0,0,.5)\",\n \"black-40\": \"rgba(0,0,0,.4)\",\n \"black-30\": \"rgba(0,0,0,.3)\",\n \"black-20\": \"rgba(0,0,0,.2)\",\n \"black-10\": \"rgba(0,0,0,.1)\",\n \"black-05\": \"rgba(0,0,0,.05)\",\n \"black-025\": \"rgba(0,0,0,.025)\",\n \"black-0125\": \"rgba(0,0,0,.0125)\",\n\n \"white-90\": \"rgba(255,255,255,.9)\",\n \"white-80\": \"rgba(255,255,255,.8)\",\n \"white-70\": \"rgba(255,255,255,.7)\",\n \"white-60\": \"rgba(255,255,255,.6)\",\n \"white-50\": \"rgba(255,255,255,.5)\",\n \"white-40\": \"rgba(255,255,255,.4)\",\n \"white-30\": \"rgba(255,255,255,.3)\",\n \"white-20\": \"rgba(255,255,255,.2)\",\n \"white-10\": \"rgba(255,255,255,.1)\",\n \"white-05\": \"rgba(255,255,255,.05)\",\n \"white-025\": \"rgba(255,255,255,.025)\",\n \"white-0125\": \"rgba(255,255,255,.0125)\"\n },\n \"semanticColors\": {\n \"background\": {\n \"base\": \"#ffffff\",\n \"base--inverted\": \"#03044e\",\n \"action-primary\": \"#0F3E99\",\n \"action-secondary\": \"#eef3f7\",\n \"emphasis\": \"#f71963\",\n \"disabled\": \"#f2f4f5\",\n \"success\": \"#8bc34a\",\n \"success--faded\": \"#eafce3\",\n \"danger\": \"#ff4c4c\",\n \"danger--faded\": \"#ffe6e6\",\n \"warning\": \"#ffb100\",\n \"warning--faded\": \"#fff6e0\",\n \"muted-1\": \"#727273\",\n \"muted-2\": \"#979899\",\n \"muted-3\": \"#cacbcc\",\n \"muted-4\": \"#e3e4e6\",\n \"muted-5\": \"#f2f4f5\"\n },\n \"hover-background\": {\n \"action-primary\": \"#072c75\",\n \"action-secondary\": \"#dbe9fd\",\n \"emphasis\": \"#dd1659\",\n \"success\": \"#8bc34a\",\n \"success--faded\": \"#eafce3\",\n \"danger\": \"#e13232\",\n \"danger--faded\": \"#ffe6e6\",\n \"warning\": \"#ffb100\",\n \"warning--faded\": \"#fff6e0\",\n \"muted-1\": \"#727273\",\n \"muted-2\": \"#979899\",\n \"muted-3\": \"#cacbcc\",\n \"muted-4\": \"#e3e4e6\",\n \"muted-5\": \"#f2f4f5\"\n },\n \"active-background\": {\n \"action-primary\": \"#0c389f\",\n \"action-secondary\": \"#d2defc\",\n \"emphasis\": \"#dd1659\",\n \"success\": \"#8bc34a\",\n \"success--faded\": \"#eafce3\",\n \"danger\": \"#ff4c4c\",\n \"danger--faded\": \"#ffe6e6\",\n \"warning\": \"#ffb100\",\n \"warning--faded\": \"#fff6e0\",\n \"muted-1\": \"#727273\",\n \"muted-2\": \"#979899\",\n \"muted-3\": \"#cacbcc\",\n \"muted-4\": \"#e3e4e6\",\n \"muted-5\": \"#f2f4f5\"\n },\n \"text\": {\n \"action-primary\": \"#0F3E99\",\n \"action-secondary\": \"#eef3f7\",\n \"link\": \"#0F3E99\",\n \"emphasis\": \"#f71963\",\n \"disabled\": \"#979899\",\n \"success\": \"#8bc34a\",\n \"success--faded\": \"#eafce3\",\n \"danger\": \"#ff4c4c\",\n \"danger--faded\": \"#ffe6e6\",\n \"warning\": \"#ffb100\",\n \"warning--faded\": \"#fff6e0\",\n \"muted-1\": \"#727273\",\n \"muted-2\": \"#979899\",\n \"muted-3\": \"#cacbcc\",\n \"muted-4\": \"#e3e4e6\",\n \"muted-5\": \"#f2f4f5\"\n },\n \"visited-text\": {\n \"link\": \"#0c389f\"\n },\n \"hover-text\": {\n \"action-primary\": \"#072c75\",\n \"action-secondary\": \"#dbe9fd\",\n \"link\": \"#0c389f\",\n \"emphasis\": \"#dd1659\",\n \"success\": \"#8bc34a\",\n \"success--faded\": \"#eafce3\",\n \"danger\": \"#e13232\",\n \"danger--faded\": \"#ffe6e6\",\n \"warning\": \"#ffb100\",\n \"warning--faded\": \"#fff6e0\"\n },\n \"active-text\": {\n \"link\": \"#0c389f\",\n \"emphasis\": \"#dd1659\",\n \"success\": \"#8bc34a\",\n \"success--faded\": \"#eafce3\",\n \"danger\": \"#ff4c4c\",\n \"danger--faded\": \"#ffe6e6\",\n \"warning\": \"#ffb100\",\n \"warning--faded\": \"#fff6e0\"\n },\n \"border\": {\n \"action-primary\": \"#0F3E99\",\n \"action-secondary\": \"#eef3f7\",\n \"emphasis\": \"#f71963\",\n \"disabled\": \"#e3e4e6\",\n \"success\": \"#8bc34a\",\n \"success--faded\": \"#eafce3\",\n \"danger\": \"#ff4c4c\",\n \"danger--faded\": \"#ffe6e6\",\n \"warning\": \"#ffb100\",\n \"warning--faded\": \"#fff6e0\",\n \"muted-1\": \"#727273\",\n \"muted-2\": \"#979899\",\n \"muted-3\": \"#cacbcc\",\n \"muted-4\": \"#e3e4e6\",\n \"muted-5\": \"#f2f4f5\"\n },\n \"hover-border\": {\n \"action-primary\": \"#072c75\",\n \"action-secondary\": \"#dbe9fd\",\n \"emphasis\": \"#dd1659\",\n \"success\": \"#8bc34a\",\n \"success--faded\": \"#eafce3\",\n \"danger\": \"#e13232\",\n \"danger--faded\": \"#ffe6e6\",\n \"warning\": \"#ffb100\",\n \"warning--faded\": \"#fff6e0\",\n \"muted-1\": \"#727273\",\n \"muted-2\": \"#979899\",\n \"muted-3\": \"#cacbcc\",\n \"muted-4\": \"#e3e4e6\",\n \"muted-5\": \"#f2f4f5\"\n },\n \"active-border\": {\n \"action-primary\": \"#0c389f\",\n \"action-secondary\": \"#d2defc\",\n \"emphasis\": \"#dd1659\",\n \"success\": \"#8bc34a\",\n \"success--faded\": \"#eafce3\",\n \"danger\": \"#ff4c4c\",\n \"danger--faded\": \"#ffe6e6\",\n \"warning\": \"#ffb100\",\n \"warning--faded\": \"#fff6e0\",\n \"muted-1\": \"#727273\",\n \"muted-2\": \"#979899\",\n \"muted-3\": \"#cacbcc\",\n \"muted-4\": \"#e3e4e6\",\n \"muted-5\": \"#f2f4f5\"\n },\n \"on\": {\n \"base\": \"#3f3f40\",\n \"base--inverted\": \"#ffffff\",\n \"action-primary\": \"#ffffff\",\n \"action-secondary\": \"#0F3E99\",\n \"emphasis\": \"#ffffff\",\n \"disabled\": \"#979899\",\n \"success\": \"#ffffff\",\n \"success--faded\": \"#3f3f40\",\n \"danger\": \"#ffffff\",\n \"danger--faded\": \"#3f3f40\",\n \"warning\": \"#ffffff\",\n \"warning--faded\": \"#1a1a1a\",\n \"muted-1\": \"#ffffff\",\n \"muted-2\": \"#ffffff\",\n \"muted-3\": \"#3f3f40\",\n \"muted-4\": \"#3f3f40\",\n \"muted-5\": \"#3f3f40\"\n },\n \"hover-on\": {\n \"action-primary\": \"#ffffff\",\n \"action-secondary\": \"#0F3E99\",\n \"emphasis\": \"#ffffff\",\n \"success\": \"#ffffff\",\n \"success--faded\": \"#3f3f40\",\n \"danger\": \"#ffffff\",\n \"danger--faded\": \"#3f3f40\",\n \"warning\": \"#ffffff\",\n \"warning--faded\": \"#1a1a1a\"\n },\n \"active-on\": {\n \"action-primary\": \"#ffffff\",\n \"action-secondary\": \"#0F3E99\",\n \"emphasis\": \"#ffffff\",\n \"success\": \"#ffffff\",\n \"success--faded\": \"#3f3f40\",\n \"danger\": \"#ffffff\",\n \"danger--faded\": \"#3f3f40\",\n \"warning\": \"#ffffff\",\n \"warning--faded\": \"#1a1a1a\"\n }\n },\n \"borderWidths\": [0, 0.125, 0.25, 0.5, 1, 2],\n \"borderRadius\": [0, 0.125, 0.25, 0.5, 1],\n \"widths\": [1, 2, 4, 8, 16],\n \"maxWidths\": [1, 2, 4, 8, 16, 32, 48, 64, 96],\n \"heights\": [1, 2, 4, 8, 16],\n \"sizes\": [\n {\"name\": \"small\", \"value\": 2},\n {\"name\": \"regular\", \"value\": 2.5},\n {\"name\": \"large\", \"value\": 3}\n ],\n \"typography\":{\n \"measure\": [30, 34, 20],\n \"styles\": {\n \"heading-1\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"700\",\n \"fontSize\": \"3rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n },\n \"heading-2\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"700\",\n \"fontSize\": \"2.25rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n },\n \"heading-3\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"700\",\n \"fontSize\": \"1.75rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n },\n \"heading-4\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"normal\",\n \"fontSize\": \"1.5rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n },\n \"heading-5\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"normal\",\n \"fontSize\": \"1.25rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n },\n \"heading-6\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"normal\",\n \"fontSize\": \"1.25rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n },\n \"body\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"normal\",\n \"fontSize\": \"1rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n },\n \"small\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"normal\",\n \"fontSize\": \"0.875rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n },\n \"mini\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"normal\",\n \"fontSize\": \"0.75rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n },\n \"action\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"500\",\n \"fontSize\": \"1rem\",\n \"textTransform\": \"uppercase\",\n \"letterSpacing\": \"0\"\n },\n \"action--small\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"500\",\n \"fontSize\": \"0.875rem\",\n \"textTransform\": \"uppercase\",\n \"letterSpacing\": \"0\"\n },\n \"action--large\": {\n \"fontFamily\": \"San Francisco, -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif\",\n \"fontWeight\": \"500\",\n \"fontSize\": \"1.25rem\",\n \"textTransform\": \"uppercase\",\n \"letterSpacing\": \"0\"\n },\n \"code\": {\n \"fontFamily\": \"Consolas, monaco, monospace\",\n \"fontWeight\": \"normal\",\n \"fontSize\": \"1rem\",\n \"textTransform\": \"initial\",\n \"letterSpacing\": \"0\"\n }\n }\n },\n \"opacity\": [1, 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1, 0.05, 0.025, 0]\n}\n\n```" } ]
code_shopper-location-theme_25e0ea7b
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/contact/vtex.flex-layout.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.flexRowContent--contact {\n max-width: 700px;\n margin: auto;\n}\n\n.flexRowContent--contact :global(.vtex-input__label),\n.flexRowContent--contact :global(.vtex-textarea__label) {\n font-size: 1rem;\n color: #3f3f40;\n}\n\n.flexRowContent--contact :global(.vtex-input),\n.flexRowContent--contact :global(.vtex-textarea) {\n display: block;\n margin-bottom: 1rem;\n}\n\n```" } ]
code_shopper-location-theme_715c9509
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/faq/vtex.flex-layout.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.flexRowContent--faq {\n max-width: 700px;\n margin: auto;\n}\n\n```" } ]
code_shopper-location-theme_05d785c4
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/faq/vtex.disclosure-layout.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.trigger--question {\n display: flex;\n align-items: center;\n cursor: pointer;\n outline: none;\n}\n\n.trigger--question :global(.vtex-rich-text-0-x-paragraph) {\n font-weight: bold;\n}\n\n.trigger--question:focus,\n.trigger--question:focus :global(.vtex-rich-text-0-x-paragraph) {\n color: #0F3E99;\n}\n\n.trigger :global(.vtex-store-icons-0-x-caretIcon) {\n margin-right: 1rem;\n}\n\n.content--answer {\n transition: opacity 250ms ease-in-out, height 250ms ease-in-out, transform 250ms ease-in-out;\n opacity: 0;\n height: 0;\n transform: translate3d(0, -10%, 0);\n}\n\n.content--answer[data-enter] {\n opacity: 1;\n height: fit-content;\n transform: translate3d(0, 0, 0);\n}\n\n.content--answer[data-leave] {\n height: 0;\n overflow: hidden;\n}\n\n```" } ]
code_shopper-location-theme_7c17b8e2
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/search/vtex.rich-text.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.container--layout-option {\n margin-left: 0.3em;\n}\n\n.paragraph--layout-option {\n margin: 0;\n}\n\n.paragraph--summarySpecificationBullet {\n margin: 0;\n line-height: initial;\n font-size: 1.25rem;\n line-height: 1.15rem;\n}\n\n```" } ]
code_shopper-location-theme_9c3cbda7
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/search/vtex.product-summary.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.nameContainer--summaryListDesktop {\n padding-top: 0.25rem;\n padding-bottom: 0.75rem;\n justify-content: start;\n}\n\n.nameContainer--summaryListMobile {\n padding-top: 0.25rem;\n padding-bottom: 0.5rem;\n justify-content: start;\n}\n\n.brandName--summaryListMobile {\n font-weight: 400;\n font-size: 0.875rem;\n color: black;\n}\n\n.container--listLayout {\n max-width: none !important;\n}\n\n.image--summaryListDesktop {\n width: 180px !important;\n}\n\n.image--summaryListMobile {\n width: 140px !important;\n min-width: 140px;\n height: inherit !important;\n}\n\n```" } ]
code_shopper-location-theme_c4724eeb
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/search/vtex.store-components.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.productBrandName--summaryListDesktop {\n text-decoration: none;\n font-weight: 500;\n color: #0067C7;\n font-size: .875rem;\n}\n\n.productBrandName--summaryListMobile {\n text-decoration: none;\n color: #0067C7;\n font-size: .875rem;\n}\n\n```" } ]
code_shopper-location-theme_a0a40655
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/search/vtex.flex-layout.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.flexRow--orderByAndSwitcher {\n padding-right: 1.5em;\n}\n\n.flexRowContent--savingsSummaryListDesktop {\n justify-content: flex-start;\n}\n\n.flexCol--summaryRightListDesktop {\n justify-content: space-around;\n}\n\n.flexRow--buyNowButton :global(.vtex-button) {\n background: #eef3f7;\n border-color:#eef3f7;\n color: #0f3e99;\n}\n\n.flexRow--buyNowButton:hover :global(.vtex-button) {\n background: #dbe9fd;\n border-color:#dbe9fd;\n}\n\n.flexCol--productRating {\n margin-bottom: 3rem;\n}\n\n.flexCol--summaryDetailsListMobile {\n justify-content: space-between;\n}\n\n.flexCol--summaryUpDetailsListMobile {\n margin-bottom: 0.25rem\n}\n\n```" } ]
code_shopper-location-theme_8cfe45cb
[ { "role": "system", "content": "You are an expert VTEX IO developer. You specialize in building VTEX Store Framework apps, React components, GraphQL APIs, and Node.js services for e-commerce platforms." }, { "role": "user", "content": "Show me the implementation of shopper-location-theme/styles/css/product-specification-table/vtex.flex-layout.css from the shopper-location-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.flexRow--productSpecificationGroup:not(:first-child) {\n margin-top: 1.5rem;\n}\n\n.flexRow--productSpecificationGroupName {\n background-color: #eaeaea;\n padding: 0.5rem 1rem;\n}\n\n.flexCol--productSpecificationName {\n padding: 1rem;\n}\n\n.flexCol--productSpecificationValue {\n padding: 1rem 1rem 1rem 0;\n}\n\n.flexRow--productSpecification:nth-child(even) {\n background-color: #f9f9f9;\n}\n\n```" } ]