diff --git a/docs/_includes/_nav.njk b/docs/_includes/_nav.njk
index aeb39fa129..615809039d 100644
--- a/docs/_includes/_nav.njk
+++ b/docs/_includes/_nav.njk
@@ -15,24 +15,24 @@
-
Read our Getting started page to learn how to install and use PatternFly Elements.
-For more information on how to use each PatternFly element, read the component docs.
-{{ item.panel }}
-{item.panel}
-PatternFly Elements are custom HTML elements that work everywhere.
The Card element has header and footer slots for things like
titles and actions.
pf-v5-card
-pf-v6-card
+
```
diff --git a/docs/_snippets/pf-bar-html.md b/docs/_snippets/pf-bar-html.md
index 5cfc26115f..c8427c8a8e 100644
--- a/docs/_snippets/pf-bar-html.md
+++ b/docs/_snippets/pf-bar-html.md
@@ -3,7 +3,7 @@
PatternFly.org
-
+
Contribute on Github
\ No newline at end of file
diff --git a/docs/components.md b/docs/components.md
index af41740e87..66c85bcda6 100644
--- a/docs/components.md
+++ b/docs/components.md
@@ -2,9 +2,9 @@
const CLASS_KEY = 'html-lit-react-snippets';
const LS_KEY = `${CLASS_KEY}-index`;
document.addEventListener('expand', async function(event) {
- const PfV5Tabs = await customElements.whenDefined('pf-v5-tabs');
- if (PfV5Tabs.isExpandEvent(event)) {
- const tabs = event.tab.closest('pf-v5-tabs');
+ const PfV6Tabs = await customElements.whenDefined('pf-v6-tabs');
+ if (PfV6Tabs.isExpandEvent(event)) {
+ const tabs = event.tab.closest('pf-v6-tabs');
if (tabs.classList.contains(CLASS_KEY)) {
await tabs.updateComplete;
localStorage.setItem(LS_KEY, tabs.activeIndex);
@@ -13,7 +13,7 @@
}
});
async function update() {
- for (const tabs of document.querySelectorAll(`pf-v5-tabs.${CLASS_KEY}`)) {
+ for (const tabs of document.querySelectorAll(`pf-v6-tabs.${CLASS_KEY}`)) {
await tabs.updateComplete;
tabs.activeIndex = parseInt(localStorage.getItem(LS_KEY) ?? '0');
}
diff --git a/docs/docs/develop/create.md b/docs/docs/develop/create.md
index 355653aefe..71f2a45579 100644
--- a/docs/docs/develop/create.md
+++ b/docs/docs/develop/create.md
@@ -35,8 +35,8 @@ tags:
* Your element's name should be lowercase and needs to contain at least
one hyphen. For rules on naming custom elements, refer to the W3C
[Custom Elements Working Draft](https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name).
- * As an example, we'll create `pf-v5-cool-element`.
- * PatternFly Elements should be prefixed with `pf-v5-`. However, prefix your
+ * As an example, we'll create `pf-v6-cool-element`.
+ * PatternFly Elements should be prefixed with `pf-v6-`. However, prefix your
elements with whatever fits your project if you are using the generator outside of this project.
@@ -45,18 +45,18 @@ tags:
After answering, your new component will be created and bootstrapped in the repository.
Once that's done, switch directories to the element you just created. We'll
- `cd` into the `pf-v5-cool-element` directory.
+ `cd` into the `pf-v6-cool-element` directory.
```bash
- cd elements/pf-v5-cool-element
+ cd elements/pf-v6-cool-element
```
Open your code editor to view the structure of the element.
The element's source files are located directly in it's package root, in our
case:
- * `pf-v5-cool-element.ts` - The element class declaration
- * `pf-v5-cool-element.css` - The element's CSS style module
+ * `pf-v6-cool-element.ts` - The element class declaration
+ * `pf-v6-cool-element.css` - The element's CSS style module
The `demo` directory contains an HTML partial that you can edit to provide an
interactive demo of your element.
diff --git a/docs/docs/develop/css.md b/docs/docs/develop/css.md
index 312f635489..6f1cdf474c 100644
--- a/docs/docs/develop/css.md
+++ b/docs/docs/develop/css.md
@@ -15,11 +15,11 @@ tags:
{% band %}
-We want the `pf-v5-cool-element` to have a profile photo, a username, and a follow button.
+We want the `pf-v6-cool-element` to have a profile photo, a username, and a follow button.
Right now, it only contains the HTML structure, but we can style our element by
updating our CSS to make it look the way we want.
-We'll be working in the `pf-v5-cool-element.css` file.
+We'll be working in the `pf-v6-cool-element.css` file.
The boilerplate stylesheet has a `:host` selector that makes our element display
as a block element.
@@ -69,12 +69,12 @@ After saving and viewing our demo page, our profile element looks much better.
A couple of things to note:
-1. The `:host` selector sets the styles of the container element `To get web components to work with React it’s pretty easy and straightforward. If you’d like to follow along, go ahead and...
Read on Medium -To get web components to work with Vue, it’s pretty easy and straightforward. If you’d like to follow along, go ahead and...
Read on Medium -To get web components to work with Angular, there are a few steps that we need to take. If you’d like to follow along, go ahead and...
Read on Medium -This is the pf-v5-card body.
-This is the pf-v6-card body.
+This is the pf-v5-card body.
-This is the pf-v6-card body.
+This is the pf-v5-card body.
-This is the pf-v6-card body.
+This is the pf-v5-card body.
-This is the pf-v6-card body.
+This is the pf-v5-card body.
-This is the pf-v6-card body.
+Content will remain hidden until component definitions are loaded.
-