vtex-apps / store-components

Default VTEX store components
51 stars 142 forks source link

Feature displayMode select for Color Variation #1104

Open mihaidanieldumitru opened 6 months ago

mihaidanieldumitru commented 6 months ago

What problem is this solving?

This feature is needed in order to render color variations inside shelves using a dropdown. Before the only way was a slider/list of buttons.

How to test it?

Workspace

Screenshots or example usage:

  "product-summary-sku-selector#shelf": {
    "props": {
      "maxItems": 50,
      "displayMode": "select",
      "showVariationsLabels": "none",
      "initialSelection": "empty",
      "visibility": "more-than-one",
      "visibleVariations": ["Culoare"],
+    "displayModeSelectForColorVariation": true,
      "blockClass": "defaultShelf"
    }
  },

image

vtex-io-ci-cd[bot] commented 6 months ago

Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖

Please select which version do you want to release:

And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.

vtex-io-docs-bot[bot] commented 6 months ago

Beep boop :robot:

Thank you so much for keeping our documentation up-to-date :heart: