From c905aa1c65137beb9455a36de1bb3ad8803e886d Mon Sep 17 00:00:00 2001 From: Julia Rocha Date: Wed, 15 Jul 2020 15:32:20 -0300 Subject: [PATCH 1/2] added docprop markdown --- CHANGELOG.md | 8 ++++++++ docs/README.md | 13 ++----------- manifest.json | 2 +- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b9d5581..665c479 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [0.3.0-beta] - 2020-07-15 + +### Added +- Doc Prop trigger + +### Removed +- Handmade props table + ## [0.2.0] - 2020-03-30 ### Added - Pass query string to iframe URL. diff --git a/docs/README.md b/docs/README.md index 1987170..b0eabd3 100644 --- a/docs/README.md +++ b/docs/README.md @@ -43,11 +43,7 @@ An app that makes it possible to render external iframes on a store ... ``` -| Prop name | Type | Description | Default value | -|--------------|--------|--------------| --------| -| `src` | String | Source address the iframe should render | `null` -| `width` | Number | Width attribute of the iframe | `null` -| `height` | Number | Height attribute of the iframe | `null` +%PROPS=Iframe% ## Configuration - dynamic Iframe @@ -86,12 +82,7 @@ An app that makes it possible to render external iframes on a store }, ``` -| Prop name | Type | Description | Default value | -|--------------|--------|--------------| --------| -| `dynamicSrc` | String | iframe src with dynamic parameters from page URL enclosed in '{}' | `null` -| `width` | Number | Width attribute of the iframe | `null` -| `height` | Number | Height attribute of the iframe | `null` -| `title` | String | title attribute of the iframe tag | `null` +%PROPS=DynamicIframe% ## Customization diff --git a/manifest.json b/manifest.json index 676b36c..58f2903 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "vendor": "vtex", "name": "iframe", - "version": "0.2.0", + "version": "0.3.0-beta", "title": "Iframe", "description": "An app to use sourced iframes", "defaultLocale": "pt-BR", From dfb84f767eef9ad85ec7ee888c375728373217d7 Mon Sep 17 00:00:00 2001 From: Julia Rocha Date: Wed, 15 Jul 2020 15:37:37 -0300 Subject: [PATCH 2/2] fixed changelog --- CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 665c479..d3222dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] -## [0.3.0-beta] - 2020-07-15 - ### Added - Doc Prop trigger