Commit 73b2389
feat!: patternfly elements v5 (#3113)
* feat!: rename all elements to pf-v5-* prefix
Rename all 35 elements and their sub-components from pf-* to pf-v5-*.
CSS custom properties renamed from --pf-c-* to --pf-v5-c-*.
Global tokens (--pf-global--*) are unchanged.
Closes #3052, closes #3053, closes #3054, closes #3055,
closes #3056, closes #3057, closes #3058, closes #3059,
closes #3060, closes #3061, closes #3062, closes #3063,
closes #3064, closes #3065, closes #3066, closes #3067,
closes #3068, closes #3069, closes #3070, closes #3071,
closes #3072, closes #3073, closes #3074, closes #3075,
closes #3076, closes #3077, closes #3078, closes #3079,
closes #3080, closes #3081, closes #3082, closes #3083,
closes #3084, closes #3085, closes #3086
Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat!: remove bundled entrypoint (pfe.min.js) (#3089)
* feat!: remove bundled entrypoint (pfe.min.js)
The bundled entrypoint causes custom element double-registration
issues and is not the recommended way to consume the library.
Closes #3087
Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: remove bundle references from docs plugin
Remove the bundle() call and pfe.min.* passthrough copies
from the Eleventy docs plugin, since the bundled entrypoint
was removed.
Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: remove trailing blank line in pfe-assets plugin
Fixes padded-blocks lint error.
Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs: update element references from pf-* to pf-v5-*
Update all docs site references to use the new pf-v5-* element names,
including HTML tags, CSS selectors, import paths, and code examples.
Blog posts and changelogs left unchanged as historical records.
PF4 core CSS tokens (--pf-c-content/title/text) left unchanged as
they reference the PF CSS framework, not pf-elements components.
Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(docs): fix docs build after pf-v5-* rename
- Update main.mjs to import PfV5Icon from renamed path
- Update pfe-assets.cjs regex and JSDoc for pf-v5-* paths
- Pass prefix option to PfeAssetsPlugin in eleventy config
- Replace broken generateImportMap shortcodes with static import
maps (jspm.io can't resolve unpublished pf-v5-* paths)
- Fix pre-existing TS build errors: use Router.Middleware instead
of non-existent RouterMiddleware export, remove stale
@ts-expect-error directive
- Fix pre-existing slug function call using deprecated
eleventyConfig.javascript.functions API
Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat!: remove deprecated APIs (#3090)
- Remove CascadeController and @Cascades decorator (use @lit/context)
- Remove SlotController.anonymous (use SlotController.default)
- Remove pf-popover closeButtonLabel / close-label attribute
(use accessible-close-label)
pfeCustomElementsManifestConfig was already removed from the codebase.
Closes #2975, closes #2974, closes #2973, closes #2972
Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(tools): fix TS build errors on CI
- Use koa Middleware type instead of Router.Middleware namespace
(namespace not available with Node moduleResolution)
- Use @ts-ignore instead of @ts-expect-error for colorjs.io import
(error occurs on CI but not locally due to moduleResolution)
Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(docs): handle ESM default export from slugify v2
`@sindresorhus/slugify` v2 is ESM-only. Node 22 `require()` of ESM
returns the module namespace object, not the default export, causing
`TypeError: slugify is not a function` in the eleventy `ids` transform.
Assisted-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
* chore: clean up remaining pf-* references after rename
- README: update test path examples to pf-v5-* element dirs
- elements/package.json: remove orphaned pf-jazz-hands export entry
- eslint.config.js: fix pf-icon ignore path to pf-v5-icon
- bundle.ts: update pf-icon export to pf-v5-icon
- dev server index.html template: update pf-button/pf-icon/pf-card tags
and imports to pf-v5-* equivalents
- docs/_snippets: update accordion-jsx and card-html import paths
- vue.md: fix CodeSandbox search hint to @patternfly/elements
Assisted-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
* fix: tools and docs for pf-v5 prefix/ elements rename compatibility (#3114)
* docs: rename doc files to match pf-v5 element names
* chore: update tagPrefix in config
* fix: use unbundled element modules for docs site
* refactor(tools): use pfe config for tag aliasing in DocsPage
* chore(tools): add changeset
* chore: correct npm run docs to include the elements build
* fix: copy element screenshots to docs site
* fix: copy demo assets to docs site
* fix: strip v5 prefix from docs titles, replace jspm with mappa (#3115)
* fix: strip v5 prefix from docs titles, replace @jspm/generator with @pwrs/mappa
Strip the tag prefix (pf-v5-) from element display names in the docs
site sidebar, page titles, and demo headings so they show "Accordion"
instead of "V5 Accordion".
Replace @jspm/generator with @pwrs/mappa for import map generation in
both the 11ty docs build and the dev server plugin. This fixes the
"Unable to resolve npm:lit@3.3.2" build error and simplifies the import
map infrastructure.
Also adds v5 to the docs version dropdown and marks it as current.
Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: remove stale @jspm/generator patch file
Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: lint errors in create-import-map and package.json sort order
Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: operator-linebreak style in create-import-map
Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Benny Powers <web@bennypowers.com>
Co-authored-by: Benny Powers <bennypowers@users.noreply.github.com>1 parent 3a64fd3 commit 73b2389
1,014 files changed
Lines changed: 31634 additions & 32697 deletions
File tree
- .changeset
- core/pfe-core
- controllers
- decorators
- docs
- _data
- _includes
- _plugins
- _snippets
- docs/develop
- framework-integration
- elements
- pf-accordion
- demo
- docs
- pf-alert
- demo
- docs
- test
- pf-avatar
- demo
- docs
- test
- pf-back-to-top
- demo
- docs
- pf-background-image
- demo
- docs
- pf-badge
- demo
- docs
- test
- pf-banner
- demo
- docs
- test
- pf-button
- demo
- docs
- pf-card
- demo
- docs
- pf-chip
- demo
- docs
- test
- pf-clipboard-copy
- demo
- docs
- pf-code-block
- demo
- docs
- test
- pf-dropdown
- demo
- docs
- pf-helper-text
- demo
- docs
- test
- pf-hint
- demo
- docs
- test
- pf-icon
- demo
- docs
- pf-jump-links
- demo
- docs
- test
- pf-label-group
- demo
- docs
- test
- pf-label
- demo
- docs
- test
- pf-modal
- demo
- docs
- pf-panel
- demo
- docs
- test
- pf-popover
- demo
- docs
- pf-progress-stepper
- demo
- docs
- test
- pf-progress
- demo
- docs
- test
- pf-search-input
- demo
- docs
- pf-select
- demos-to-implement-later
- demo
- docs
- pf-spinner
- demo
- docs
- test
- pf-switch
- demo
- docs
- pf-table
- demo
- docs
- test
- pf-tabs
- demo
- docs
- pf-text-area
- demo
- docs
- pf-text-input
- demo
- docs
- test
- pf-tile
- demo
- docs
- test
- pf-timestamp
- demo
- docs
- test
- pf-tooltip
- demo
- docs
- pf-v5-accordion
- demo
- docs
- test
- pf-v5-alert
- demo
- docs
- test
- pf-v5-avatar
- demo
- docs
- test
- pf-v5-back-to-top
- demo
- docs
- test
- pf-v5-background-image
- demo
- docs
- test
- pf-v5-badge
- demo
- docs
- test
- pf-v5-banner
- demo
- docs
- test
- pf-v5-button
- demo
- docs
- test
- pf-v5-card
- demo
- docs
- test
- pf-v5-chip
- demo
- docs
- test
- pf-v5-clipboard-copy
- demo
- docs
- test
- pf-v5-code-block
- demo
- docs
- test
- pf-v5-dropdown
- demo
- docs
- test
- pf-v5-helper-text
- demo
- docs
- test
- pf-v5-hint
- demo
- docs
- test
- pf-v5-icon
- demo
- icons/rh
- docs
- test
- pf-v5-jump-links
- demo
- docs
- test
- pf-v5-label-group
- demo
- docs
- test
- pf-v5-label
- demo
- docs
- test
- pf-v5-modal
- demo
- docs
- test
- pf-v5-panel
- demo
- docs
- test
- pf-v5-popover
- demo
- docs
- test
- pf-v5-progress-stepper
- demo
- docs
- test
- pf-v5-progress
- demo
- docs
- test
- pf-v5-search-input
- demo
- docs
- test
- pf-v5-select
- demos-to-implement-later
- demo
- docs
- test
- pf-v5-spinner
- demo
- docs
- test
- pf-v5-switch
- demo
- docs
- test
- pf-v5-table
- demo
- docs
- test
- pf-v5-tabs
- demo
- docs
- test
- pf-v5-text-area
- demo
- docs
- test
- pf-v5-text-input
- demo
- docs
- test
- pf-v5-tile
- demo
- docs
- test
- pf-v5-timestamp
- demo
- docs
- test
- pf-v5-tooltip
- demo
- docs
- test
- patches
- scripts
- tools/pfe-tools
- 11ty
- custom-elements-manifest/lib
- dev-server
- plugins
- templates
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
3 | 4 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
135 | 133 | | |
136 | 134 | | |
137 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
0 commit comments