Skip to content

Commit 804f8f4

Browse files
committed
docs: move demo index files
1 parent bd40a73 commit 804f8f4

File tree

63 files changed

+33
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+33
-2
lines changed

elements/.config/cem.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ generate:
1010
noDefaultExcludes: false
1111
demoDiscovery:
1212
fileGlob: '*/demo/*.html'
13-
urlPattern: pf-(?P<tag>[\w-]+)/demo/(?P<demo>[\w-]+).html
14-
urlTemplate: https://patternflyelements.org/components/{tag}/demo/{demo}/
13+
urlPattern: :tag/demo/:demo.html
14+
urlTemplate: https://patternflyelements.org/components/{{.tag | alias | slug}}/demo/{{.demo | slug}}/
File renamed without changes.

elements/pf-accordion/pf-accordion.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export class PfAccordionCollapseEvent extends Event {
3737
/**
3838
* An **accordion** is an interactive container that expands and collapses to hide or reveal nested content. It takes advantage of progressive disclosure to help reduce page scrolling, by allowing users to choose whether they want to show or hide more detailed information as needed.
3939
* @summary Toggle the visibility of sections of content
40+
* @alias Accordion
4041
* @fires {AccordionExpandEvent} expand - when a panel expands
4142
* @fires {AccordionCollapseEvent} collapse - when a panel collapses
4243
* @slot

elements/pf-avatar/pf-avatar.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export class PfAvatarLoadEvent extends Event {
1313
/**
1414
* An **avatar** is a visual used to represent a user. It may contain an image or a placeholder graphic.
1515
* @summary For displaying a user's avatar image
16+
* @alias Avatar
1617
* @fires {PfAvatarLoadEvent} load - when the avatar loads
1718
* @cssprop [--pf-c-avatar--Width=24px]
1819
* @cssprop [--pf-c-avatar--Height=24px]
File renamed without changes.

elements/pf-back-to-top/pf-back-to-top.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import styles from './pf-back-to-top.css';
1313
/**
1414
* The **back to top** component is a shortcut that allows users to quickly navigate to the top of a lengthy content page.
1515
* @summary A shortcut that allows users to quickly navigate to the top of a lengthy content page.
16+
* @alias Back to Top
1617
* @csspart trigger - The `<a>` or `<pf-button>` element
1718
* @slot icon
1819
* Contains the prefix icon to display before the link or button.
File renamed without changes.

elements/pf-background-image/pf-background-image.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import styles from './pf-background-image.css';
1111
/**
1212
* A **background image** allows you to place an image in the background of your page or area of a page.
1313
* @summary Allows users to place an image in the background of your page or area of a page.
14+
* @alias Background Image
1415
* @slot filter - Overrides the default svg filter for the background image.
1516
* @cssprop {<color>} [--pf-c-background-image--BackgroundColor=#151515]
1617
* @cssprop [--pf-c-background-image--Filter=url("#image_overlay")]

0 commit comments

Comments
 (0)