Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PB][Docs] PB-36: Creating custom Page Builder components #1897

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
5f4cf9c
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 2, 2019
47bcd8b
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 2, 2019
2981201
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 3, 2019
1ad619c
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 6, 2019
e57b174
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 6, 2019
f60cb64
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 7, 2019
dde5b4d
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 7, 2019
72e9fea
Revert "Merge branch 'PB-17-Banner' into PB-36"
bdenham Oct 7, 2019
5dc9b5f
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 7, 2019
05d47ba
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 7, 2019
1437bf3
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 7, 2019
b848a2c
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 11, 2019
ee699c2
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 11, 2019
4706574
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 11, 2019
0c1a4c3
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 12, 2019
481303c
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 14, 2019
8a6ba58
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 16, 2019
288d093
Revert "Revert "Merge branch 'PB-17-Banner' into PB-36""
bdenham Oct 16, 2019
8a693c2
Merge branch 'feature/page-builder' into PB-36
davemacaulay Oct 16, 2019
f35ec01
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 16, 2019
a36ded8
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 16, 2019
556e7a0
Merge branch 'PB-36' of github.com:magento-obsessive-owls/pwa-studio …
bdenham Oct 16, 2019
63bef39
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 16, 2019
4a7c5c7
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 17, 2019
ab136e0
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 17, 2019
3020893
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 17, 2019
e2d887e
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 17, 2019
d318417
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 17, 2019
27ec59f
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 17, 2019
38d998f
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 17, 2019
0d3a610
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 17, 2019
83fd86b
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 17, 2019
6572453
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 17, 2019
f9ece7c
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 17, 2019
2d7a557
Merge branch 'PB-36' of github.com:magento-obsessive-owls/pwa-studio …
bdenham Oct 17, 2019
4fa4987
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 17, 2019
6daf767
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 17, 2019
a4b9836
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 18, 2019
f0e1e61
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 18, 2019
c45a3e8
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 18, 2019
d11fc37
PB-36: [Docs] Creating custom Page Builder components
bdenham Oct 18, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pwa-devdocs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
_site/
.sass-cache/
.jekyll-metadata
.jekyll-cache

node_modules
src/builds
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,13 @@ module.exports = [
{
target: 'venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Map/map.js',
type: 'function'
},
{
target: 'venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Banner/banner.js',
type: 'function'
},
{
target: 'venia-ui/lib/components/RichContent/PageBuilder/utils.js',
type: 'function'
}
];
96 changes: 59 additions & 37 deletions pwa-devdocs/src/_data/pagebuilder.yml
Original file line number Diff line number Diff line change
@@ -1,55 +1,77 @@
title: Page Builder
entries:
- label: Integration Overview
url: /pagebuilder/overview/

- label: Create custom components
url: /pagebuilder/creating-pb-components/
- label: Integration
url: /pagebuilder/

- label: Page Builder components
- label: Known limitations
url: /pagebuilder/known-limitations/

- label: Creating custom components
entries:
- label: Row
url: /pagebuilder/components/row/
- label: Overview
url: /pagebuilder/custom-components/overview/

- label: Column
url: /pagebuilder/components/column/

- label: Tabs
url: /pagebuilder/components/tabs/
- label: Set up component
url: /pagebuilder/custom-components/setup-component/

- label: Add aggregator
url: /pagebuilder/custom-components/add-aggregator/

- label: Add stylesheet
url: /pagebuilder/custom-components/add-stylesheet/

- label: Add component
url: /pagebuilder/custom-components/add-component/

- label: Debugging tips
url: /pagebuilder/custom-components/debugging/

- label: Utility functions
url: /pagebuilder/utility-functions/

- label: Components
entries:
- label: Banner
url: /pagebuilder/components/banner/

- label: Block
url: /pagebuilder/components/block/

- label: Text
url: /pagebuilder/components/text/

- label: Heading
url: /pagebuilder/components/heading/

- label: Buttons
url: /pagebuilder/components/buttons/


- label: Column
url: /pagebuilder/components/column/

- label: Divider
url: /pagebuilder/components/divider/


- label: Heading
url: /pagebuilder/components/heading/

- label: HTML Code
url: /pagebuilder/components/html/

- label: Image
url: /pagebuilder/components/image/

- label: Video
url: /pagebuilder/components/video/

- label: Banner
url: /pagebuilder/components/banner/

- label: Slider
url: /pagebuilder/components/slider/


- label: Map
url: /pagebuilder/components/map/

- label: Block
url: /pagebuilder/components/block/


- label: Products
url: /pagebuilder/components/products/


- label: Row
url: /pagebuilder/components/row/

- label: Slider
url: /pagebuilder/components/slider/

- label: Tabs
url: /pagebuilder/components/tabs/

- label: Text
url: /pagebuilder/components/text/

- label: Video
url: /pagebuilder/components/video/
3 changes: 0 additions & 3 deletions pwa-devdocs/src/_data/top-nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
- label: Peregrine Components
url: /peregrine/

- label: PageBuilder
url: /pagebuilder/

- label: Venia Storefront
url: /venia-pwa-concept/

Expand Down
10 changes: 10 additions & 0 deletions pwa-devdocs/src/_drafts/pagebuilder/components/banner/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Banner
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Banner/banner.md %}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ title: Block
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Block/block.md %}
11 changes: 11 additions & 0 deletions pwa-devdocs/src/_drafts/pagebuilder/components/buttons/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Buttons
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Buttons/buttons.md %}
{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/ButtonItem/buttonItem.md %}
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ title: Column
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Column/column.md %}
{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/ColumnGroup/columnGroup.md %}
10 changes: 10 additions & 0 deletions pwa-devdocs/src/_drafts/pagebuilder/components/divider/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Divider
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Divider/divider.md %}
10 changes: 10 additions & 0 deletions pwa-devdocs/src/_drafts/pagebuilder/components/heading/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Heading
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Heading/heading.md %}
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
---
title: HTML Code
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Html/html.md %}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ title: Image
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Image/image.md %}
10 changes: 10 additions & 0 deletions pwa-devdocs/src/_drafts/pagebuilder/components/map/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Map
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Map/map.md %}
10 changes: 10 additions & 0 deletions pwa-devdocs/src/_drafts/pagebuilder/components/products/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Products
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Products/products.md %}
10 changes: 10 additions & 0 deletions pwa-devdocs/src/_drafts/pagebuilder/components/slider/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Slider
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Slider/slider.md %}
11 changes: 11 additions & 0 deletions pwa-devdocs/src/_drafts/pagebuilder/components/tabs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Tabs
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Tabs/tabs.md %}
{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/TabItem/tabItem.md %}
10 changes: 10 additions & 0 deletions pwa-devdocs/src/_drafts/pagebuilder/components/text/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Text
---

<!--
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Text/text.md %}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ title: Video
The reference doc content is generated automatically from the source code.
To update this section, update the doc blocks in the source code
-->

{% include auto-generated/venia-ui/lib/components/RichContent/PageBuilder/ContentTypes/Video/video.md %}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading