-
Notifications
You must be signed in to change notification settings - Fork 106
feat(progress): add pf-progress #2511
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
Merged
Merged
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
e3cdfe6
feat(progress): adding progress element, adding variants and styles
brianferry 58c9cf3
fix(progress): adding accessibility fixes for pf-progress without htm…
brianferry ca5db3b
fix: formatting for icons, html
brianferry 87a9670
docs(progress): adding kitchen sink, adding example
brianferry 4920adc
docs(progress): adding cssprop, summary, kitchen sink demo
brianferry 1ac5001
fix(progress): remove demo css file
brianferry e800261
chore: adding changeset
brianferry cd07bd9
Merge branch 'main' into feat/pf-progress
brianferry b03d2b7
test: adding test cases for pf-progress
brianferry 4efcebd
Merge branch 'main' into feat/pf-progress
brianferry a257e91
Merge branch 'main' into feat/pf-progress
bennypowers a8d2320
Merge branch 'main' into feat/pf-progress
brianferry fe0c283
chore: checkpoint
brianferry b371654
feat: kitchen sink demo fixing, adding opacity, progress, meter styling
brianferry 0284fa9
feat(progress): progress html5 element, updating tabindex and aria va…
brianferry e506660
Merge branch 'main' of github.com:patternfly/patternfly-elements into…
brianferry 3eda551
feat(progress): jsdocs, element internals, inline accessibility template
brianferry 45732cb
Update elements/pf-progress/pf-progress.ts
brianferry 6c877a2
Merge branch 'main' of github.com:patternfly/patternfly-elements into…
brianferry 76b5bd2
fix(progress): remove willUpdate super method call
brianferry 1857d79
Merge branch 'main' of github.com:patternfly/patternfly-elements into…
brianferry ee2fa82
feat(progress): adding label attribute and span element for screen re…
brianferry 0b6928d
Merge branch 'main' of github.com:patternfly/patternfly-elements into…
brianferry 9ea75e5
refactor(progress): removing label, form associated internals, add tests
brianferry dab1c21
Merge branch 'main' into feat/pf-progress
brianferry 877051a
Merge branch 'main' into feat/pf-progress
brianferry 8e76ac6
Merge branch 'main' into feat/pf-progress
brianferry bf7b990
fix: remove unused import
brianferry b158c19
Update elements/pf-progress/pf-progress.ts
brianferry 6560543
fix(progress): singleLine class fix
brianferry 40072a9
Merge branch 'main' of github.com:patternfly/patternfly-elements into…
brianferry c75f42f
Update elements/pf-progress/pf-progress.ts
brianferry 17a5672
Update elements/pf-progress/pf-progress.ts
brianferry 25638ee
style(progress): adding new lines too styling classes
brianferry 4edd20e
Merge branch 'feat/pf-progress' of github.com:patternfly/patternfly-e…
brianferry 79bc22f
Merge branch 'main' of github.com:patternfly/patternfly-elements into…
brianferry 903533d
docs(card): patterns page fixing image, broken ctas
brianferry 3b95431
fix(progress): remove form association from progress bar, form demo
brianferry 65c964d
fix(progress): willUpdate for internals, attachInternals instead of c…
brianferry f990a79
style(switch): whitespace
bennypowers 9387379
feat(tooltip): trigger, flip
bennypowers 8155ba3
docs(popover): added flip demo
bennypowers 23e666b
feat(progress): truncated title
bennypowers dbf36c6
docs(progress): typos
bennypowers 30871a4
fix(progress): truncated
bennypowers a6886f6
fix(tooltip): detect when invoker slot should be block level
bennypowers f49edc1
test(popover): clarify tests
bennypowers 372f2ed
fix(tooltip): tooltip invoker is called depending on whether it has a…
brianferry ad77a77
perf(popover): reassign trigger less often
bennypowers 75af29b
feat(tools): click element center test util
bennypowers e08600a
test(popover): rationalize tests
bennypowers 8a02902
perf(tooltip): calculate internal state less often
bennypowers 8787851
fix: trigger attached by reference should toggle popover
eyevana ff49508
fix: test nesting
eyevana d478bc5
Merge branch 'main' into feat/pf-progress
brianferry d730655
test(popover): refactor tests
bennypowers 69619e3
test: refactor
bennypowers 4e4e325
chore: fix netlify deploy command
bennypowers f49d0cf
refactor(progress): remove unused variable
bennypowers d610761
Merge branch 'main' into feat/pf-progress
bennypowers File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@patternfly/elements": patch | ||
| --- | ||
| `<pf-tooltip>`: marks `BaseTooltip` and it's stylesheet as deprecated. | ||
| The files will remain in place until the next major version. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| --- | ||
| "@patternfly/elements": minor | ||
| --- | ||
| `<pf-tooltip>`: added `no-flip` and `flip-behaviour` attributes as in `<pf-popover>` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| --- | ||
| "@patternfly/element": minor | ||
| --- | ||
| `<pf-tooltip>` added the `trigger` attribute to specify a tooltip-invoking | ||
| element outside of the tooltip's children. | ||
|
|
||
| ```html | ||
| <pf-button id="button">Button</pf-button> | ||
| <pf-tooltip trigger="button" | ||
| content="I'm a button!"></pf-tooltip> | ||
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| "@patternfly/elements": minor | ||
| --- | ||
|
|
||
| ✨ Added `<pf-progress>` | ||
|
|
||
| ```html | ||
| <pf-progress title="Default" value="33"></pf-progress> | ||
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| --- | ||
| "@patternfly/pfe-tools": minor | ||
| --- | ||
| Test: add `clickElementCenter` utility function for tests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| <link rel="stylesheet" href="demo.css"> | ||
| <script type="module" src="pf-popover.js"></script> | ||
|
|
||
| <form id="basic"> | ||
| <fieldset> | ||
| <legend>No flip</legend> | ||
| <pf-popover heading="Popover heading" | ||
| body="Popovers are triggered by click rather than hover." | ||
| footer="Popover footer" | ||
| no-flip> | ||
| <pf-button>Toggle popover</pf-button> | ||
| </pf-popover> | ||
| </fieldset> | ||
|
|
||
| <fieldset> | ||
| <legend>Flip fallback</legend> | ||
| <label> | ||
| Popover positions | ||
| <select id="position-select"> | ||
| <option value="top">top</option> | ||
| <option value="right">right</option> | ||
| <option value="bottom">bottom</option> | ||
| <option value="left">left</option> | ||
| <option value="top-start">top-start</option> | ||
| <option value="top-end">top-end</option> | ||
| <option value="right-start">right-start</option> | ||
| <option value="right-end">right-end</option> | ||
| <option value="bottom-start">bottom-start</option> | ||
| <option value="bottom-end">bottom-end</option> | ||
| <option value="left-start">left-start</option> | ||
| <option value="left-end">left-end</option> | ||
| </select> | ||
| </label> | ||
| <pf-popover heading="Popover heading" | ||
| body="Popovers are triggered by click rather than hover." | ||
| footer="Popover footer" | ||
| no-outside-click> | ||
| <pf-button>Toggle popover</pf-button> | ||
| </pf-popover> | ||
| </fieldset> | ||
| </form> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.