id
stringlengths
12
53
messages
listlengths
3
3
code_product-quantity_e6dc0538
[ { "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 product-quantity/react/typings/vtex.styleguide.d.ts from the product-quantity VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ndeclare module 'vtex.styleguide' {\n import { ComponentType } from 'react'\n\n export const NumericStepper: ComponentType<NumericStepperProps>\n export const Dropdown: ComponentType<DropdownProps>\n export const Input: ComponentType<InputProps>\n\n type NumericSize = 'small' | 'regular' | 'large'\n\n interface NumericStepperProps {\n size: NumericSize\n value: number\n minValue: number\n maxValue?: number\n unitMultiplier: number\n suffix?: string\n onChange: (e: any) => void\n useSemanticHtml?: any\n }\n\n interface DropdownProps {\n id: string\n testId: string\n onChange: (e: any) => void\n placeholder: string\n options: Array<{\n value: number\n label: string\n }>\n size: NumericSize\n value: number\n }\n\n interface InputProps {\n id: string\n size: NumericSize\n value: string\n maxLength: number\n onChange: (e: any) => void\n onBlur: () => void\n placeholder: string\n }\n}\n\n```" } ]
code_product-quantity_10d889c7
[ { "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 product-quantity/react/components/DropdownProductQuantity.tsx from the product-quantity VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { FunctionComponent, useState } from 'react'\nimport { Dropdown, Input } from 'vtex.styleguide'\nimport { useCssHandles } from 'vtex.css-handles'\nimport { SelectedItem } from 'vtex.product-context'\nimport { useDevice } from 'vtex.device-detector'\n\nimport { OnChangeCallback, BaseProps } from './BaseProductQuantity'\n\nconst MAX_DROPDOWN_VALUE = 10\nconst MAX_INPUT_LENGTH = 5\n\nconst DESKTOP_DROPDOWN_ID = 'quantity-dropdown'\nconst MOBILE_DROPDOWN_ID = 'quantity-dropdown-mobile'\nconst DESKTOP_INPUT_ID = 'quantity-input'\nconst MOBILE_INPUT_ID = 'quantity-input-mobile'\n\ninterface DropdownProps {\n itemId: SelectedItem['itemId']\n selectedQuantity: BaseProps['selectedQuantity']\n availableQuantity: number\n onChange: (e: OnChangeCallback) => void\n size: BaseProps['size']\n}\n\ntype InternalBehavior = 'dropdown' | 'input'\n\nconst normalizeValue = (value: number, maxValue: number) =>\n value > maxValue ? maxValue : value\n\nconst validateValue = (value: string, maxValue: number) => {\n const parsedValue = parseInt(value, 10)\n\n if (Number.isNaN(parsedValue)) {\n return 1\n }\n\n return normalizeValue(parseInt(value, 10), maxValue)\n}\n\nconst validateDisplayValue = (value: string, maxValue: number) => {\n const parsedValue = parseInt(value, 10)\n\n if (Number.isNaN(parsedValue) || parsedValue < 1) {\n return ''\n }\n\n return `${normalizeValue(parsedValue, maxValue)}`\n}\n\nconst getDropdownOptions = (maxValue: number) => {\n const limit = Math.min(MAX_DROPDOWN_VALUE - 1, maxValue)\n const options = []\n\n for (let idx = 1; idx <= limit; ++idx) {\n options.push({ value: idx, label: `${idx}` })\n }\n\n if (maxValue >= MAX_DROPDOWN_VALUE) {\n options.push({\n value: MAX_DROPDOWN_VALUE,\n label: `${MAX_DROPDOWN_VALUE}+`,\n })\n }\n\n return options\n}\n\nconst CSS_HANDLES = [\n 'quantitySelectorDropdownMobileContainer',\n 'quantitySelectorDropdownContainer',\n 'quantitySelectorInputMobileContainer',\n 'quantitySelectorInputContainer',\n] as const\n\nconst DropdownProductQuantity: FunctionComponent<DropdownProps> = ({\n itemId,\n selectedQuantity,\n size = 'small',\n onChange,\n availableQuantity,\n}) => {\n const [internalBehavior, setInternalBehavior] = useState<InternalBehavior>(\n 'dropdown'\n )\n const [displayValue, setDisplayValue] = useState(`${selectedQuantity}`)\n const { isMobile } = useDevice()\n const handles = useCssHandles(CSS_HANDLES)\n const dropdownOptions = getDropdownOptions(availableQuantity)\n\n const handleChange = (value: string) => {\n const newValidatedValue = validateValue(value, availableQuantity)\n const newDisplayValue = validateDisplayValue(value, availableQuantity)\n\n if (\n internalBehavior === 'dropdown' &&\n newValidatedValue >= Math.min(availableQuantity + 1, MAX_DROPDOWN_VALUE)\n ) {\n setInternalBehavior('input')\n }\n\n setDisplayValue(newDisplayValue)\n onChange({ value: newValidatedValue })\n }\n\n const handleInputBlur = () => {\n if (displayValue === '') {\n setDisplayValue('1')\n }\n\n const validatedValue = validateValue(displayValue, availableQuantity)\n\n if (validatedValue < Math.min(availableQuantity, MAX_DROPDOWN_VALUE)) {\n setInternalBehavior('dropdown')\n }\n\n onChange({ value: validatedValue })\n }\n\n if (internalBehavior === 'dropdown') {\n return (\n <div\n className={\n isMobile\n ? handles.quantitySelectorDropdownMobileContainer\n : handles.quantitySelectorDropdownContainer\n }>\n <Dropdown\n id={`${\n isMobile ? MOBILE_DROPDOWN_ID : DESKTOP_DROPDOWN_ID\n }-${itemId}`}\n testId={`${\n isMobile ? MOBILE_DROPDOWN_ID : DESKTOP_DROPDOWN_ID\n }-${itemId}`}\n options={dropdownOptions}\n size={size}\n value={selectedQuantity}\n onChange={event => handleChange(event.target.value)}\n placeholder=\" \"\n />\n </div>\n )\n }\n\n return (\n <div\n className={\n isMobile\n ? handles.quantitySelectorInputMobileContainer\n : handles.quantitySelectorInputContainer\n }>\n <Input\n id={`${isMobile ? MOBILE_INPUT_ID : DESKTOP_INPUT_ID}-${itemId}`}\n size={size}\n value={displayValue}\n maxLength={MAX_INPUT_LENGTH}\n onChange={event => handleChange(event.target.value)}\n onBlur={handleInputBlur}\n placeholder=\"\"\n />\n </div>\n )\n}\n\nexport default DropdownProductQuantity\n\n```" } ]
code_product-quantity_e0597ea3
[ { "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 product-quantity/react/components/BaseProductQuantity.tsx from the product-quantity VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { useCallback } from 'react'\nimport { FormattedMessage } from 'react-intl'\nimport { useCssHandles } from 'vtex.css-handles'\nimport { useRuntime } from 'vtex.render-runtime'\nimport { DispatchFunction } from 'vtex.product-context/ProductDispatchContext'\nimport { ProductContext } from 'vtex.product-context'\n\nimport DropdownProductQuantity from './DropdownProductQuantity'\nimport StepperProductQuantity from './StepperProductQuantity'\n\nexport type NumericSize = 'small' | 'regular' | 'large'\nexport type SelectorType = 'stepper' | 'dropdown'\nexport type QuantitySelectorStepType = 'unitMultiplier' | 'singleUnit'\n\nexport interface BaseProps {\n dispatch: DispatchFunction\n selectedItem?: ProductContext['selectedItem']\n showLabel?: boolean\n selectedQuantity: number\n selectorType?: SelectorType\n size?: NumericSize\n warningQuantityThreshold: number\n showUnit: boolean\n quantitySelectorStep?: QuantitySelectorStepType\n}\n\nconst CSS_HANDLES = [\n 'quantitySelectorContainer',\n 'quantitySelectorTitle',\n 'availableQuantityContainer',\n] as const\n\nexport type OnChangeCallback = {\n value: number\n}\n\nconst BaseProductQuantity: StorefrontFunctionComponent<BaseProps> = ({\n dispatch,\n selectedItem,\n size = 'small',\n showLabel = true,\n selectedQuantity,\n warningQuantityThreshold = 0,\n selectorType = 'stepper',\n showUnit = true,\n quantitySelectorStep = 'unitMultiplier',\n}) => {\n const { getSettings } = useRuntime()\n const settings = getSettings('vtex.store')\n const useSemanticHtml = settings?.advancedSettings?.a11ySemanticHtmlMigration\n const handles = useCssHandles(CSS_HANDLES)\n\n const onChange = useCallback(\n (e: OnChangeCallback) => {\n dispatch({ type: 'SET_QUANTITY', args: { quantity: e.value } })\n },\n [dispatch]\n )\n\n const availableQuantity =\n selectedItem?.sellers?.find(({ sellerDefault }) => sellerDefault === true)\n ?.commertialOffer?.AvailableQuantity ?? 0\n\n if (availableQuantity < 1 || !selectedItem) {\n return null\n }\n\n const showAvailable = availableQuantity <= warningQuantityThreshold\n const unitMultiplier =\n quantitySelectorStep === 'singleUnit' ? 1 : selectedItem.unitMultiplier\n\n const LabelComponent = useSemanticHtml ? 'label' : 'div'\n const labelProps = useSemanticHtml\n ? {\n htmlFor: 'vtex-product-quantity-input',\n }\n : {}\n\n return (\n <div\n className={`${handles.quantitySelectorContainer} flex flex-column mb4`}>\n {showLabel && (\n <LabelComponent\n className={`${handles.quantitySelectorTitle} mb3 c-muted-2 t-body`}\n {...labelProps}>\n <FormattedMessage id=\"store/product-quantity.quantity\" />\n </LabelComponent>\n )}\n {selectorType === 'stepper' && (\n <StepperProductQuantity\n showUnit={showUnit}\n size={size}\n unitMultiplier={unitMultiplier}\n measurementUnit={selectedItem.measurementUnit}\n selectedQuantity={selectedQuantity}\n availableQuantity={availableQuantity}\n onChange={onChange}\n useSemanticHtml={useSemanticHtml}\n />\n )}\n {selectorType === 'dropdown' && (\n <DropdownProductQuantity\n itemId={selectedItem.itemId}\n selectedQuantity={selectedQuantity}\n availableQuantity={availableQuantity}\n onChange={onChange}\n size={size}\n />\n )}\n {showAvailable && (\n <div\n className={`${handles.availableQuantityContainer} mv4 c-muted-2 t-small`}>\n <FormattedMessage\n id=\"store/product-quantity.quantity-available\"\n values={{ availableQuantity }}\n />\n </div>\n )}\n </div>\n )\n}\n\nexport default BaseProductQuantity\n\n```" } ]
code_product-quantity_10b07ead
[ { "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 product-quantity/react/components/StepperProductQuantity.tsx from the product-quantity VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { FunctionComponent } from 'react'\nimport { NumericStepper } from 'vtex.styleguide'\nimport { useCssHandles } from 'vtex.css-handles'\nimport { SelectedItem } from 'vtex.product-context'\n\nimport { OnChangeCallback, BaseProps } from './BaseProductQuantity'\n\nconst DEFAULT_UNIT = 'un'\n\ninterface StepperProps {\n unitMultiplier: SelectedItem['unitMultiplier']\n measurementUnit: SelectedItem['measurementUnit']\n selectedQuantity: BaseProps['selectedQuantity']\n availableQuantity: number\n onChange: (e: OnChangeCallback) => void\n size: BaseProps['size']\n showUnit: boolean\n useSemanticHtml?: boolean\n}\n\nconst CSS_HANDLES = ['quantitySelectorStepper'] as const\n\nconst StepperProductQuantity: FunctionComponent<StepperProps> = ({\n unitMultiplier = 1,\n measurementUnit = DEFAULT_UNIT,\n size = 'small',\n selectedQuantity,\n availableQuantity,\n onChange,\n showUnit,\n useSemanticHtml = false,\n}) => {\n const handles = useCssHandles(CSS_HANDLES)\n\n return (\n <div className={handles.quantitySelectorStepper}>\n <NumericStepper\n size={size}\n minValue={1}\n unitMultiplier={unitMultiplier}\n suffix={\n showUnit && measurementUnit !== DEFAULT_UNIT\n ? measurementUnit\n : undefined\n }\n onChange={onChange}\n value={selectedQuantity}\n maxValue={availableQuantity || undefined}\n useSemanticHtml={useSemanticHtml}\n />\n </div>\n )\n}\n\nexport default StepperProductQuantity\n\n```" } ]
code_fanplayr_6555f669
[ { "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 fanplayr/docs/README.md from the fanplayr VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\nπŸ“’ Use this project, [contribute](https://github.com/vtex-apps/CHANGEME) to it or open issues to help evolve it using [Store Discussion](https://github.com/vtex-apps/store-discussion).\n\n# APP NAME\n\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors-)\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n\nUnder the app's name, you should explain the topic, giving a **brief description** of the **app's functionality** in a store.\n\nNext, you can **add media** (either an image of a GIF) if possible, so that users can better understand how the app works in practice. \n\n![Media Placeholder](https://user-images.githubusercontent.com/52087100/71204177-42ca4f80-227e-11ea-89e6-e92e65370c69.png)\n\n## Configuration\n\nIn this section, you first must **add the primary instructions** that will allow users to use the app in their store, such as [installing the app](https://vtex.io/docs/recipes/store/installing-an-app) and configuring it using the account's admin. \n\nRemember to also **showcase any necessary disclaimer** related to the app in this section, such as the different behavior it may display during its configuration. \n\n## Modus Operandi *(not mandatory)*\n\nThere are scenarios in which an app can behave differently in a store, according to its configuration. It's crucial then to go through these **behavioral changes** in this section, allowing users to fully understand the **practical application** of the app in their store.\n\nIf you feel compelled to give further details, such as the app's **relationship with others**, don't hesitate to use this section. \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<!-- 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_fanplayr_457ea6a5
[ { "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 fanplayr/react/index.tsx from the fanplayr VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport { canUseDOM } from 'vtex.render-runtime'\nimport { PixelMessage } from './typings/events'\n\nexport function handleEvents(e: PixelMessage) {\n switch (e.data.eventName) {\n case 'vtex:pageView': {\n\n }\n default: {\n return\n }\n }\n}\n\nif (canUseDOM) {\n window.addEventListener('message', handleEvents)\n}\n\n```" } ]
code_fanplayr_8227766b
[ { "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 fanplayr/react/package.json from the fanplayr VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"scripts\": {\n \"test\": \"vtex-test-tools test\"\n },\n \"dependencies\": {\n \"ramda\": \"^0.26.1\"\n },\n \"devDependencies\": {\n \"@apollo/react-testing\": \"^3.1.3\",\n \"@types/graphql\": \"^14.5.0\",\n \"@types/jest\": \"^24.9.0\",\n \"@types/node\": \"^13.1.8\",\n \"@types/ramda\": \"^0.26.5\",\n \"@types/react\": \"^16.9.19\",\n \"@types/react-intl\": \"^3.0.0\",\n \"@vtex/test-tools\": \"^3.0.1\",\n \"apollo-cache-inmemory\": \"^1.6.5\",\n \"apollo-client\": \"^2.6.8\",\n \"eslint\": \"^5.16.0\",\n \"eslint-config-vtex-react\": \"^4.1.0\",\n \"graphql\": \"^14.5.4\",\n \"prettier\": \"^1.18.2\",\n \"react-intl\": \"^3.11.0\",\n \"tslint-eslint-rules\": \"^5.4.0\",\n \"typescript\": \"3.5.2\"\n }\n}\n\n```" } ]
code_fanplayr_f0cc4692
[ { "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 fanplayr/store/interfaces.json from the fanplayr VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"pixel.APPNAME\": {\n \"component\": \"index\"\n }\n}\n```" } ]
code_fanplayr_234b78bf
[ { "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 fanplayr/react/typings/events.d.ts from the fanplayr VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nexport interface PixelMessage extends MessageEvent {\n data:\n | ProductViewData\n | ProductClickData\n | OrderPlacedData\n | PageViewData\n | ProductImpressionData\n | AddToCartData\n | RemoveToCartData\n | CartChangedData\n | HomePageInfo\n | ProductPageInfoData\n | SearchPageInfoData\n | UserData\n | CartIdData\n}\n\nexport interface EventData {\n event: string\n eventName: string\n currency: string\n}\n\nexport interface PageInfoData extends EventData {\n event: 'pageInfo'\n eventName: 'vtex:pageInfo'\n accountName: string\n pageTitle: string\n pageUrl: string\n}\n\nexport interface UserData extends PageInfoData {\n eventType: 'userData'\n eventName: 'vtex:userData'\n firstName?: string\n lastName?: string\n document?: string\n id?: string\n email?: string\n phone?: string\n isAuthenticated: boolean\n}\n\nexport interface CartIdData extends PageInfoData {\n eventType: 'cartId'\n eventName: 'vtex:cartId'\n cartId: string\n}\n\nexport interface HomePageInfo extends PageInfoData {\n eventType: 'homeView'\n}\n\nexport interface ProductPageInfoData extends PageInfoData {\n eventType: 'productPageInfo'\n}\n\nexport interface SearchPageInfoData extends PageInfoData {\n eventType:\n | 'internalSiteSearchView'\n | 'categoryView'\n | 'departmentView'\n | 'emptySearchView'\n category?: CategoryMetaData\n department?: DepartmentMetaData\n search?: SearchMetaData\n}\n\ninterface CategoryMetaData {\n id: string\n name: string\n}\n\ninterface DepartmentMetaData {\n id: string\n name: string\n}\n\ninterface SearchMetaData {\n term: string\n category: CategoryMetaData\n results: number\n}\n\nexport interface PageViewData extends EventData {\n event: 'pageView'\n eventName: 'vtex:pageView'\n pageTitle: string\n pageUrl: string\n referrer: string\n}\n\nexport interface AddToCartData extends EventData {\n event: 'addToCart'\n eventName: 'vtex:addToCart'\n items: CartItem[]\n}\n\nexport interface RemoveToCartData extends EventData {\n event: 'removeFromCart'\n eventName: 'vtex:removeFromCart'\n items: CartItem[]\n}\n\nexport interface CartChangedData extends EventData {\n event: 'cartChanged'\n eventName: 'vtex:cartChanged'\n items: CartItem[]\n}\n\nexport interface OrderPlacedData extends Order, EventData {\n event: 'orderPlaced'\n eventName: 'vtex:orderPlaced'\n}\n\nexport interface ProductViewData extends EventData {\n event: 'productView'\n eventName: 'vtex:productView'\n product: ProductDetail\n}\n\nexport interface ProductClickData extends EventData {\n event: 'productClick'\n eventName: 'vtex:productClick'\n product: ProductSummary\n}\n\nexport interface ProductImpressionData extends EventData {\n event: 'productImpression'\n eventName: 'vtex:productImpression'\n impressions: Impression[]\n product?: ProductSummary // deprecated, use impressions list!\n position?: number // deprecated, use impressions list!\n list: string\n}\n\ninterface CartItem {\n skuId: string\n variant: string\n price: number\n name: string\n quantity: number\n productRefId: string\n brand: string\n category: string\n detailUrl: string\n imageUrl: string\n}\n\nexport interface Order {\n currency: string\n accountName: string\n orderGroup: string\n salesChannel: string\n coupon: string\n visitorType: string\n visitorContactInfo: string[]\n visitorAddressState: string\n visitorAddressCountry: string\n visitorAddressPostalCode: string\n transactionId: string\n transactionDate: string\n transactionAffiliation: string\n transactionTotal: number\n transactionShipping: number\n transactionSubtotal: number\n transactionDiscounts: number\n transactionTax: number\n transactionCurrency: string\n transactionPaymentType: PaymentType[]\n transactionShippingMethod: ShippingMethod[]\n transactionProducts: ProductOrder[]\n transactionPayment: {\n id: string\n }\n}\n\nexport interface Impression {\n product: ProductSummary\n position: number\n}\n\nexport interface PaymentType {\n group: string\n paymentSystemName: string\n installments: number\n value: number\n}\n\nexport interface ShippingMethod {\n itemId: string\n selectedSla: string\n}\n\nexport interface ProductOrder {\n id: string\n name: string\n sku: string\n skuRefId: string\n skuName: string\n productRefId: string\n ean: string\n slug: string\n brand: string\n brandId: string\n seller: string\n sellerId: string\n category: string\n categoryId: string\n categoryTree: string[]\n categoryIdTree: string[]\n priceTags: PriceTag[]\n originalPrice: number\n price: number\n sellingPrice: number\n tax: number\n quantity: number\n components: any[]\n measurementUnit: string\n unitMultiplier: number\n}\n\nexport interface PriceTag {\n identifier: string\n isPercentual: boolean\n value: number\n}\n\ninterface Product {\n brand: string\n brandId: string\n categories: string[]\n productId: string\n productName: string\n productReference: string\n linkText: string\n items: Item[]\n}\n\nexport interface ProductSummary extends Product {\n sku: Item\n}\n\nexport interface ProductDetail extends Product {\n categoryId: string\n categoryTree: { id: string; name: string }[]\n selectedSku: Item\n}\n\nexport interface Item {\n itemId: string\n name: string\n ean?: string // TODO: provide this info at productImpression\n referenceId: { Key: string; Value: string }\n seller?: Seller\n sellers: Seller[]\n}\n\nexport interface Seller {\n commertialOffer: CommertialOffer\n sellerId: string\n}\n\nexport interface CommertialOffer {\n Price: number\n ListPrice: number\n AvailableQuantity: number\n}\n\n```" } ]
code_fanplayr_3abf3327
[ { "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 fanplayr/react/typings/vtex.render-runtime.d.ts from the fanplayr VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ndeclare module 'vtex.render-runtime' {\n export const canUseDOM: boolean\n}\n\n```" } ]
code_fanplayr_97d97988
[ { "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 fanplayr/react/typings/global.d.ts from the fanplayr VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ninterface Window extends Window {\n dataLayer: any[]\n}\n\n```" } ]
code_chaordic_3ff4685c
[ { "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 chaordic/docs/README.md from the chaordic VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# Chaordic\n\nOpen the VTEX APP Store and install the app on your store.\n\nor\n\nRun the following command:\n\n```sh\nvtex install vtex.chaordic@0.x\n```\n\nNext, open the app settings on your admin and fill the form with Chaordic API Key.\n\n```" } ]
code_chaordic_0cc3bdb9
[ { "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 chaordic/react/index.tsx from the chaordic VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport { canUseDOM } from 'vtex.render-runtime'\nimport { PixelMessage } from './typings/events'\n\nexport function handleEvents(e: PixelMessage) {\n switch (e.data.eventName) {\n case 'vtex:pageView': {\n\n }\n default: {\n return\n }\n }\n}\n\nif (canUseDOM) {\n window.addEventListener('message', handleEvents)\n}\n\n```" } ]
code_chaordic_108eb80c
[ { "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 chaordic/react/package.json from the chaordic VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"scripts\": {\n \"test\": \"vtex-test-tools test\"\n },\n \"dependencies\": {\n \"ramda\": \"^0.26.1\"\n },\n \"devDependencies\": {\n \"@types/graphql\": \"^14.5.0\",\n \"@types/jest\": \"^24.0.11\",\n \"@types/node\": \"^11.13.0\",\n \"@types/ramda\": \"^0.26.5\",\n \"@vtex/test-tools\": \"^1.1.0\",\n \"eslint\": \"^5.16.0\",\n \"eslint-config-vtex-react\": \"^4.1.0\",\n \"graphql\": \"^14.5.4\",\n \"prettier\": \"^1.18.2\",\n \"tslint-eslint-rules\": \"^5.4.0\",\n \"typescript\": \"3.5.2\"\n },\n \"version\": \"0.0.4\"\n}\n\n```" } ]
code_chaordic_ffda991d
[ { "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 chaordic/store/interfaces.json from the chaordic VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"pixel.chaordic\": {\n \"component\": \"index\"\n }\n}\n```" } ]
code_chaordic_4a138ea2
[ { "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 chaordic/react/typings/events.d.ts from the chaordic VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nexport interface PixelMessage extends MessageEvent {\n data:\n | ProductViewData\n | ProductClickData\n | OrderPlacedData\n | PageViewData\n | ProductImpressionData\n | AddToCartData\n | RemoveToCartData\n}\n\nexport interface EventData {\n event: string\n eventName: string\n currency: string\n}\n\nexport interface PageViewData extends EventData {\n event: 'pageView'\n eventName: 'vtex:pageView'\n pageTitle: string\n pageUrl: string\n referrer: string\n}\n\nexport interface AddToCartData extends EventData {\n event: 'addToCart'\n eventName: 'vtex:addToCart'\n items: CartItem[]\n}\n\nexport interface RemoveToCartData extends EventData {\n event: 'removeFromCart'\n eventName: 'vtex:removeFromCart'\n items: CartItem[]\n}\n\nexport interface OrderPlacedData extends Order, EventData {\n event: 'orderPlaced'\n eventName: 'vtex:orderPlaced'\n}\n\nexport interface ProductViewData extends EventData {\n event: 'productView'\n eventName: 'vtex:productView'\n product: Product\n}\n\nexport interface ProductClickData extends EventData {\n event: 'productClick'\n eventName: 'vtex:productClick'\n product: Product\n}\n\nexport interface ProductImpressionData extends EventData {\n event: 'productImpression'\n eventName: 'vtex:productImpression'\n impressions: Impression[]\n product?: Product // deprecated, use impressions list!\n position?: number // deprecated, use impressions list!\n list: string\n}\n\ninterface CartItem {\n skuId: string\n variant: string\n price: number\n name: string\n quantity: number\n productRefId: string\n brand: string\n category: string\n}\n\nexport interface Order {\n currency: string\n accountName: string\n orderGroup: string\n salesChannel: string\n coupon: string\n visitorType: string\n visitorContactInfo: string[]\n visitorAddressState: string\n visitorAddressCountry: string\n visitorAddressPostalCode: string\n transactionId: string\n transactionDate: string\n transactionAffiliation: string\n transactionTotal: number\n transactionShipping: number\n transactionSubtotal: number\n transactionDiscounts: number\n transactionTax: number\n transactionCurrency: string\n transactionPaymentType: PaymentType[]\n transactionShippingMethod: ShippingMethod[]\n transactionProducts: ProductOrder[]\n transactionPayment: {\n id: string\n }\n}\n\nexport interface Impression {\n product: Product\n position: number\n}\n\ninterface PaymentType {\n group: string\n paymentSystemName: string\n installments: number\n value: number\n}\n\ninterface ShippingMethod {\n itemId: string\n selectedSla: string\n}\n\ninterface ProductOrder {\n id: string\n name: string\n sku: string\n skuRefId: string\n skuName: string\n productRefId: string\n ean: string\n slug: string\n brand: string\n brandId: string\n seller: string\n sellerId: string\n category: string\n categoryId: string\n categoryTree: string[]\n categoryIdTree: string[]\n priceTags: PriceTag[]\n originalPrice: number\n price: number\n sellingPrice: number\n tax: number\n quantity: number\n components: any[]\n measurementUnit: string\n unitMultiplier: number\n}\n\ninterface PriceTag {\n identifier: string\n isPercentual: boolean\n value: number\n}\n\ninterface Product {\n brand: string\n categoryId?: string // inconsistency\n categories: string[]\n productId: string\n productName: string\n selectedSku?: string // inconsistency\n items: Item[]\n sku: Item\n [key: string]: any\n}\n\ninterface Item {\n itemId: string\n name: string\n seller?: Seller\n [key: string]: any\n}\n\ninterface Seller {\n commertialOffer: CommertialOffer\n [key: string]: any\n}\n\ninterface CommertialOffer {\n Price: number\n [key: string]: any\n}\n\n```" } ]
code_chaordic_473fd7b0
[ { "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 chaordic/react/typings/vtex.render-runtime.d.ts from the chaordic VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ndeclare module 'vtex.render-runtime' {\n export const canUseDOM: boolean\n}\n\n```" } ]
code_chaordic_4a56f5dc
[ { "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 chaordic/react/typings/global.d.ts from the chaordic VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ninterface Window extends Window {\n dataLayer: any[]\n}\n\n```" } ]
code_dummy-build-testing-grounds_7228547b
[ { "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 dummy-build-testing-grounds/messages/pt.json from the dummy-build-testing-grounds VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"editor.base-store-component.title\": \"IO Base App\",\n \"editor.base-store-component.description\": \"Um componente de demonstraΓ§Γ£o para apps do VTEX IO\",\n \"editor.base-store-component.title.title\": \"TΓ­tulo\",\n \"editor.base-store-component.title.description\": \"Especifique um tΓ­tulo personalizado\",\n \"base.title\": \"OlΓ‘, Mundo!!\",\n \"base.change-value\": \"Troque seu valor: {value}\",\n \"example\": \"Isto Γ© um exemplo\"\n}\n```" } ]
code_dummy-build-testing-grounds_c964151f
[ { "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 dummy-build-testing-grounds/messages/en.json from the dummy-build-testing-grounds VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"editor.base-store-component.title\": \"IO Base App\",\n \"editor.base-store-component.description\": \"A demo component for IO apps\",\n \"editor.base-store-component.title.title\": \"Title\",\n \"editor.base-store-component.title.description\": \"Specify a custom title\",\n \"base.title\": \"Hello, World!!\",\n \"base.change-value\": \"Change your value: {value}\",\n \"example\": \"This is an example\"\n}\n```" } ]
code_dummy-build-testing-grounds_5e19f9ad
[ { "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 dummy-build-testing-grounds/messages/context.json from the dummy-build-testing-grounds VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"editor.base-store-component.title\": \"Title of IO Base App component\",\n \"editor.base-store-component.description\": \"Description of IO Base App component\",\n \"editor.base-store-component.title.title\": \"Title of title property\",\n \"editor.base-store-component.title.description\": \"Description of title property\",\n \"base.title\": \"Base title message to be shown when title is not provided via CMS\",\n \"base.change-value\": \"Text to be shown beside input component typed value\"\n}\n```" } ]
code_dummy-build-testing-grounds_cb64d1bf
[ { "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 dummy-build-testing-grounds/messages/es.json from the dummy-build-testing-grounds VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"editor.base-store-component.title\": \"IO Base App\",\n \"editor.base-store-component.description\": \"Un componente de demostraciΓ³n para aplicaciones IO.\",\n \"editor.base-store-component.title.title\": \"TΓ­tulo\",\n \"editor.base-store-component.title.description\": \"Especifique un tΓ­tulo personalizado\",\n \"base.title\": \"Β‘Hola Mundo!\",\n \"base.change-value\": \"Cambia tu valor: {value}\",\n \"example\": \"Esto es un ejemplo\"\n}\n```" } ]
code_dummy-build-testing-grounds_6ba11af0
[ { "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 dummy-build-testing-grounds/docs/README.md from the dummy-build-testing-grounds VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\nFirst of all (even before the block's name), its README.md should contain the following sentence at the very beginning:\n\n`πŸ“’ Use this project, [contribute](https://github.com/{OrganizationName/{AppName}) to it or open issues to help evolve it using [Store Discussion](https://github.com/vtex-apps/store-discussion).`\n\n# BLOCK NAME\n\nUnder the block's name, you should explain the topic, giving a **brief description** of the **block's functionality** in a store.\n\nNext, **add media** (either an image of a GIF) with the rendered block, so that users can better understand how the block works in practice. \n\n![Media Placeholder](https://user-images.githubusercontent.com/52087100/71204177-42ca4f80-227e-11ea-89e6-e92e65370c69.png)\n\n## Configuration \n\nIn this section, you first must **add the primary instructions** that will allow users to use the block in their store, such as adding the block's app as a dependency in the `manifest.json` and declaring the block itself in a given template.\n\nNext, add the **block's props table**:\n\n| Prop name | Type | Description | Default value |\n| ------------ | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | \n| `XXXXX` | `XXXXXX` | XXXXXXXX | `XXXXXX` |\n\n\nRemember to also **showcase any necessary disclaimer** related to the block in this section, such as the different behavior it may display during its configuration. \n\n## Modus Operandi *(not mandatory)*\n\nThere are scenarios in which a block can behave differently in a store, according to how it was added to the catalog, for example. It's crucial to go through these **behavioral changes** in this section, allowing users to fully understand the **practical application** of the block in their store.\n\nIf you feel compelled to give further details about the block, such as it's **relationship with the VTEX admin**, don't hesitate to use this section. \n\n## Customization\n\nThe first thing that should be present in this section is the sentence below, showing users the recipe pertaining to CSS customization in blocks:\n\n`In order to apply CSS customizations in this and other blocks, follow the instructions given in the recipe on [Using CSS Handles for store customization](https://vtex.io/docs/recipes/style/using-css-handles-for-store-customization).`\n\nThereafter, you should add a single column table with the available CSS handles for that block:\n\n| CSS Handles |\n| ----------- | \n| `XXXXX` | \n| `XXXXX` | \n| `XXXXX` | \n| `XXXXX` | \n| `XXXXX` |\n\n\nIf there are none, add the following sentence instead:\n\n`The component still doesn't have CSS Handles for its specific customization.`\n\n---\n\nCheck out some documentation models that are already live: \n- [Breadcrumb](https://github.com/vtex-apps/breadcrumb)\n- [Image](https://vtex.io/docs/components/general/vtex.store-components/image)\n\n```" } ]
code_dummy-build-testing-grounds_eada962b
[ { "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 dummy-build-testing-grounds/react/package.json from the dummy-build-testing-grounds VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"scripts\": {\n \"test\": \"vtex-test-tools test\",\n \"lint\": \"tsc --noEmit && eslint --ext ts,tsx .\"\n },\n \"dependencies\": {\n \"@vtex/css-handles\": \"^1.0.0\",\n \"classnames\": \"^2.2.6\",\n \"ramda\": \"^0.26.1\",\n \"react\": \"^16.8.3\",\n \"react-dom\": \"^16.8.3\",\n \"react-intl\": \"^2.7.2\"\n },\n \"devDependencies\": {\n \"@types/classnames\": \"^2.2.7\",\n \"@types/jest\": \"^24.0.18\",\n \"@types/node\": \"^12.7.5\",\n \"@types/prop-types\": \"^15.7.0\",\n \"@types/ramda\": \"^0.26.5\",\n \"@types/react\": \"^16.9.2\",\n \"@vtex/test-tools\": \"^1.1.0\",\n \"apollo-client\": \"^2.5.1\",\n \"eslint\": \"^5.16.0\",\n \"eslint-config-vtex-react\": \"^4.1.0\",\n \"prettier\": \"^1.18.2\",\n \"tslint-eslint-rules\": \"^5.4.0\",\n \"typescript\": \"3.5.2\"\n },\n \"version\": \"0.2.2\"\n}\n\n```" } ]
code_dummy-build-testing-grounds_f40e3a55
[ { "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 dummy-build-testing-grounds/react/Example.tsx from the dummy-build-testing-grounds VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { useState } from 'react'\nimport { Input } from 'vtex.styleguide'\nimport { FormattedMessage } from 'react-intl'\n\nimport TranslatedTitle from './components/TranslatedTitle'\n\nimport styles from './styles.css'\n\nconst Example: StorefrontFunctionComponent<ExampleProps> = ({ title }) => {\n const [inputValue, setValue] = useState<string | null>(null)\n\n return (\n <div className={`${styles.container} flex flex-column pv6 ph4`}>\n <TranslatedTitle title={title} />\n <div className=\"t-body pv4\">\n <FormattedMessage\n id=\"base.change-value\"\n values={{ value: inputValue || '' }}\n />\n </div>\n <Input\n value={inputValue}\n onChange={(e: React.ChangeEvent<HTMLInputElement>) =>\n setValue(e.target.value)\n }\n />\n </div>\n )\n}\n\ninterface ExampleProps {\n title?: string\n}\n\nExample.schema = {\n title: 'editor.base-store-component.title',\n description: 'editor.base-store-component.description',\n type: 'object',\n properties: {\n title: {\n title: 'editor.base-store-component.title.title',\n description: 'editor.base-store-component.title.description',\n type: 'string',\n default: null,\n },\n },\n}\n\nexport default Example\n\n```" } ]
code_dummy-build-testing-grounds_18a51d86
[ { "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 dummy-build-testing-grounds/store/interfaces.json from the dummy-build-testing-grounds VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"base-store-component\": {\n \"component\": \"Example\"\n }\n}\n```" } ]
code_dummy-build-testing-grounds_da597a03
[ { "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 dummy-build-testing-grounds/react/typings/storefront.d.ts from the dummy-build-testing-grounds VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nimport { FunctionComponent } from 'react'\n\ndeclare global {\n interface StorefrontFunctionComponent<P = {}> extends FunctionComponent<P> {\n getSchema?(props: P): object\n schema?: object\n }\n\n interface StorefrontComponent<P = {}, S = {}> extends Component<P, S> {\n getSchema?(props: P): object\n schema: object\n }\n}\n\n```" } ]
code_dummy-build-testing-grounds_2c0b7e85
[ { "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 dummy-build-testing-grounds/react/typings/vtex.render-runtime.d.ts from the dummy-build-testing-grounds VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\n/* Typings for `render-runtime` */\ndeclare module 'vtex.render-runtime' {\n import { Component, ComponentType, ReactElement, ReactType } from 'react'\n\n export interface NavigationOptions {\n page: string\n params?: any\n }\n\n export interface RenderContextProps {\n runtime: {\n navigate: (options: NavigationOptions) => void\n }\n }\n\n interface ExtensionPointProps {\n id: string\n [key: string]: any\n }\n\n export const ExtensionPoint: ComponentType<ExtensionPointProps>\n\n interface ChildBlockProps {\n id: string\n }\n\n export const ChildBlock: ComponentType<ChildBlockProps>\n export const useChildBlock = function({ id: string }): object {}\n\n export const Helmet: ReactElement\n export const Link: ReactType\n export const NoSSR: ReactElement\n export const RenderContextConsumer: ReactElement\n export const canUseDOM: boolean\n export const withRuntimeContext: <TOriginalProps extends {}>(\n Component: ComponentType<TOriginalProps & RenderContextProps>\n ) => ComponentType<TOriginalProps>\n}\n\n```" } ]
code_dummy-build-testing-grounds_08a1d285
[ { "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 dummy-build-testing-grounds/react/typings/css.d.ts from the dummy-build-testing-grounds VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ndeclare module '*.css' {\n const css: any\n export default css\n}\n\n```" } ]
code_dummy-build-testing-grounds_c55884a1
[ { "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 dummy-build-testing-grounds/react/typings/graphql.d.ts from the dummy-build-testing-grounds VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ndeclare module '*.graphql' {\n import { DocumentNode } from 'graphql'\n\n const value: DocumentNode\n export default value\n}\n\n```" } ]
code_dummy-build-testing-grounds_354d046f
[ { "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 dummy-build-testing-grounds/react/typings/vtex.styleguide.d.ts from the dummy-build-testing-grounds VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ndeclare module 'vtex.styleguide' {\n import { ComponentType } from 'react'\n\n export const Input: ComponentType<InputProps>\n\n interface InputProps {\n [key: string]: any\n }\n}\n\n```" } ]
code_dummy-build-testing-grounds_552c4810
[ { "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 dummy-build-testing-grounds/react/components/index.tsx from the dummy-build-testing-grounds VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { FunctionComponent } from 'react'\nimport { FormattedMessage } from 'react-intl'\n\nconst HelloWorld: FunctionComponent = () => {\n return (\n <div>\n <FormattedMessage id=\"example\" />\n </div>\n )\n}\n\nexport default HelloWorld\n\n```" } ]
code_dummy-build-testing-grounds_8d038655
[ { "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 dummy-build-testing-grounds/react/components/TranslatedTitle.tsx from the dummy-build-testing-grounds VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React, { FunctionComponent } from 'react'\nimport { FormattedMessage } from 'react-intl'\n\n// The b-s token makes the `b` class be applied only on mobile devices.\nconst TranslatedTile: FunctionComponent<TranslatedTileProps> = ({ title }) => {\n const titleText = title || <FormattedMessage id=\"base.title\" />\n return (\n <div className=\"flex flex-grow-1 justify-center b-s\">\n <span className=\"t-heading-4\">{titleText}</span>\n </div>\n )\n}\n\ninterface TranslatedTileProps {\n title?: string\n}\n\nexport default TranslatedTile\n\n```" } ]
code_dummy-build-testing-grounds_e499b8c5
[ { "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 dummy-build-testing-grounds/react/__tests__/index.test.tsx from the dummy-build-testing-grounds VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React from 'react'\nimport { render } from '@vtex/test-tools/react'\nimport Component from '../components/index'\n\ndescribe('HelloWorld Component', () => {\n const { getByText } = render(<Component />)\n\n it('should render the example in TypeScript', () => {\n expect(getByText(/This is an example/)).toBeDefined()\n })\n})\n\n```" } ]
code_wordpress-integration-qa-theme_49d16c3f
[ { "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 wordpress-integration-qa-theme/sitemap/sitemap.json from the wordpress-integration-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_wordpress-integration-qa-theme_067db912
[ { "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 wordpress-integration-qa-theme/docs/README.md from the wordpress-integration-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_wordpress-integration-qa-theme_337abd3b
[ { "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 wordpress-integration-qa-theme/docs/contact-schema.json from the wordpress-integration-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_wordpress-integration-qa-theme_84902404
[ { "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 wordpress-integration-qa-theme/store/blocks.json from the wordpress-integration-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store.blog-home\": {\n \"blocks\": [\n \"blog-breadcrumb.wordpress-breadcrumb\",\n \"blog-search.wordpress-search\",\n \"blog-latest-posts-preview.wordpress-latest-posts-preview\",\n \"blog-category-preview.wordpress-category-preview#test\",\n \"blog-category-preview.wordpress-category-preview#test2\",\n \"blog-all-posts.wordpress-all-posts\"\n ]\n },\n \"store.blog-category\": {\n \"blocks\": [\n \"blog-breadcrumb.wordpress-breadcrumb\",\n \"blog-category-list.wordpress-category-list\"\n ]\n },\n \"store.blog-post\": {\n \"blocks\": [\n \"blog-breadcrumb.wordpress-breadcrumb\",\n \"blog-post-details.wordpress-post-details\"\n ]\n },\n \"store.blog-home#page\": {\n \"blocks\": [\n \"blog-breadcrumb.wordpress-breadcrumb\",\n \"blog-page-details.wordpress-page-details\"\n ]\n },\n \"store.blog-search-result\": {\n \"blocks\": [\n \"blog-breadcrumb.wordpress-breadcrumb\",\n \"blog-search-list.wordpress-search-list\"\n ]\n },\n \"blog-latest-posts-preview.wordpress-latest-posts-preview\": {\n \"props\": {\n \"title\": \"Latest post\",\n \"useTextOverlays\": true,\n \"twoColumns\": true\n }\n },\n \"blog-category-preview.wordpress-category-preview#test\": {\n \"props\": {\n \"category\": 5,\n \"description\": \"Description of category\",\n \"useTextOverlays\": false\n }\n },\n \"blog-category-preview.wordpress-category-preview#test2\": {\n \"props\": {\n \"category\": 410,\n \"description\": \"Description of category\",\n \"useTextOverlays\": false\n }\n },\n \"blog-post-details.wordpress-post-details\": {\n \"children\": [\"blog-related-products.wordpress-related-products\"]\n },\n \"blog-page-details.wordpress-page-details\": {\n \"children\": [\"blog-related-products.wordpress-related-products\"]\n },\n \"blog-related-products.wordpress-related-products\": {\n \"blocks\": [\"product-summary.shelf\"],\n \"props\": {\n \"orderBy\": \"OrderByTopSaleDESC\",\n \"productList\": {\n \"maxItems\": 8,\n \"itemsPerPage\": 4,\n \"scroll\": \"BY_PAGE\",\n \"arrows\": true,\n \"titleText\": \"Related Products\"\n }\n }\n },\n \"product-summary.shelf\": {\n \"children\": [\n \"product-summary-add-to-list-button\",\n \"product-summary-image\",\n \"product-summary-name\",\n \"product-rating-inline\",\n \"product-summary-space\",\n \"product-summary-price\",\n \"product-summary-buy-button\"\n ]\n }\n}\n\n```" } ]
code_wordpress-integration-qa-theme_63144cd9
[ { "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 wordpress-integration-qa-theme/store/blocks.jsonc from the wordpress-integration-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_wordpress-integration-qa-theme_9abb939d
[ { "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 wordpress-integration-qa-theme/store/interfaces.json from the wordpress-integration-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"flex-layout.col.search\": {\n \"allowed\": [\"rich-text\", \"filter-navigator.v3\"]\n },\n \"flex-layout.col.search-content\": {\n \"allowed\": [\n \"image\",\n \"search-content\",\n \"search-fetch-more\",\n \"search-products-count-per-page\",\n \"search-fetch-previous\"\n ]\n },\n \"stack-layout.greenBadge\": {\n \"allowed\": [\"vtex.product-highlights:product-highlights\"]\n },\n \"tab-layout.search-mobile\": {\n \"allowed\": [\"tab-list.tabContainer\", \"tab-content.search-result\"]\n },\n \"tab-content.item.products\": {\n \"allowed\": [\n \"flex-layout\",\n \"search-content\",\n \"filter-navigator.v3\",\n \"order-by.v2\",\n \"search-content\",\n \"search-fetch-more\",\n \"search-products-count-per-page\"\n ]\n },\n \"tab-content.item.article\": {\n \"allowed\": [\"search-blog-articles-list.wordpress\"]\n },\n \"tab-content.search-result\": {\n \"allowed\": [\"tab-content.item.products\", \"tab-content.item.article\"]\n },\n \"tab-list.tabContainer\": {\n \"allowed\": [\"flex-layout\"]\n }\n}\n\n```" } ]
code_wordpress-integration-qa-theme_4d3ed0c0
[ { "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 wordpress-integration-qa-theme/store/routes.json from the wordpress-integration-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 \"store.blog-home\": {\n \"path\": \"/blog\"\n },\n \"store.blog-category\": {\n \"path\": \"/blog/category/:categoryslug(/page/:page)\"\n },\n \"store.blog-post\": {\n \"path\": \"/blog/post/:slug\"\n },\n \"store.blog-search-result\": {\n \"path\": \"/blog/search/:term\"\n }\n}\n\n```" } ]
code_wordpress-integration-qa-theme_81827810
[ { "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 wordpress-integration-qa-theme/styles/css/vtex.store-video.css from the wordpress-integration-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_wordpress-integration-qa-theme_1f83d1ae
[ { "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 wordpress-integration-qa-theme/styles/css/vtex.product-price.css from the wordpress-integration-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_wordpress-integration-qa-theme_eb368e6d
[ { "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 wordpress-integration-qa-theme/styles/css/vtex.rich-text.css from the wordpress-integration-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_wordpress-integration-qa-theme_2f00741c
[ { "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 wordpress-integration-qa-theme/styles/css/vtex.product-summary.css from the wordpress-integration-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_wordpress-integration-qa-theme_20c9b7cf
[ { "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 wordpress-integration-qa-theme/styles/css/vtex.modal-layout.css from the wordpress-integration-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_wordpress-integration-qa-theme_f8bdcbac
[ { "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 wordpress-integration-qa-theme/styles/css/vtex.store-header.css from the wordpress-integration-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_wordpress-integration-qa-theme_60bad94c
[ { "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 wordpress-integration-qa-theme/styles/css/vtex.store-components.css from the wordpress-integration-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_wordpress-integration-qa-theme_b396d25d
[ { "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 wordpress-integration-qa-theme/styles/css/vtex.wordpress-integration.css from the wordpress-integration-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```css\n.latestPostsBlockContainer,\n.categoryBlockContainer,\n.postContainer,\n.searchResultBlockContainer,\n.breadcrumbContainer,\n.listTitle,\n.listContainer,\n.postFlex{\n max-width: 1280px;\n margin: 0 auto;\n}\n.latestPostsBlockContainer > svg[class*=\"vtex__icon-spinner\"],\n.categoryBlockContainer > svg[class*=\"vtex__icon-spinner\"],\n.postContainer > svg[class*=\"vtex__icon-spinner\"],\n.searchResultBlockContainer > svg[class*=\"vtex__icon-spinner\"] {\n\tmargin: auto;\n display: flex;\n width: 50px;\n\theight: 50px;\n\tcolor: #69b512;\n}\n.categoryBlockTitle {\n margin-top: 0;\n margin-bottom: 0;\n}\n.categoryBlockDescription {\n font-size: 15px;\n font-weight: normal;\n font-style: normal;\n font-stretch: normal;\n line-height: 1.8;\n letter-spacing: -0.2px;\n color: #555;\n}\n.searchBlockContainer {\n\tposition: absolute;\n width: 300px;\n right: 0;\n bottom: 140px;\n}\n.searchBlockContainer div[class*=\"vtex-input-prefix__group\"]{\n\tborder: none;\n}\n.searchBlockContainer div[class*=\"vtex-input-prefix__group\"] input{\n\tborder-radius: 0;\n\theight: 36px;\n\tfont-family: \"Source Sans Pro\";\n font-size: 14px;\n line-height: 34px;\n text-align: left;\n\tcolor: #333;\n\tpadding-left: 10px;\n\tborder: 1px solid #e5e5e5;\n}\n.searchBlockContainer div[class*=\"vtex-input-prefix__group\"] input::placeholder{\n\tcolor: #919191;\n\ttext-transform: capitalize;\n}\n.searchBlockContainer div[class*=\"vtex-input-prefix__group\"] > span{\n\tborder-radius: 0;\n\theight: 36px;\n\tmargin-left: 2px;\n\tmargin-right: 40px;\n padding: 0;\n\tbackground-color: #808080;\n color: #fff;\n}\n.searchBlockContainer div[class*=\"vtex-input-prefix__group\"] > span > div{\n\twidth: 100%;\n height: 100%;\n line-height: 36px;\n padding: 0 5px;\n}\n.searchBlockContainer div[class*=\"vtex-input-prefix__group\"] > span > div > div{\n\tdisplay: none;\n}\n.searchBlockContainer div[class*=\"vtex-input-prefix__group\"] > span > div > span[class*=\"c-link\"]{\n\tpadding: 0;\n}\n.searchBlockContainer div[class*=\"vtex-input-prefix__group\"] > span > div > span[class*=\"c-link\"]:before{\n\tcontent:\"Go\";\n\tfont-weight: 700;\n font-family: \"Source Sans Pro\";\n\tfont-size: 19px;\n\tcolor: #fff;\n}\n.searchBlockContainer div[class*=\"vtex-input-prefix__group\"] > span > div > span[class*=\"c-link\"] svg{\n\tdisplay: none;\n}\n.teaserTitle {\n font-size: 1.5rem;\n}\n.teaserTitle > a {\n color: #404040;\n text-decoration: none;\n}\n.latestPostsBlockContainer{\n\tpadding-bottom: 40px;\n}\n.latestPostsBlockContainer .latestPostsBlockTitle{\n\tdisplay: none;\n}\n.latestPostsBlockContainer .latestPostsBlockFlex{\n\tmargin-top: 10px;\n}\n.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexFirstColumnItem{\n\twidth: 63%;\n}\n.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexFirstColumnItem > div[class*=\"vtex-card\"] > a .teaserImage{\n\twidth: 100%;\n}\n.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexFirstColumnItem > div[class*=\"vtex-card\"] > a .teaserGradientOverlay .teaserTextOverlay{\n\tborder-left: 4.5px solid #69b518;\n\tpadding-left: 20px;\n\tbottom: 12%;\n}\n.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexFirstColumnItem > div[class*=\"vtex-card\"] > a .teaserGradientOverlay .teaserTextOverlay .teaserTextOverlayTitle{\n\tfont-size: 35.3px;\n\tfont-weight: 500;\n\tmargin-top: 11px;\n}\n.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexFirstColumnItem > div[class*=\"vtex-card\"] > a .teaserGradientOverlay .teaserTextOverlay .teaserTextOverlayMeta{\n\tfont-size: 12.2px;\n\tcolor: #cccccc;\n\tmargin-bottom: 10px;\n}\n.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexFirstColumnItem > div[class*=\"vtex-card\"] > a .teaserGradientOverlay .teaserTextOverlay .teaserTextOverlayMeta a{\n\tcolor: #fff;\n}\n\n.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexSecondColumn{\n\twidth: 37%;\n}\n.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexSecondColumn .latestPostsBlockFlexSecondColumnItem{\n\tmargin: 0;\n}\n.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexSecondColumn .latestPostsBlockFlexSecondColumnItem :global(.relative){\n height: 220px;\n overflow: hidden;\n}\n.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexSecondColumn .latestPostsBlockFlexSecondColumnItem :global(.relative) img{\n\theight: auto;\n width: 100%;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexSecondColumn .latestPostsBlockFlexSecondColumnItem:first-child{\n\tmargin-bottom: 5px;\n}\n.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexSecondColumn > div > div[class*=\"vtex-card\"] > a{\n\toverflow: hidden;\n max-height: 213px;\n}\n.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexSecondColumn > div > div[class*=\"vtex-card\"] > a .teaserGradientOverlay .teaserTextOverlay{\n\tleft: 4%;\n\tbottom: 12%;\n}\n.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexSecondColumn > div > div[class*=\"vtex-card\"] > a .teaserGradientOverlay .teaserTextOverlay .teaserTextOverlayTitle{\n\tfont-size: 22px;\n font-weight: 500;\n\tline-height: normal;\n\tmargin-bottom: 5px;\n}\n.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexSecondColumn > div > div[class*=\"vtex-card\"] > a .teaserGradientOverlay .teaserTextOverlay .teaserTextOverlayMeta{\n\tfont-size: 12.2px;\n\tcolor: #cccccc;\n}\n.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexSecondColumn > div > div[class*=\"vtex-card\"] > a .teaserGradientOverlay .teaserTextOverlay .teaserTextOverlayMeta a{\n\tcolor: #fff;\n}\n\n.categoryBlockContainer{\n\tpadding-top: 0;\n}\n.categoryBlockContainer .categoryBlockTitle{\n\tfont-size: 36px;\n font-weight: 500;\n line-height: 1.14;\n text-align: center;\n color: #333;\n}\n.categoryBlockContainer .categoryBlockDescription{\n\tfont-family: \"Source Sans Pro\";\n font-size: 15px;\n line-height: 1.8;\n letter-spacing: -0.2px;\n color: #aaaaaa;\n max-width: 564px;\n margin: 25px auto 0;\n}\n.categoryBlockContainer .categoryBlockFlex{\n\tjustify-content: space-between;\n}\n.categoryBlockContainer .categoryBlockFlex .categoryBlockFlexItem{\n\tmax-width: 404px;\n\tpadding: 0;\n}\n.categoryBlockContainer .categoryBlockFlex .categoryBlockFlexItem div[class*=\"vtex-card\"]{\n\tdisplay: flex;\n\tflex-direction: column;\n\tbox-shadow: none!important;\n}\n.categoryBlockContainer .categoryBlockFlex .categoryBlockFlexItem div[class*=\"vtex-card\"] > h5{\n\torder: 3;\n\tpadding-top: 0;\n\tpadding-left: 0;\n\tcolor: #888888;\n\tfont-size: 12.2px;\n font-weight: normal;\n line-height: 2.16;\n}\n.categoryBlockContainer .categoryBlockFlex .categoryBlockFlexItem div[class*=\"vtex-card\"] > a{\n\torder: 1;\n}\n.categoryBlockContainer .categoryBlockFlex .categoryBlockFlexItem div[class*=\"vtex-card\"] > h3{\n\torder: 2;\n\tpadding-bottom: 0;\n\tpadding-left: 0;\n\tpadding-top: 10px;\n}\n.categoryBlockContainer .categoryBlockFlex .categoryBlockFlexItem div[class*=\"vtex-card\"] > h3 a div{\n\tfont-size: 18px;\n font-weight: 500;\n line-height: normal;\n color: #404040;\n}\n.categoryBlockContainer .categoryBlockLink button{\n\tbackground-color: #f7f7f7;\n border: none;\n border-radius: 0;\n}\n.categoryBlockContainer .categoryBlockLink button div{\n\tfont-size: 13px;\n line-height: normal;\n letter-spacing: -0.3px;\n color: #333;\n padding: 16px 0;\n}\n.breadcrumbContainer{\n\tpadding: 0;\n margin-top: 30px !important;\n margin-bottom: 35px !important;\n font-size: 14px;\n line-height: normal;\n text-align: left;\n color: #8c8c8c;\n}\n.breadcrumbContainer .breadcrumbHomeLink,\n.breadcrumbContainer .breadcrumbLink{\n\tcolor: #8c8c8c;\n\ttext-transform: capitalize;\n}\n.listTitle{\n\tfont-family: Poppins;\n\ttext-transform: capitalize;\n font-size: 41px;\n font-weight: 500;\n line-height: 1;\n text-align: left;\n color: #333;\n}\n/* .listTitle{\n\ttext-align: left;\n border-left: 4.5px solid #69b518;\n padding-left: 20px;\n font-size: 30px;\n font-weight: 500;\n line-height: 1.33;\n color: #333;\n} */\n\n.listContainer{\n\tpadding: 0;\n\tmax-width: 1280px !important;\n}\n.listContainer svg[class*=\"vtex__icon-spinner\"]{\n\tcolor: #69b518;\n}\n.listContainer > div:first-child{\n\tpadding: 0;\n}\n.listContainer > div:first-child > div > div:nth-child(1){\n\tmargin-right: 10px;\n}\n.listContainer > div:first-child > div > div:nth-child(2){\n\tmargin-left: 10px;\n}\n.listContainer > div:first-child > div > div:nth-child(1) > div[class*=\"vtex-dropdown\"] > label > div {\n border-color: #dedede;\n border-radius: 0;\n}\n.listContainer > div:first-child > div > div:nth-child(1) div[class*=\"vtex-dropdown__arrow\"]{\n\tcolor: #69b518;\n}\n.listContainer > div:first-child > div >:nth-child(2) button[class*=\"c-on-action-secondary\"]{\n\tcolor: #69b518;\n}\n.listContainer .listFlex{\n\tjustify-content: space-between;\n}\n.listContainer .listFlex .listFlexItem{\n\tpadding: 0;\n\tmax-width: 623px;\n}\n.listContainer .listFlex .listFlexItem > div{\n\tdisplay: flex;\n\tflex-direction: column;\n\tbox-shadow: none !important;\n}\n\n/* date */\n.listContainer .listFlex .listFlexItem > div > h5{\n\torder: 3;\n padding-left: 0;\n color: #888888;\n font-size: 12.2px;\n font-weight: normal;\n line-height: 2.16;\n\ttext-align: left;\n\tpadding: 0;\n}\n.listContainer .listFlex .listFlexItem > div > h5 a{\n\tcolor: #888888;\n}\n\n/* image */\n.listContainer .listFlex .listFlexItem > div > a{\n\torder: 1;\n}\n\n/* title */\n.listContainer .listFlex .listFlexItem > div > h3{\n\torder: 2;\n padding-left: 0;\n font-size: 18px;\n font-weight: 500;\n line-height: normal;\n\ttext-align: left;\n\tpadding-bottom: 0;\n color: #404040;\n}\n\n/* short description */\n.listContainer .listFlex .listFlexItem > div > div{\n\torder: 4;\n padding-left: 0;\n font-family: \"Source Sans Pro\";\n font-size: 14px;\n line-height: 1.64;\n letter-spacing: -0.1px;\n text-align: left;\n color: #555;\n\tmargin-top: 7px;\n\tpadding-bottom: 30px;\n}\n\n.postFlex{\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tpadding: 0;\n}\n.postFlex .postContainer{\n\twidth: 100%;\n\tfloat: right;\n\tpadding: 0;\n}\n.postFlex .postContainer .postTitle{\n\tmargin: 1px 0 0;\n font-size: 41px;\n font-weight: 500;\n line-height: 1;\n color: #333;\n}\n.postFlex .postContainer .postMeta,\n.postFlex .postContainer .postMeta a{\n\tcolor: #888888;\n text-transform: none;\n\tmargin: 5px 0 15px;\n font-size: 12.2px;\n line-height: 2.16;\n text-align: left;\n}\n.postFlex .postContainer > div:nth-child(3){\n\tpadding-bottom: 10px;\n}\n.postFlex .postContainer .postBody > div{\n\tfont-family: \"Source Sans Pro\";\n}\n.postFlex .postContainer .postBody > div h2,\n.postFlex .postContainer .postBody > div h3{\n\tfont-weight: bold;\n\tfont-size: 21px;\n\tmargin-bottom: 0;\n font-family: 'Poppins',sans-serif;\n}\n.postFlex .postContainer .postBody > div h4{\n font-size: 18px;\n\tfont-family: 'Poppins',sans-serif;\n\tmargin-bottom: 0;\n}\n.postFlex .postContainer .postBody > div ul li{\n\tfont-size: 18px;\n font-family: 'Poppins',sans-serif;\n line-height: 28px;\n}\n.postFlex .postContainer .postBody > div p{\n\tfont-size: 15px;\n font-weight: normal;\n font-style: normal;\n font-stretch: normal;\n line-height: 1.8;\n letter-spacing: -0.2px;\n\tcolor: #555;\n\tmargin-top: 9px;\n\tmargin-bottom: 25px;\n}\n.postFlex .postContainer .postBody > div p a{\n\tcolor: #555;\n\tfont-weight: normal;\n}\n.postFlex .postChildrenContainer{\n\twidth: 199px!important;\n min-width: 199px;\n margin-left: 79px;\n box-sizing: content-box;\n}\n.postFlex .postChildrenContainer .wordpressRelatedProducts > div[class*=\"vtex-shelf\"][class*=\"title\"]{\n\tfont-size: 30px;\n font-weight: 500;\n line-height: 1.33;\n letter-spacing: normal;\n text-align: center;\n\tcolor: #333;\n\tpadding: 0 0 10px;\n}\n.postFlex .postChildrenContainer .wordpressRelatedProducts ul{\n\tdisplay: flex;\n\tflex-direction: column;\n}\n.postFlex .postChildrenContainer .wordpressRelatedProducts ul li{\n\twidth: 100% !important;\n\tpadding: 0;\n}\n\n.postFlex .postChildrenContainer .wordpressRelatedProducts ul li div[class*=\"nameContainer\"] span{\n\tfont-size: 12.6px;\n font-weight: 500;\n line-height: 1.62;\n letter-spacing: .6px;\n color: #323232;\n}\n.postFlex .postChildrenContainer .wordpressRelatedProducts ul li div[class*=\"priceContainer\"],\n.postFlex .postChildrenContainer .wordpressRelatedProducts ul li div[class*=\"buyButtonContainer\"]{\n\tdisplay:none;\n}\n.postFlex .postBody figure{\n\tmargin: 0;\n}\n.postFlex .postBody figure iframe{\n\tmax-width: 100%;\n}\n.relatedPostsBlockContainer {\n\tmax-width: 96rem;\n\tmargin: auto;\n\tpadding: 0 20px;\n}\n.relatedPostsBlockContainer .relatedPostsBlockTitle{\n\tfont-size: 18px;\n font-weight: 500;\n color: #404040;\n margin-bottom: 13px;\n margin-top: 20px;\n text-align: center;\n font-family: Source Sans Pro;\n}\n.relatedPostsBlockContainer .relatedPostsBlockFlex {\n\tjustify-content: center;\n}\n.relatedPostsBlockContainer .relatedPostsBlockFlex .relatedPostsBlockFlexItem > div{\n\tdisplay: flex;\n\tflex-direction: column;\n\tfont-family: \"Source Sans Pro\";\n\tbackground-color: #f7f7f7;\n}\n.relatedPostsBlockContainer .relatedPostsBlockFlex .relatedPostsBlockFlexItem > div > h5{\n\torder: 3;\n\tpadding: 0px 1.5rem 5px;\n font-size: 12px;\n line-height: 2;\n text-align: left;\n color: #6e6e6e;\n font-weight: 500;\n}\n.relatedPostsBlockContainer .relatedPostsBlockFlex .relatedPostsBlockFlexItem > div > h5 a{\n\tdisplay: none;\n}\n.relatedPostsBlockContainer .relatedPostsBlockFlex .relatedPostsBlockFlexItem > div > a{\n\torder: 1;\n max-height: 220px;\n overflow: hidden;\n}\n.relatedPostsBlockContainer .relatedPostsBlockFlex .relatedPostsBlockFlexItem > div > h3{\n\torder: 2;\n padding-bottom: 0;\n font-size: 16px;\n font-weight: 500;\n line-height: 1.56;\n text-align: left;\n color: #333;\n font-family: \"Source Sans Pro\";\n}\n.relatedPostsBlockContainer .relatedPostsBlockFlex .relatedPostsBlockFlexItem > div > div{\n\torder: 4;\n font-size: 13px;\n line-height: 1.54;\n text-align: left;\n color: #666;\n}\n\n@media only screen and (max-width: 1340px) {\n\t.latestPostsBlockContainer,\n\t.categoryBlockContainer,\n\t.postContainer,\n\t.searchResultBlockContainer,\n\t.breadcrumbContainer,\n\t.listTitle,\n\t.listContainer,\n\t.postFlex{\n\t\tmax-width: 1140px;\n\t\tmargin: 0 auto;\n\t}\n\t.breadcrumbContainer{\n\t\tmargin-top: 30px !important;\n\t\tmargin-bottom: 35px !important;\n\t}\n\t.categoryBlockContainer .categoryBlockFlex .categoryBlockFlexItem{\n\t\tmax-width: 360px;\n\t}\n\t.listContainer .listFlex .listFlexItem{\n\t\tmax-width: 555px;\n\t}\n}\n@media only screen and (max-width: 1200px) {\n\t.latestPostsBlockContainer,\n\t.categoryBlockContainer,\n\t.postContainer,\n\t.searchResultBlockContainer,\n\t.breadcrumbContainer,\n\t.listTitle,\n\t.listContainer,\n\t.postFlex{\n\t\tmax-width: 960px;\n\t\tmargin: 0 auto;\n\t}\n\t.categoryBlockContainer .categoryBlockFlex .categoryBlockFlexItem{\n\t\tmax-width: 303px;\n\t}\n\t.listContainer .listFlex .listFlexItem{\n\t\tmax-width: 467px;\n\t}\n}\n@media only screen and (max-width: 1025px) {\n\t.searchBlockContainer {\n\t\tposition: absolute;\n\t\twidth: 260px;\n\t\tbottom: 0px;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, 0%);\n\t}\n\t.searchBlockContainer div[class*=\"vtex-input-prefix__group\"] > span{\n\t\tmargin-right: 0;\n\t}\n\t.latestPostsBlockContainer,\n\t.categoryBlockContainer,\n\t.postContainer,\n\t.searchResultBlockContainer,\n\t.breadcrumbContainer,\n\t.listTitle,\n\t.listContainer,\n\t.postFlex{\n\t\tmax-width: 800px;\n\t\tmargin: 0 auto;\n\t}\n\t.categoryBlockContainer .categoryBlockFlex .categoryBlockFlexItem{\n\t\tmax-width: 252px;\n\t}\n\t.listContainer .listFlex .listFlexItem{\n\t\tmax-width: 390px;\n\t}\n}\n@media only screen and (max-width: 860px) {\n\t.latestPostsBlockContainer,\n\t.categoryBlockContainer,\n\t.postContainer,\n\t.searchResultBlockContainer,\n\t.breadcrumbContainer,\n\t.listTitle,\n\t.listContainer,\n\t.postFlex{\n\t\tpadding: 5% 5% 0;\n\t}\n\t.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexFirstColumnItem{\n\t\twidth: 100%;\n\t}\n\t.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexSecondColumn{\n\t\twidth: 100%;\n\t}\n\t.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexSecondColumn > div > div[class*=\"vtex-card\"] > a{\n\t\toverflow: hidden;\n\t\tmax-height: 300px;\n\t}\n\t.breadcrumbContainer{\n\t\tmargin: 0 !important;\n\t}\n\t.categoryBlockContainer .categoryBlockFlex .categoryBlockFlexItem{\n\t\tmax-width: unset;\n \twidth: 100%;\n\t}\n\t.breadcrumbContainer{\n\t\tmargin: 15px 0;\n\t}\n\t.listContainer .listFlex .listFlexItem{\n\t\tmax-width: unset;\n\t}\n\t.postFlex .postContainer{\n\t\twidth: 65%;\n\t\tfloat: left;\n\t\tpadding: 0;\n\t\tmargin: 0;\n\t}\n\t.postFlex .postChildrenContainer{\n\t\tmargin-left: 0;\n\t}\n}\n@media only screen and (min-width: 631px) {\n\t.postFlex .postChildrenContainer .wordpressRelatedProducts ul{\n\t\twidth: 100% !important;\n\t\ttransform: none !important;\n\t}\n\t.postFlex .postChildrenContainer .wordpressRelatedProducts ul[class*='dotsContainer']{\n\t\tdisplay: none;\n\t}\n}\n@media only screen and (max-width: 630px) {\n\t.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexFirstColumnItem > div[class*=\"vtex-card\"] > a .teaserGradientOverlay .teaserTextOverlay .teaserTextOverlayTitle{\n\t\tfont-size: 25.3px;\n\t}\n\t.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexFirstColumnItem > div[class*=\"vtex-card\"] > a .teaserGradientOverlay .teaserTextOverlay .teaserTextOverlayMeta{\n\t\tfont-size: 12.2px;\n\t}\n\t.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexSecondColumn > div > div[class*=\"vtex-card\"] > a .teaserGradientOverlay .teaserTextOverlay .teaserTextOverlayTitle{\n\t\tfont-size:20px;\n\t}\n\t.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexSecondColumn > div > div[class*=\"vtex-card\"] > a .teaserGradientOverlay .teaserTextOverlay .teaserTextOverlayMeta{\n\t\tfont-size: 12.2px;\n\t}\n\t.postFlex{\n\t\tflex-direction: column;\n\t}\n\t.postFlex .postContainer{\n\t\twidth: 100%;\n\t}\n\t.postFlex .postChildrenContainer{\n\t\twidth: 100%!important;\n\t}\n\t.postFlex .postChildrenContainer .wordpressRelatedProducts ul{\n\t\tflex-direction: unset;\n\t}\n\t.postFlex .postChildrenContainer .wordpressRelatedProducts ul li{\n\t\twidth: inherit !important;\n\t\tpadding: 0;\n\t}\n}\n@media only screen and (max-width: 450px) {\n\t.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexFirstColumnItem > div[class*=\"vtex-card\"] > a .teaserGradientOverlay .teaserTextOverlay .teaserTextOverlayTitle{\n\t\tfont-size: 17.3px;\n\t}\n\t.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexFirstColumnItem > div[class*=\"vtex-card\"] > a .teaserGradientOverlay .teaserTextOverlay .teaserTextOverlayMeta{\n\t\tfont-size: 10.2px;\n\t}\n\t.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexSecondColumn > div > div[class*=\"vtex-card\"] > a .teaserGradientOverlay .teaserTextOverlay .teaserTextOverlayTitle{\n\t\tfont-size:15px;\n\t}\n\t.latestPostsBlockContainer .latestPostsBlockFlex .latestPostsBlockFlexSecondColumn > div > div[class*=\"vtex-card\"] > a .teaserGradientOverlay .teaserTextOverlay .teaserTextOverlayMeta{\n\t\tfont-size: 10.2px;\n\t}\n\t.relatedPostsBlockContainer {\n\t\tpadding: 0;\n\t}\n}\n```" } ]
code_wordpress-integration-qa-theme_88713e38
[ { "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 wordpress-integration-qa-theme/styles/css/vtex.store-footer.css from the wordpress-integration-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_wordpress-integration-qa-theme_3b01fbc6
[ { "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 wordpress-integration-qa-theme/styles/css/vtex.product-identifier.css from the wordpress-integration-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_wordpress-integration-qa-theme_fb0dc40d
[ { "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 wordpress-integration-qa-theme/styles/css/vtex.reviews-and-ratings.css from the wordpress-integration-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_wordpress-integration-qa-theme_b286a919
[ { "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 wordpress-integration-qa-theme/styles/css/vtex.product-highlights.css from the wordpress-integration-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_wordpress-integration-qa-theme_b783435d
[ { "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 wordpress-integration-qa-theme/styles/css/vtex.flex-layout.css from the wordpress-integration-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_wordpress-integration-qa-theme_868073b8
[ { "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 wordpress-integration-qa-theme/styles/css/vtex.carousel.css from the wordpress-integration-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_wordpress-integration-qa-theme_0aa0946a
[ { "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 wordpress-integration-qa-theme/styles/css/vtex.search-result.css from the wordpress-integration-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_wordpress-integration-qa-theme_704c02b4
[ { "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 wordpress-integration-qa-theme/styles/css/vtex.slider-layout.css from the wordpress-integration-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_wordpress-integration-qa-theme_42c38014
[ { "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 wordpress-integration-qa-theme/styles/css/vtex.stack-layout.css from the wordpress-integration-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_wordpress-integration-qa-theme_57354ac9
[ { "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 wordpress-integration-qa-theme/styles/configs/style.json from the wordpress-integration-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_wordpress-integration-qa-theme_3c3d32c0
[ { "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 wordpress-integration-qa-theme/styles/css/contact/vtex.flex-layout.css from the wordpress-integration-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_wordpress-integration-qa-theme_b302a4e3
[ { "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 wordpress-integration-qa-theme/styles/css/faq/vtex.flex-layout.css from the wordpress-integration-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_wordpress-integration-qa-theme_3f08a064
[ { "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 wordpress-integration-qa-theme/styles/css/faq/vtex.disclosure-layout.css from the wordpress-integration-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_wordpress-integration-qa-theme_d5bbb1b9
[ { "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 wordpress-integration-qa-theme/styles/css/search/vtex.rich-text.css from the wordpress-integration-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_wordpress-integration-qa-theme_5c68abf4
[ { "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 wordpress-integration-qa-theme/styles/css/search/vtex.product-summary.css from the wordpress-integration-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_wordpress-integration-qa-theme_4eef0213
[ { "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 wordpress-integration-qa-theme/styles/css/search/vtex.store-components.css from the wordpress-integration-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_wordpress-integration-qa-theme_9be9be1c
[ { "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 wordpress-integration-qa-theme/styles/css/search/vtex.flex-layout.css from the wordpress-integration-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_wordpress-integration-qa-theme_fd82aebb
[ { "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 wordpress-integration-qa-theme/styles/css/product-specification-table/vtex.flex-layout.css from the wordpress-integration-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_wordpress-integration-qa-theme_8119c405
[ { "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 wordpress-integration-qa-theme/styles/css/product-specification-table/vtex.product-specifications.css from the wordpress-integration-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_wordpress-integration-qa-theme_71b8bc40
[ { "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 wordpress-integration-qa-theme/store/blocks/about-us.json from the wordpress-integration-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"store.custom#about-us\": {\n \"blocks\": [\"flex-layout.row#about-us\", \"video#about-us\"]\n },\n\n \"flex-layout.row#about-us\": {\n \"children\": [\"image#mobile-phone\", \"flex-layout.col#text-about-us\"]\n },\n\n \"flex-layout.col#text-about-us\": {\n \"children\": [\"rich-text#title-about-us\", \"rich-text#about-us\"],\n \"props\": {\n \"blockclass\": \"textColumn\",\n \"preventVerticalStretch\": true\n }\n },\n\n \"rich-text#title-about-us\": {\n \"props\": {\n \"text\": \"# 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_wordpress-integration-qa-theme_2142f0bf
[ { "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 wordpress-integration-qa-theme/store/blocks/product-price.jsonc from the wordpress-integration-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_wordpress-integration-qa-theme_6ff932cd
[ { "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 wordpress-integration-qa-theme/store/blocks/minicart.jsonc from the wordpress-integration-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_wordpress-integration-qa-theme_d206a6f9
[ { "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 wordpress-integration-qa-theme/store/blocks/search.jsonc from the wordpress-integration-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 \"maxItemsPerPage\": 25,\n \"facetsBehavior\": \"Dynamic\"\n }\n }\n },\n \"store.search#brand\": {\n \"blocks\": [\"search-result-layout\"],\n \"props\": {\n \"context\": {\n \"maxItemsPerPage\": 25,\n \"facetsBehavior\": \"Dynamic\"\n }\n }\n },\n \"store.search#department\": {\n \"blocks\": [\"search-result-layout\"],\n \"props\": {\n \"context\": {\n \"maxItemsPerPage\": 25,\n \"facetsBehavior\": \"Dynamic\"\n }\n }\n },\n \"store.search#category\": {\n \"blocks\": [\"search-result-layout\"],\n \"props\": {\n \"context\": {\n \"maxItemsPerPage\": 25,\n \"facetsBehavior\": \"Dynamic\"\n }\n }\n },\n \"store.search#subcategory\": {\n \"blocks\": [\"search-result-layout\"],\n \"props\": {\n \"context\": {\n \"maxItemsPerPage\": 25,\n \"facetsBehavior\": \"Dynamic\"\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 \"flex-layout.row#banner-one\": {\n\t\t\"children\": [],\n\t\t\"props\": {\n\t\t\t\"fullWidth\": true,\n\t\t\t\"blockClass\": \"banner-one\"\n\t\t}\n\t},\n \"search-not-found-layout\": {\n \"children\": [\n \"info-card#not-found-banner\",\n \"flex-layout.row#continue-shopping\",\n \"flex-layout.row#shopByCategory\"\n ]\n },\n \"flex-layout.row#continue-shopping\": {\n \"children\": [\"flex-layout.col#continue-shopping-col\"]\n },\n \"flex-layout.col#continue-shopping-col\": {\n \"children\": [\"rich-text#continue-shopping-button\"]\n },\n \"rich-text#continue-shopping-button\": {\n \"props\": {\n \"text\": \"[Continue Shopping](/)\",\n \"textAlignment\": \"CENTER\",\n \"textPosition\": \"CENTER\",\n \"blockClass\": \"continueShoppingButton\"\n }\n },\n \"rich-text#emptySearch\": {\n \"title\": \"Text - Empty search\",\n \"props\": {\n \"textAlignment\": \"CENTER\",\n \"textPosition\": \"LEFT\",\n \"text\": \"<span></span><p class='emptySearchText'>The page you were looking for doesn't exist. <br> Return to homepage to get back to the action.</p><a class='emptySearchButton' href='/'>Go to the homepage</a>\",\n \"textColor\": \"c-on-base\",\n \"blockClass\": \"emptySearch\",\n \"font\": \"t-mini\"\n }\n },\n \"image#banner-collection\": {\n \"title\": \"banner-collection\",\n \"props\": {\n \"src\": \"\"\n }\n },\n \"image#banner-collection-mobile\": {\n \"title\": \"banner-collection-mobile\",\n \"props\": {\n \"src\": \"\"\n }\n },\n \"flex-layout.row#banner-collection\": {\n \"children\": [\"image#banner-collection\"],\n \"props\": {\n \"fullWidth\": true,\n \"blockClass\": \"banner-one\"\n }\n },\n \"flex-layout.row#banner-collection-mobile\": {\n \"children\": [\"image#banner-collection-mobile\"],\n \"props\": {\n \"fullWidth\": true,\n \"blockClass\": \"banner-one\"\n }\n },\n \"search-result-layout.desktop\": {\n \"children\": [\n \"flex-layout.row#banner-collection\",\n \"flex-layout.row#banner-one\",\n \"flex-layout.row#search-result-breadcrumb\",\n \"flex-layout.row#search-result-header-row\",\n \"tab-layout#search-result\"\n ],\n \"props\": {\n \"thresholdForFacetSearch\": 10,\n \"preventRouteChange\": true,\n \"showProductsCount\": true,\n \"showFacetQuantity\": true,\n \"hiddenFacets\": {\n \"layoutMode1\": \"normal\",\n \"layoutMode2\": \"small\",\n \"specificationFilters\": {\n \"hiddenFilters\": [\n {\n \"__editorItemTitle\": \"editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\"\n }\n ]\n }\n },\n \"summary\": {\n \"isOneClickBuy\": false,\n \"showBadge\": true,\n \"displayBuyButton\": \"displayButtonAlways\",\n \"showCollections\": false,\n \"labelListPrice\": null,\n \"labelSellingPrice\": null,\n \"showListPrice\": true,\n \"showLabels\": true,\n \"showInstallments\": false,\n \"showDiscountValue\": false,\n \"name\": {\n \"showBrandName\": false,\n \"showSku\": false,\n \"showProductReference\": false\n }\n },\n \"pagination\": \"show-more\"\n }\n },\n \"search-result-layout.mobile\": {\n \"children\": [\n \"flex-layout.row#search-header-mobile\",\n \"flex-layout.row#banner-collection-mobile\",\n \"tab-layout.search-mobile#search-result-mobile\"\n ],\n \"props\": {\n \"preventRouteChange\": true,\n \"thresholdForFacetSearch\": 10,\n \"showProductsCount\": true,\n \"showFacetQuantity\": true,\n \"hiddenFacets\": {\n \"layoutMode1\": \"normal\",\n \"layoutMode2\": \"small\",\n \"specificationFilters\": {\n \"hiddenFilters\": [\n {\n \"__editorItemTitle\": \"editor.search-result.hiddenFacets.specificationFilters.hiddenFilter\"\n }\n ]\n }\n },\n \"summary\": {\n \"isOneClickBuy\": false,\n \"showBadge\": true,\n \"displayBuyButton\": \"displayButtonAlways\",\n \"showCollections\": false,\n \"labelListPrice\": null,\n \"labelSellingPrice\": null,\n \"showListPrice\": true,\n \"showLabels\": true,\n \"showInstallments\": false,\n \"showDiscountValue\": false,\n \"name\": {\n \"showBrandName\": false,\n \"showSku\": false,\n \"showProductReference\": false\n }\n },\n \"pagination\": \"show-more\"\n }\n },\n \"flex-layout.row#search-header-mobile\": {\n \"children\": [\"total-products.v2\", \"search-title.v2\"],\n \"props\": {\n \"blockClass\": \"search-header-mobile\"\n }\n },\n \"filter-navigator.v3\": {\n \"blocks\": [\"sidebar-close-button\"],\n \"props\": {\n \"initiallyCollapsed\": true,\n \"truncateFilters\": true,\n \"showClearByFilter\": true,\n \"fullWidthOnMobile\": true,\n \"navigationTypeOnMobile\": \"collapsible\",\n \"appliedFiltersOverview\": \"show\",\n \"totalProductsOnMobile\": \"show\",\n \"updateOnFilterSelectionOnMobile\": true,\n \"priceRangeLayout\": \"inputAndSlider\",\n \"scrollToTop\": \"smooth\",\n \"facetOrdering\": [\n {\n \"key\": \"brand\",\n \"orderBy\": \"name\",\n \"order\": \"ASC\"\n },\n {\n \"key\": \"team\",\n \"orderBy\": \"name\",\n \"order\": \"ASC\"\n }\n ]\n }\n },\n \"flex-layout.row#filter-row-mobile\": {\n \"children\": [\"filter-navigator.v3\"],\n \"props\": {\n \"blockClass\": \"search-result-filter-mobile\"\n }\n },\n \"flex-layout.row#search-result-breadcrumb\": {\n \"children\": [\"breadcrumb.search\"],\n \"props\": {\n \"blockClass\": \"search-result-breadcrumb\"\n }\n },\n \"flex-layout.row#search-result-header-row\": {\n \"children\": [\"total-products.v2\", \"search-title.v2\", \"order-by.v2\"],\n \"props\": {\n \"blockClass\": \"search-result-header-row\"\n }\n },\n \"flex-layout.row#search-result-row\": {\n \"children\": [\n \"flex-layout.col.search#side-bar\",\n \"flex-layout.col.search-content#main-content\"\n ],\n \"props\": {\n \"blockClass\": \"search-result-row\",\n \"colSizing\": \"auto\"\n }\n },\n \"flex-layout.col.search#side-bar\": {\n \"children\": [\"flex-layout.row#talkToExpertBanner\", \"filter-navigator.v3\"],\n \"props\": {\n \"blockClass\": \"sidebar-col\",\n \"preventVerticalStretch\": true\n }\n },\n \"flex-layout.row#talkToExpertBanner\": {\n \"children\": [\"flex-layout.col#talkToExpertBanner\"]\n },\n \"flex-layout.col#talkToExpertBanner\": {\n \"children\": [\n \"flex-layout.row#talkToExpertBanner__top\",\n \"flex-layout.row#talkToExpertBanner__links\"\n ]\n },\n \"flex-layout.row#talkToExpertBanner__top\": {\n \"children\": [\n \"image#talkToExpertBanner__img\",\n \"rich-text#talkToExpertBanner__text\"\n ],\n \"props\": {\n \"blockClass\": \"talkToExpertBanner__top\"\n }\n },\n \"image#talkToExpertBanner__img\": {\n \"props\": {\n \"src\": \"/arquivos/expert-img.png\",\n \"maxHeight\": \"56px\",\n \"alt\": \"Talk to an Expert\"\n }\n },\n \"rich-text#talkToExpertBanner__text\": {\n \"props\": {\n \"blockClass\": \"talkToExpertBanner__text\",\n \"text\": \"### Talk to an Expert\\nAsk Us Anything, Anytime.\"\n }\n },\n \"flex-layout.row#talkToExpertBanner__links\": {\n \"children\": [\"rich-text#talkToExpertBanner__links\"]\n },\n \"rich-text#talkToExpertBanner__links\": {\n \"props\": {\n \"blockClass\": \"talkToExpertBanner__links\",\n \"text\": \"[Email](mailto:support@rdgolf.com) [1-888-216-5252](tel:+18882165252)\"\n }\n },\n \"flex-layout.col.search-content#main-content\": {\n \"children\": [\n \"search-fetch-previous\",\n \"search-content\",\n \"search-fetch-more\",\n \"search-products-count-per-page\"\n ],\n \"props\": {\n \"blockClass\": \"main-content-col\"\n }\n },\n \"gallery\": {\n \"props\": {\n \"mobileLayoutMode\": \"small\"\n },\n \"blocks\": [\"product-summary.shelf#search\"]\n },\n \"product-summary.shelf#search\": {\n \"children\": [\n \"product-summary-add-to-list-button\",\n \"stack-layout#Product-summary\",\n \"product-summary-sku-selector#search\",\n \"product-summary-name#search\",\n \"product-summary-buy-button\"\n ],\n \"props\": {\n \"blockClass\": \"search\"\n }\n },\n \"product-summary-name#search\": {\n \"props\": {\n \"blockClass\": \"search\",\n \"tag\": \"h2\"\n }\n },\n \"product-summary-sku-selector#search\": {\n \"props\": {\n \"initialSelection\": \"empty\",\n \"visibleVariations\": [\"color\"],\n \"displayMode\": \"slider\",\n \"visibility\": \"more-than-one\",\n \"sliderItemsPerPage\": {\n \"desktop\": 3,\n \"phone\": 3\n }\n }\n },\n \"vtex.product-highlights:product-highlights#greyProdMsg\": {\n \"props\": {\n \"showHighlight\": true,\n \"blockClass\": \"greyProdMessage\",\n \"conditional\": {\n \"highlight\": \"admin/editor.product-details.highlights.chooseDefaultSpecification\",\n \"typeSpecifications\": \"grey_prod_msg\"\n }\n }\n },\n \"product-summary-price#search\": {\n \"props\": {\n \"blockClass\": \"search\",\n \"showSavings\": true,\n \"showListPrice\": true,\n \"labelListPrice\": \"\",\n \"labelSellingPrice\": false,\n \"showSellingPriceRange\": true,\n \"showListPriceRange\": true,\n \"showLabels\": false,\n \"showInstallments\": true\n }\n },\n \"stack-layout#Product-summary\": {\n \"children\": [\n \"product-summary-image\"\n ],\n \"props\": {\n \"blockClass\": \"search-badges\"\n }\n },\n \"product-summary-image\": {\n \"props\": {\n \"mainImageLabel\": \"hero\"\n }\n },\n \"tab-layout#search-result\": {\n \"children\": [\n \"tab-list.tabContainer#search-result\",\n \"tab-content.search-result#search-result\"\n ],\n \"props\": {\n \"blockClass\": \"search-tabs\"\n }\n },\n \"tab-list.tabContainer#search-result\": {\n \"children\": [\"flex-layout.row#tabContainer\"]\n },\n \"tab-list.item#products\": {\n \"title\": \"Tab item - Products\",\n \"props\": {\n \"tabId\": \"search-products\",\n \"label\": \"Products\",\n \"defaultActiveTab\": true\n }\n },\n \"tab-list.item#articles\": {\n \"title\": \"Tab item - Articles\",\n \"props\": {\n \"tabId\": \"search-articles\",\n \"label\": \"Articles\"\n }\n },\n \"tab-content.search-result#search-result\": {\n \"children\": [\"tab-content.item.products\", \"tab-content.item.article\"]\n },\n \"tab-content.item.products\": {\n \"children\": [\"flex-layout.row#search-result-row\"],\n \"props\": {\n \"tabId\": \"search-products\"\n }\n },\n \"tab-content.item.article\": {\n \"children\": [\"search-blog-articles-list.wordpress\"],\n \"props\": {\n \"tabId\": \"search-articles\"\n }\n },\n \"flex-layout.row#tabContainer\": {\n \"children\": [\"tab-list.item#products\", \"tab-list.item#articles\"],\n \"props\": {\n \"blockClass\": \"tabContainer\"\n }\n },\n \"flex-layout.row#tabContainerMobile\": {\n \"children\": [\"tab-list.item#products\", \"tab-list.item#articles\"],\n \"props\": {\n \"colSizing\": \"auto\",\n \"blockClass\": \"tabContainerMobile\"\n }\n },\n \"tab-layout.search-mobile#search-result-mobile\": {\n \"children\": [\n \"tab-list.tabContainer#search-result-mobile\",\n \"tab-content.search-result#search-result-mobile\"\n ],\n \"props\": {\n \"blockClass\": \"search-tabs-mobile\"\n }\n },\n \"tab-content.search-result#search-result-mobile\": {\n \"children\": [\"tab-content.item.products#mobile\", \"tab-content.item.article\"]\n },\n \"tab-list.tabContainer#search-result-mobile\": {\n \"children\": [\"flex-layout.row#tabContainerMobile\"]\n },\n \"tab-content.item.products#mobile\": {\n \"children\": [\n \"order-by.v2\",\n \"filter-navigator.v3\",\n \"search-content\",\n \"search-fetch-more\",\n \"search-products-count-per-page\"\n ],\n \"props\": {\n \"tabId\": \"search-products\"\n }\n },\n \"order-by.v2\": {\n \"props\": {\n \"hiddenOptions\": [\"OrderByBestDiscountDESC\"]\n }\n },\n \"flex-layout.row#search-result-mobile\": {\n \"children\": [\n \"filter-navigator.v3\",\n \"search-content\",\n \"search-fetch-more\",\n \"search-products-count-per-page\"\n ],\n \"props\": {\n \"blockClass\": \"search-result-row-mobile\",\n \"colSizing\": \"auto\"\n }\n },\n \"search-fetch-more\": {\n \"props\": {\n \"htmlElementForButton\": \"a\"\n }\n },\n \"search-fetch-previous\": {\n \"props\": {\n \"htmlElementForButton\": \"a\"\n }\n },\n \"search-content\": {\n \"blocks\": [\"gallery\", \"not-found\"]\n }\n}\n\n```" } ]
code_wordpress-integration-qa-theme_e33137ea
[ { "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 wordpress-integration-qa-theme/store/blocks/contact.jsonc from the wordpress-integration-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_wordpress-integration-qa-theme_b28c3f49
[ { "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 wordpress-integration-qa-theme/store/blocks/orderplaced.jsonc from the wordpress-integration-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_wordpress-integration-qa-theme_decd950e
[ { "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 wordpress-integration-qa-theme/store/blocks/faq.jsonc from the wordpress-integration-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_wordpress-integration-qa-theme_1facf7d1
[ { "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 wordpress-integration-qa-theme/store/blocks/home/home.jsonc from the wordpress-integration-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_wordpress-integration-qa-theme_c0d2f230
[ { "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 wordpress-integration-qa-theme/store/blocks/home/deals.json from the wordpress-integration-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_wordpress-integration-qa-theme_4d00e79a
[ { "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 wordpress-integration-qa-theme/store/blocks/footer/footer.json from the wordpress-integration-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_wordpress-integration-qa-theme_b7f03625
[ { "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 wordpress-integration-qa-theme/store/blocks/footer/menu.json from the wordpress-integration-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_wordpress-integration-qa-theme_4da24994
[ { "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 wordpress-integration-qa-theme/store/blocks/product-summary/product-summary.jsonc from the wordpress-integration-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: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: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_wordpress-integration-qa-theme_df0358cf
[ { "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 wordpress-integration-qa-theme/store/blocks/product-summary/quickview.json from the wordpress-integration-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_wordpress-integration-qa-theme_3b5e27e0
[ { "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 wordpress-integration-qa-theme/store/blocks/product-summary/product-summary-list.jsonc from the wordpress-integration-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: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: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_wordpress-integration-qa-theme_1faa3cd0
[ { "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 wordpress-integration-qa-theme/store/blocks/product-summary/product-specification-list.jsonc from the wordpress-integration-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_wordpress-integration-qa-theme_0ea60b9d
[ { "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 wordpress-integration-qa-theme/store/blocks/product-page/product-page.jsonc from the wordpress-integration-qa-theme VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n\t\"store.not-found#product\": {\n \"blocks\": [\n \"info-card#not-found-banner\",\n \"flex-layout.row#continue-shopping\",\n \"flex-layout.row#shopByCategory\"\n ]\n },\n \"info-card#not-found-banner\": {\n \"props\": {\n \"id\": \"info-card-not-found-banner\",\n \"isFullModeStyle\": true,\n \"textPosition\": \"center\",\n \"imageUrl\": \"https://worldwidegolf.vteximg.com.br/arquivos/404-correct.jpg\",\n \"headline\": \"Oops! You've landed in the bunker.\",\n \"subhead\": \"The page you were looking for does not exist.\",\n \"callToActionMode\": \"none\",\n \"blockClass\": \"notFoundInfoCard\"\n }\n },\n \"flex-layout.row#shopByCategory\": {\n\t\t\"title\": \"Row - Shop by category\",\n\t\t\"children\": [\n\t\t\t\"flex-layout.col#shopByCategory__card1\",\n\t\t\t\"flex-layout.col#shopByCategory__card2\",\n\t\t\t\"flex-layout.col#shopByCategory__card3\",\n\t\t\t\"flex-layout.col#shopByCategory__card4\",\n\t\t\t\"flex-layout.col#shopByCategory__card5\",\n\t\t\t\"flex-layout.col#shopByCategory__card6\",\n\t\t\t\"flex-layout.col#shopByCategory__card7\",\n\t\t\t\"flex-layout.col#shopByCategory__card8\"\n\t\t],\n\t\t\"props\": {\n\t\t\t\"blockClass\": \"linksCategoryContainer\",\n\t\t\t\"marginTop\": 2\n\t\t}\n\t},\n\n\t//? Card1\n\t\"flex-layout.col#shopByCategory__card1\": {\n\t\t\"children\": [\"image#card1\", \"rich-text#shopByCategory__text1\"],\n\t\t\"props\": {\n\t\t\t\"blockClass\": [\"shopByCategory__card\"],\n\t\t\t\"preventVerticalStretch\": true\n\t\t}\n\t},\n\t\"image#card1\": {\n\t\t\"props\": {\n\t\t\t\"blockClass\": \"shopByCategory__image\",\n\t\t\t\"link\": { \"url\": \"/golf-clubs\" },\n\t\t\t\"src\": \"/arquivos/1-chubs.jpg\",\n\t\t\t\"maxWidth\": \"88px\"\n\t\t}\n\t},\n\t\"rich-text#shopByCategory__text1\": {\n\t\t\"props\": {\n\t\t\t\"blockClass\": \"shopByCategory__text\",\n\t\t\t\"text\": \"[Clubs](/golf-clubs)\",\n\t\t\t\"textPosition\": \"CENTER\"\n\t\t}\n\t},\n\t//? Card2\n\t\"flex-layout.col#shopByCategory__card2\": {\n\t\t\"children\": [\"image#card2\", \"rich-text#shopByCategory__text2\"],\n\t\t\"props\": {\n\t\t\t\"blockClass\": [\"shopByCategory__card\"],\n\t\t\t\"preventVerticalStretch\": true\n\t\t}\n\t},\n\t\"image#card2\": {\n\t\t\"props\": {\n\t\t\t\"blockClass\": \"shopByCategory__image\",\n\t\t\t\"link\": { \"url\": \"/shoes\" },\n\t\t\t\"src\": \"/arquivos/2-shoes.jpg\",\n\t\t\t\"maxWidth\": \"88px\"\n\t\t}\n\t},\n\n\t\"rich-text#shopByCategory__text2\": {\n\t\t\"props\": {\n\t\t\t\"blockClass\": \"shopByCategory__text\",\n\t\t\t\"text\": \"[Shoes](/shoes)\",\n\t\t\t\"textPosition\": \"CENTER\"\n\t\t}\n\t},\n\t//? Card3\n\t\"flex-layout.col#shopByCategory__card3\": {\n\t\t\"children\": [\"image#card3\", \"rich-text#shopByCategory__text3\"],\n\t\t\"props\": {\n\t\t\t\"blockClass\": [\"shopByCategory__card\"],\n\t\t\t\"preventVerticalStretch\": true\n\t\t}\n\t},\n\t\"image#card3\": {\n\t\t\"props\": {\n\t\t\t\"blockClass\": \"shopByCategory__image\",\n\t\t\t\"link\": { \"url\": \"/apparel\" },\n\t\t\t\"src\": \"/arquivos/3-apparel.jpg\",\n\t\t\t\"maxWidth\": \"88px\"\n\t\t}\n\t},\n\n\t\"rich-text#shopByCategory__text3\": {\n\t\t\"props\": {\n\t\t\t\"blockClass\": \"shopByCategory__text\",\n\t\t\t\"text\": \"[Apparel](/apparel)\",\n\t\t\t\"textPosition\": \"CENTER\"\n\t\t}\n\t},\n\t//? Card4\n\t\"flex-layout.col#shopByCategory__card4\": {\n\t\t\"children\": [\"image#card4\", \"rich-text#shopByCategory__text4\"],\n\t\t\"props\": {\n\t\t\t\"blockClass\": [\"shopByCategory__card\"],\n\t\t\t\"preventVerticalStretch\": true\n\t\t}\n\t},\n\t\"image#card4\": {\n\t\t\"props\": {\n\t\t\t\"blockClass\": \"shopByCategory__image\",\n\t\t\t\"link\": { \"url\": \"/gps---tech\" },\n\t\t\t\"src\": \"/arquivos/4-gpsTech.jpg\",\n\t\t\t\"maxWidth\": \"88px\"\n\t\t}\n\t},\n\n\t\"rich-text#shopByCategory__text4\": {\n\t\t\"props\": {\n\t\t\t\"blockClass\": \"shopByCategory__text\",\n\t\t\t\"text\": \"[GPS & Tech](/gps---tech)\",\n\t\t\t\"textPosition\": \"CENTER\"\n\t\t}\n\t},\n\t//? Card5\n\t\"flex-layout.col#shopByCategory__card5\": {\n\t\t\"children\": [\"image#card5\", \"rich-text#shopByCategory__text5\"],\n\t\t\"props\": {\n\t\t\t\"blockClass\": [\"shopByCategory__card\"],\n\t\t\t\"preventVerticalStretch\": true\n\t\t}\n\t},\n\t\"image#card5\": {\n\t\t\"props\": {\n\t\t\t\"blockClass\": \"shopByCategory__image\",\n\t\t\t\"link\": { \"url\": \"/golf-balls\" },\n\t\t\t\"src\": \"/arquivos/5-balls.jpg\",\n\t\t\t\"maxWidth\": \"88px\"\n\t\t}\n\t},\n\n\t\"rich-text#shopByCategory__text5\": {\n\t\t\"props\": {\n\t\t\t\"blockClass\": \"shopByCategory__text\",\n\t\t\t\"text\": \"[Balls](/golf-balls)\",\n\t\t\t\"textPosition\": \"CENTER\"\n\t\t}\n\t},\n\t//? Card6\n\t\"flex-layout.col#shopByCategory__card6\": {\n\t\t\"children\": [\"image#card6\", \"rich-text#shopByCategory__text6\"],\n\t\t\"props\": {\n\t\t\t\"blockClass\": [\"shopByCategory__card\"],\n\t\t\t\"preventVerticalStretch\": true\n\t\t}\n\t},\n\t\"image#card6\": {\n\t\t\"props\": {\n\t\t\t\"blockClass\": \"shopByCategory__image\",\n\t\t\t\"link\": { \"url\": \"/bags-carts-travel\" },\n\t\t\t\"src\": \"/arquivos/6-bagsCarts.jpg\",\n\t\t\t\"maxWidth\": \"88px\"\n\t\t}\n\t},\n\n\t\"rich-text#shopByCategory__text6\": {\n\t\t\"props\": {\n\t\t\t\"blockClass\": \"shopByCategory__text\",\n\t\t\t\"text\": \"[Bags & Carts](/bags-carts-travel)\",\n\t\t\t\"textPosition\": \"CENTER\"\n\t\t}\n\t},\n\t//? Card7\n\t\"flex-layout.col#shopByCategory__card7\": {\n\t\t\"children\": [\"image#card7\", \"rich-text#shopByCategory__text7\"],\n\t\t\"props\": {\n\t\t\t\"blockClass\": [\"shopByCategory__card\"],\n\t\t\t\"preventVerticalStretch\": true\n\t\t}\n\t},\n\t\"image#card7\": {\n\t\t\"props\": {\n\t\t\t\"blockClass\": \"shopByCategory__image\",\n\t\t\t\"link\": { \"url\": \"/accessories\" },\n\t\t\t\"src\": \"/arquivos/7-accessories.jpg\",\n\t\t\t\"maxWidth\": \"88px\"\n\t\t}\n\t},\n\n\t\"rich-text#shopByCategory__text7\": {\n\t\t\"props\": {\n\t\t\t\"blockClass\": \"shopByCategory__text\",\n\t\t\t\"text\": \"[Accesories](/accessories)\",\n\t\t\t\"textPosition\": \"CENTER\"\n\t\t}\n\t},\n\t//? Card8\n\t\"flex-layout.col#shopByCategory__card8\": {\n\t\t\"children\": [\"image#card8\", \"rich-text#shopByCategory__text8\"],\n\t\t\"props\": {\n\t\t\t\"blockClass\": [\n\t\t\t\t\"shopByCategory__card\",\n\t\t\t\t\"shopByCategory__card--highlighted\"\n\t\t\t],\n\t\t\t\"preventVerticalStretch\": true\n\t\t}\n\t},\n\t\"image#card8\": {\n\t\t\"props\": {\n\t\t\t\"blockClass\": \"shopByCategory__image\",\n\t\t\t\"link\": { \"url\": \"/yes/?map=promotion\" },\n\t\t\t\"src\": \"/arquivos/8-sale.png\",\n\t\t\t\"maxWidth\": \"88px\"\n\t\t}\n\t},\n\n\t\"rich-text#shopByCategory__text8\": {\n\t\t\"props\": {\n\t\t\t\"blockClass\": [\n\t\t\t\t\"shopByCategory__text\",\n\t\t\t\t\"shopByCategory__text--highlighted\"\n\t\t\t],\n\t\t\t\"text\": \"[Sale](/yes/?map=promotion)\",\n\t\t\t\"textPosition\": \"CENTER\"\n\t\t}\n\t}\n}\n\n```" } ]
code_wordpress-integration-qa-theme_ddc75df8
[ { "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 wordpress-integration-qa-theme/store/blocks/pdp/product-assembly.jsonc from the wordpress-integration-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_wordpress-integration-qa-theme_3ff9d9bf
[ { "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 wordpress-integration-qa-theme/store/blocks/pdp/product-gifts.jsonc from the wordpress-integration-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_wordpress-integration-qa-theme_0ff253aa
[ { "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 wordpress-integration-qa-theme/store/blocks/pdp/product.jsonc from the wordpress-integration-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 \"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 },\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_wordpress-integration-qa-theme_c0470e29
[ { "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 wordpress-integration-qa-theme/store/blocks/pdp/product-specifications-table.jsonc from the wordpress-integration-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_wordpress-integration-qa-theme_3296c4dd
[ { "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 wordpress-integration-qa-theme/store/blocks/header/category-menu.json from the wordpress-integration-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 \"menu-item#blog\"\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\": [\"vtex.menu@2.x:submenu#category-apparel\"]\n },\n \"vtex.menu@2.x:submenu#category-apparel\": {\n \"props\": {\n \"width\": \"auto\"\n },\n \"children\": [\"vtex.menu@2.x:menu#category-apparel\"]\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#blog\": {\n \"props\": {\n \"id\": \"menu-item-blog\",\n \"type\": \"custom\",\n \"iconId\": null,\n \"highlight\": false,\n \"itemProps\": {\n \"type\": \"internal\",\n \"href\": \"/blog/\",\n \"noFollow\": false,\n \"tagTitle\": \"Blog\",\n \"text\": \"Blog\"\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\": [\"vtex.menu@2.x:submenu#more\"]\n },\n \"vtex.menu@2.x:submenu#more\": {\n \"props\": {\n \"width\": \"100%\"\n },\n \"children\": [\"flex-layout.row#menu-more\"]\n },\n \"flex-layout.row#menu-more\": {\n \"children\": [\"flex-layout.col#menu-more-1\", \"flex-layout.col#menu-more-2\"]\n },\n \"flex-layout.col#menu-more-1\": {\n \"children\": [\"vtex.menu@2.x:menu#more\"]\n },\n \"flex-layout.col#menu-more-2\": {\n \"children\": [\"info-card#home\"]\n },\n \"vtex.menu@2.x:menu#more\": {\n \"props\": {\n \"orientation\": \"vertical\"\n },\n \"children\": [\"menu-item#about-us\", \"menu-item#faq\"]\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_wordpress-integration-qa-theme_7fb3a17b
[ { "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 wordpress-integration-qa-theme/store/blocks/header/header.jsonc from the wordpress-integration-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_wordpress-integration-qa-theme_eb817b5e
[ { "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 wordpress-integration-qa-theme/store/blocks/header/top-menu.json from the wordpress-integration-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_percycle_b798c392
[ { "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 percycle/docs/README.md from the percycle VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\n# Percycle\n\n**We convert experiences into results**\nOur intelligence creates relevant shopping experiences for every consumer throughout their brand interaction journey. You will be able to attract, engage and reengage customers in a manner consistent with each other's goals, offering what they want when they need it.\nFor more information please visit, [Percycle](https://www.linx.com.br/) website.\n\n## App Installation\nOpen the VTEX APP Store and install the Percycle app on your store.\n\nor\n\nRun the following command:\n\n```sh\nvtex install vtex.percycle@0.x\n```\n\nNext, open the app settings on your admin and fill the form with your Percycle information.\n```" } ]
code_percycle_2d45d852
[ { "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 percycle/react/index.tsx from the percycle VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport { PixelMessage } from \"./typings/events\";\nimport { canUseDOM } from \"vtex.render-runtime\";\n\nfunction handleMessages(e: PixelMessage) {\n const { storeName } = window\n\n if (e.data.eventName === 'vtex:orderPlaced') {\n const percycleScript = document.createElement('script');\n percycleScript.setAttribute('src', `//static.percycle.com/${storeName}/c.js`);\n percycleScript.setAttribute('async', 'async');\n percycleScript.setAttribute('defer', 'defer');\n document.getElementsByTagName('body')[0].appendChild(percycleScript);\n }\n}\n\nif (canUseDOM) {\n window.addEventListener(\"message\", handleMessages);\n}\n\n```" } ]
code_percycle_59e9a40f
[ { "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 percycle/react/package.json from the percycle VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"scripts\": {\n \"test\": \"vtex-test-tools test\"\n },\n \"dependencies\": {\n \"ramda\": \"^0.26.1\"\n },\n \"devDependencies\": {\n \"@types/graphql\": \"^14.2.0\",\n \"@types/jest\": \"^24.0.11\",\n \"@types/node\": \"^11.13.0\",\n \"@types/ramda\": \"^0.26.5\",\n \"@vtex/test-tools\": \"^1.1.0\",\n \"eslint\": \"^5.16.0\",\n \"eslint-config-vtex-react\": \"^4.1.0\",\n \"prettier\": \"^1.18.2\",\n \"tslint-eslint-rules\": \"^5.4.0\",\n \"typescript\": \"3.5.2\"\n },\n \"version\": \"0.0.2\"\n}\n\n```" } ]
code_percycle_2eec08c7
[ { "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 percycle/store/interfaces.json from the percycle VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```json\n{\n \"pixel.percycle\": {\n \"component\": \"index\"\n }\n}\n\n```" } ]
code_percycle_56351b61
[ { "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 percycle/react/typings/events.d.ts from the percycle VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\nexport interface PixelMessage extends MessageEvent {\n data:\n | ProductViewData\n | ProductClickData\n | OrderPlacedData\n | PageViewData\n | ProductImpressionData\n | AddToCartData\n | RemoveToCartData\n}\n\nexport interface EventData {\n event: string\n eventName: string\n currency: string\n}\n\nexport interface PageViewData extends EventData {\n event: 'pageView'\n eventName: 'vtex:pageView'\n pageTitle: string\n pageUrl: string\n referrer: string\n}\n\nexport interface AddToCartData extends EventData {\n event: 'addToCart'\n eventName: 'vtex:addToCart'\n items: CartItem[]\n}\n\nexport interface RemoveToCartData extends EventData {\n event: 'removeFromCart'\n eventName: 'vtex:removeFromCart'\n items: CartItem[]\n}\n\nexport interface OrderPlacedData extends Order, EventData {\n event: 'orderPlaced'\n eventName: 'vtex:orderPlaced'\n}\n\nexport interface ProductViewData extends EventData {\n event: 'productView'\n eventName: 'vtex:productView'\n product: Product\n}\n\nexport interface ProductClickData extends EventData {\n event: 'productClick'\n eventName: 'vtex:productClick'\n product: Product\n}\n\nexport interface ProductImpressionData extends EventData {\n event: 'productImpression'\n eventName: 'vtex:productImpression'\n impressions: Impression[]\n product?: Product // deprecated, use impressions list!\n position?: number // deprecated, use impressions list!\n list: string\n}\n\ninterface CartItem {\n skuId: string\n variant: string\n price: number\n name: string\n quantity: number\n productRefId: string\n brand: string\n category: string\n}\n\nexport interface Order {\n currency: string\n accountName: string\n orderGroup: string\n salesChannel: string\n coupon: string\n visitorType: string\n visitorContactInfo: string[]\n visitorAddressState: string\n visitorAddressCountry: string\n visitorAddressPostalCode: string\n transactionId: string\n transactionDate: string\n transactionAffiliation: string\n transactionTotal: number\n transactionShipping: number\n transactionSubtotal: number\n transactionDiscounts: number\n transactionTax: number\n transactionCurrency: string\n transactionPaymentType: PaymentType[]\n transactionShippingMethod: ShippingMethod[]\n transactionProducts: ProductOrder[]\n transactionPayment: {\n id: string\n }\n}\n\nexport interface Impression {\n product: Product\n position: number\n}\n\ninterface PaymentType {\n group: string\n paymentSystemName: string\n installments: number\n value: number\n}\n\ninterface ShippingMethod {\n itemId: string\n selectedSla: string\n}\n\ninterface ProductOrder {\n id: string\n name: string\n sku: string\n skuRefId: string\n skuName: string\n productRefId: string\n ean: string\n slug: string\n brand: string\n brandId: string\n seller: string\n sellerId: string\n category: string\n categoryId: string\n categoryTree: string[]\n categoryIdTree: string[]\n priceTags: PriceTag[]\n originalPrice: number\n price: number\n sellingPrice: number\n tax: number\n quantity: number\n components: any[]\n measurementUnit: string\n unitMultiplier: number\n}\n\ninterface PriceTag {\n identifier: string\n isPercentual: boolean\n value: number\n}\n\ninterface Product {\n brand: string\n categoryId?: string // inconsistency\n categories: string[]\n productId: string\n productName: string\n selectedSku?: string // inconsistency\n items: Item[]\n sku: Item\n [key: string]: any\n}\n\ninterface Item {\n itemId: string\n name: string\n seller?: Seller\n [key: string]: any\n}\n\ninterface Seller {\n commertialOffer: CommertialOffer\n [key: string]: any\n}\n\ninterface CommertialOffer {\n Price: number\n [key: string]: any\n}\n\n```" } ]
code_percycle_01dc3a0f
[ { "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 percycle/react/typings/vtex.render-runtime.d.ts from the percycle VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ndeclare module 'vtex.render-runtime' {\n export const canUseDOM: boolean\n}\n\n```" } ]
code_percycle_7c288731
[ { "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 percycle/react/typings/global.d.ts from the percycle VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```typescript\ninterface Window extends Window {\n storeName:any\n}\n\n```" } ]
code_store-icons_8f4b1347
[ { "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 store-icons/docs/README.md from the store-icons VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```markdown\nπŸ“’ Use this project, [contribute](https://github.com/vtex-apps/store-icons) to it or open issues to help evolve it using [Store Discussion](https://github.com/vtex-apps/store-discussion).\n\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors-)\n\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n\n# Store Icons\n\n[![Build Status](https://travis-ci.org/vtex-apps/store-icons.svg?branch=master)](https://travis-ci.org/vtex-apps/store-icons)\n\nStore Icons are sets of icons tailored for store UI. \nThe Store Icons are implemented using SVG fragment identifiers, which reference specific portions or elements within an SVG document. Leveraging SVG fragment identifiers makes it easier to link directly to and highlight particular sections or areas within the SVG document, facilitating navigation and interaction.\n\nRender SDK serves all store icons, and with the HTML tag `<use>`, you can render a fragment from the icon pack. For more information on the complete list of fragment SVG's, access the [Icon Pack List](https://developers.vtex.com/docs/apps/vtex.store-icons/iconpack).\n\n## Table of Contents\n\n- [Store Icons](#store-icons)\n - [Description](#description)\n - [Release schedule](#release-schedule)\n - [Table of Contents](#table-of-contents)\n - [Concept](#concept)\n - [Usage](#usage)\n - [Dedicated Icon](#dedicated-icon)\n - [Generic Icon](#generic-icon)\n - [Icons](#icons)\n - [Props](#props)\n - [Icons List](#icons-list)\n - [Brand](#brand)\n - [High Priority Actions](#high-priority-actions)\n - [Middle Priority Actions](#middle-priority-actions)\n - [Informational](#informational)\n - [Navigation](#navigation)\n - [Status Indicators](#status-indicators)\n - [Customize](#customize)\n - [Overwriting the default IconPack](#overwriting-the-default-iconpack)\n - [Nomenclature](#nomenclature)\n - [Icon Intention](#icon-intention)\n - [Troubleshooting](#troubleshooting)\n - [Contributing](#contributing)\n - [Tests](#tests)\n\n\n## Usage\n\nAdd into the dependencies of your `manifest.json` and use it as an `npm` module:\n\n```json\n\"dependencies\": {\n \"vtex.store-icons\": \"0.x\"\n}\n```\nThere are two ways for using the available icons:\n\n- **Developing a store's theme:**\nUse the `icon` block to render the desired icon. This block functions similarly to other blocks and anticipates the receipt of props as specified by its associated [API](#props).\n\n- **Creating custom components:**\nif you are creating custom components and wish to utilize the icons provided here, please follow the instructions below.\n\n### Dedicated Icon\n\nImport the desired icon and use it into your code, for example:\n\n```js\nimport { IconMenu } from 'vtex.store-icons'\n\nconst YourComponent = (props) => <IconMenu />\n```\n\nYou can see [here](#icon-list) a list of every available icon.\n\n### Generic Icon\n\nThe API provides a generic icon, The `Icon` component. You can choose from any other icon passing only the `id` from the respective one you want to add.\n\nFor example:\n\n```js\nimport { Icon } from 'vtex.store-icons'\n\nconst YourComponent = (props) => <Icon id=\"hpa-cart\" />\n```\n\n⚠️ This component is meant to be used on icons there aren't common throughout the store. Choose [`dedicated`](#dedicated-icon) components whenever possible.\n\n## Icons\n\n### Props\n\nAny icon can receive the following props:\n\n| Property | Description | Type | Default value |\n| --------------- | ------------------------------------------ | --------- | ------------- |\n| id | The ID for the desired icon | `String` | '' |\n| size | Desired size | `Number` | 16 |\n| isActive | desc | `Boolean` | true |\n| activeClassName | The className it should have if active | `String` | 🚫 |\n| mutedClassName | The className it should have if not active | `String` | 🚫 |\n\nObs: **...props**: It is important to notice that any other `<svg>` prop passed will work with an icon as well.\n\n#### Enhanced Props\n\nSome components support modifiers. These are props that define the icon type, orientation, state or shape.\n\n| Modifier | Possible values |\n| ----------- | --------------------------- |\n| type | `filled` `line` `outline` |\n| orientation | `up` `down` `left` `right` |\n| state | `on` `off` |\n| shape | `square` `rounded` `circle` |\n\n### Icon List\n\n#### Brand\n\n| Component | id | Type | Orientation | State | Shape |\n| -------------------------------------------------------------------------------------------- | -------- | ---- | ----------- | ----- | --------------------------- |\n| [IconSocial](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconSocial.js) | `social` | 🚫 | 🚫 | 🚫 | square \\| rounded \\| circle |\n\n#### High Priority Actions\n\n| Component | id | Type | Orientation | State | Shape |\n| ------------------------------------------------------------------------------------------------------------ | ----------------- | ---- | ----------- | ----- | ----- |\n| [IconArrowBack](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconArrowBack.js) | `arrow-back` | 🚫 | 🚫 | 🚫 | 🚫 |\n| [IconAssistantSales](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconAssistantSales.js) | `assistant-sales` | 🚫 | 🚫 | 🚫 | 🚫 |\n| [IconProfile](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconProfile.js) | `profile` | 🚫 | 🚫 | 🚫 | 🚫 |\n| [IconCart](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconCart.js) | `cart` | 🚫 | 🚫 | 🚫 | 🚫 |\n| [IconSearch](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconSearch.js) | `search` | 🚫 | 🚫 | 🚫 | 🚫 |\n| [IconDelete](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconDelete.js) | `delete` | 🚫 | 🚫 | 🚫 | 🚫 |\n| [IconMenu](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconMenu.js) | `menu` | 🚫 | 🚫 | 🚫 | 🚫 |\n| [IconLocationMarker](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconLocationMarker.js) | `location-marker` | 🚫 | 🚫 | 🚫 | 🚫 |\n\n#### Medium Priority Actions\n\n| Component | id | Type | Orientation | State | Shape |\n| ---------------------------------------------------------------------------------------------------- | ------------- | ------------------------- | ----------- | --------- | ----- |\n| [IconEyesight](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconEyesight.js) | `eyesight` | filled \\| outline | 🚫 | on \\| off | 🚫 |\n| [IconMinus](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconMinus.js) | `minus` | filled \\| outline \\| line | 🚫 | 🚫 brands |\n| [IconPlus](https://github.com/vtex-apps/store-icons/blobrandseact/IconPlus.js) | `plus` | filled \\| outline \\| line | 🚫 | 🚫 | 🚫 | brands |\n| [IconSingleItem](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconSingleItem.js) | `single-item` | 🚫 | 🚫 | 🚫 | 🚫 |\n| [IconList](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconList.js) | `list` | 🚫 | 🚫 | 🚫 | 🚫 |\n| [IconGallery](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconGallery.js) | `gallery` | 🚫 | 🚫 | 🚫 | 🚫 |\n| [IconRemove](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconRemove.js) | `remove` | 🚫 | 🚫 | 🚫 | 🚫 |\n| [IconSwap](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconSwap.js) | `swap` | 🚫 | 🚫 | 🚫 | 🚫 |\n| [IconHeart](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconHeart.js) | `heart` | 🚫 | 🚫 | 🚫 | 🚫 |\n| [IconGlobe](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconGlobe.js) | `globe` | 🚫 | 🚫 | 🚫 | 🚫 |\n| [IconBookmark](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconBookmark.js) | `bookmark` | filled \\| outline | 🚫 | 🚫 | 🚫 |\n| [IconPlay](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconPlay.js) | `play` | filled \\| outline | 🚫 | 🚫 | 🚫 |\n| [IconPause](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconPause.js) | `pause` | filled \\| outline | 🚫 | 🚫 | 🚫 |\n\n#### Navigation\n\n| Component | id | Type | Orientation | State | Shape |\n| ------------------------------------------------------------------------------------------ | ------- | ---- | --------------------------- | ----- | ----- |\n| [IconCaret](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconCaret.js) | `caret` | 🚫 | up \\| down \\| left \\| right | 🚫 | 🚫 | true \\| false |\n\n#### Status Indicators\n\n| Component | id | Type | Orientation | State | Shape |\n| -------------------------------------------------------------------------------------------------- | ------------ | ------------------------- | ----------- | ----- | ----- |\n| [IconClose](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconClose.js) | `close` | filled \\| outline | 🚫 | 🚫 | 🚫 |\n| [IconCheck](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconCheck.js) | `check` | filled \\| outline \\| line | 🚫 | 🚫 | 🚫 |\n| [IconVolumeOn](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconVolumeOn.js) | `volume-on` | filled \\| outline \\| line | 🚫 | 🚫 | 🚫 |\n| [IconVolumeOff](https://github.com/vtex-apps/store-icons/blob/feature/docs/react/IconVolumeOff.js) | `volume-off` | filled \\| outline \\| line | 🚫 | 🚫 | 🚫 |\n\n## Customize\n\nIn the [usage](#usage) section, we discuss two ways of using icons. These ways extend to customization, so, prefer to change an existing Icon so that you can use the [dedicated](#dedicated-icon) version. You can check how to override and name icons below.\n\n### Overwriting the default IconPack\n\nAs mentioned before, all icon IDs are stored at the [iconpack.svg](https://github.com/vtex-apps/store-icons/blob/master/docs/ICONPACK.md) file. You can overwrite the default one by:\n\n1. On your [`store-theme`](https://github.com/vtex-apps/store-theme/tree/master/styles) create a new folder called `iconpacks`\n\n2. Create a file called `iconpack.svg`\n\n3. Declare your icon IDs (use the default `iconpack` as an example in how to do that properly).\n\n### Nomenclature\n\nThe naming convention is: [`intention`](#icon-intention)-[`id`](#icon-list)--[`?modifiers`](#enhanced-props)\n\nWhere the `modifiers` follows the rule:\n`?type`--`?orientation`--`?state`--`?shape`\n\n**πŸ€“ ? stands for optional inputs**\n\n#### Icon Intention\n\n`bnd` **Brand** - Display logos, brands or advertisements.\n\n`hpa` **High priority actions** - Actions that are important to the global context.\n\n`mpa` **Mild priority actions** - Actions that are important only to the current component context.\n\n`inf` **Informational** - Represents information display or actions that, when triggered, reveal further details about the current context.\n\n`nav` **Navigation** - Actions that triggers navigation.\n\n`sti` **Status indicators** - Indicates the current item/component semantic status.\n\n## CSS Customization\n\nIn order to apply CSS customizations in this and other blocks, follow the instructions given in the recipe on [Using CSS Handles for store customization](https://vtex.io/docs/recipes/style/using-css-handles-for-store-customization).\n\n| CSS Handles |\n| -------------------- |\n| 'arrowBackIcon' |\n| 'assistantSalesIcon' |\n| 'caretIcon' |\n| 'cartIcon' |\n| 'checkIcon' |\n| 'closeIcon' |\n| 'deleteIcon' |\n| 'equalsIcon' |\n| 'eyeSightIcon' |\n| 'filterIcon' |\n| 'globeIcon' |\n| 'gridIcon' |\n| 'heartIcon' |\n| 'homeIcon' |\n| 'inlineGridIcon' |\n| 'locationInputIcon' |\n| 'locationMarkerIcon' |\n| 'menuIcon' |\n| 'minusIcon' |\n| 'plusIcon' |\n| 'profileIcon' |\n| 'removeIcon' |\n| 'searchIcon' |\n| 'singleGridIcon' |\n| 'socialIcon' |\n| 'starIcon' |\n| 'swapIcon' |\n| 'playIcon' |\n| 'pauseIcon' |\n| 'fullscreenIcon' |\n| 'volumeOnIcon' |\n| 'volumeOffIcon' |\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<!-- markdownlint-enable -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind are welcome!\n\n```" } ]
code_store-icons_141eda6d
[ { "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 store-icons/react/IconMinus.tsx from the store-icons VTEX app." }, { "role": "assistant", "content": "Here's the implementation:\n\n```tsx\nimport React from 'react'\n\nimport Icon from './components/Icon'\n\nconst IconMinus = (props: IconProps) => {\n return <Icon id=\"nav-minus\" handle=\"minusIcon\" {...props} />\n}\n\nexport default IconMinus\n\n```" } ]